Help us shape the future of Go! Take the 2026 Go Developer Survey

access

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package access provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddOrUpdateProjectUserRequest

func NewAddOrUpdateProjectUserRequest(server string, projectKey string, user string, body AddOrUpdateProjectUserJSONRequestBody) (*http.Request, error)

NewAddOrUpdateProjectUserRequest calls the generic AddOrUpdateProjectUser builder with application/json body

func NewAddOrUpdateProjectUserRequestWithBody

func NewAddOrUpdateProjectUserRequestWithBody(server string, projectKey string, user string, contentType string, body io.Reader) (*http.Request, error)

NewAddOrUpdateProjectUserRequestWithBody constructs an http.Request for the AddOrUpdateProjectUser method, with any body, and a specified content type

func NewAttachRepositoryToProjectRequest

func NewAttachRepositoryToProjectRequest(server string, repoName string, targetProjectKey string, params *AttachRepositoryToProjectParams) (*http.Request, error)

NewAttachRepositoryToProjectRequest constructs an http.Request for the AttachRepositoryToProject method

func NewChangeUserPasswordRequest

func NewChangeUserPasswordRequest(server string, username Username, body ChangeUserPasswordJSONRequestBody) (*http.Request, error)

NewChangeUserPasswordRequest calls the generic ChangeUserPassword builder with application/json body

func NewChangeUserPasswordRequestWithBody

func NewChangeUserPasswordRequestWithBody(server string, username Username, contentType string, body io.Reader) (*http.Request, error)

NewChangeUserPasswordRequestWithBody constructs an http.Request for the ChangeUserPassword method, with any body, and a specified content type

func NewConfigureAccessUserLockPolicyRequest

func NewConfigureAccessUserLockPolicyRequest(server string, body ConfigureAccessUserLockPolicyJSONRequestBody) (*http.Request, error)

NewConfigureAccessUserLockPolicyRequest calls the generic ConfigureAccessUserLockPolicy builder with application/json body

func NewConfigureAccessUserLockPolicyRequestWithBody

func NewConfigureAccessUserLockPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewConfigureAccessUserLockPolicyRequestWithBody constructs an http.Request for the ConfigureAccessUserLockPolicy method, with any body, and a specified content type

func NewCreateGlobalEnvironmentRequest

func NewCreateGlobalEnvironmentRequest(server string, body CreateGlobalEnvironmentJSONRequestBody) (*http.Request, error)

NewCreateGlobalEnvironmentRequest calls the generic CreateGlobalEnvironment builder with application/json body

func NewCreateGlobalEnvironmentRequestWithBody

func NewCreateGlobalEnvironmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGlobalEnvironmentRequestWithBody constructs an http.Request for the CreateGlobalEnvironment method, with any body, and a specified content type

func NewCreateGlobalRoleRequest

func NewCreateGlobalRoleRequest(server string, body CreateGlobalRoleJSONRequestBody) (*http.Request, error)

NewCreateGlobalRoleRequest calls the generic CreateGlobalRole builder with application/json body

func NewCreateGlobalRoleRequestWithBody

func NewCreateGlobalRoleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGlobalRoleRequestWithBody constructs an http.Request for the CreateGlobalRole method, with any body, and a specified content type

func NewCreateGroupRequest

func NewCreateGroupRequest(server string, body CreateGroupJSONRequestBody) (*http.Request, error)

NewCreateGroupRequest calls the generic CreateGroup builder with application/json body

func NewCreateGroupRequestWithBody

func NewCreateGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGroupRequestWithBody constructs an http.Request for the CreateGroup method, with any body, and a specified content type

func NewCreateLdapGroupSettingsRequest

func NewCreateLdapGroupSettingsRequest(server string, body CreateLdapGroupSettingsJSONRequestBody) (*http.Request, error)

NewCreateLdapGroupSettingsRequest calls the generic CreateLdapGroupSettings builder with application/json body

func NewCreateLdapGroupSettingsRequestWithBody

func NewCreateLdapGroupSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateLdapGroupSettingsRequestWithBody constructs an http.Request for the CreateLdapGroupSettings method, with any body, and a specified content type

func NewCreateLdapSettingsRequest

func NewCreateLdapSettingsRequest(server string, body CreateLdapSettingsJSONRequestBody) (*http.Request, error)

NewCreateLdapSettingsRequest calls the generic CreateLdapSettings builder with application/json body

func NewCreateLdapSettingsRequestWithBody

func NewCreateLdapSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateLdapSettingsRequestWithBody constructs an http.Request for the CreateLdapSettings method, with any body, and a specified content type

func NewCreateOidcConfigurationRequest

func NewCreateOidcConfigurationRequest(server string, body CreateOidcConfigurationJSONRequestBody) (*http.Request, error)

NewCreateOidcConfigurationRequest calls the generic CreateOidcConfiguration builder with application/json body

func NewCreateOidcConfigurationRequestWithBody

func NewCreateOidcConfigurationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateOidcConfigurationRequestWithBody constructs an http.Request for the CreateOidcConfiguration method, with any body, and a specified content type

func NewCreateOidcIdentityMappingRequest

func NewCreateOidcIdentityMappingRequest(server string, providerName string, body CreateOidcIdentityMappingJSONRequestBody) (*http.Request, error)

NewCreateOidcIdentityMappingRequest calls the generic CreateOidcIdentityMapping builder with application/json body

func NewCreateOidcIdentityMappingRequestWithBody

func NewCreateOidcIdentityMappingRequestWithBody(server string, providerName string, contentType string, body io.Reader) (*http.Request, error)

NewCreateOidcIdentityMappingRequestWithBody constructs an http.Request for the CreateOidcIdentityMapping method, with any body, and a specified content type

func NewCreatePairingTokenRequest

func NewCreatePairingTokenRequest(server string, useCase CreatePairingTokenParamsUseCase) (*http.Request, error)

NewCreatePairingTokenRequest constructs an http.Request for the CreatePairingToken method

func NewCreatePasswordPolicyRequest

func NewCreatePasswordPolicyRequest(server string, body CreatePasswordPolicyJSONRequestBody) (*http.Request, error)

NewCreatePasswordPolicyRequest calls the generic CreatePasswordPolicy builder with application/json body

func NewCreatePasswordPolicyRequestWithBody

func NewCreatePasswordPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreatePasswordPolicyRequestWithBody constructs an http.Request for the CreatePasswordPolicy method, with any body, and a specified content type

func NewCreatePermissionRequest

func NewCreatePermissionRequest(server string, body CreatePermissionJSONRequestBody) (*http.Request, error)

NewCreatePermissionRequest calls the generic CreatePermission builder with application/json body

func NewCreatePermissionRequestWithBody

func NewCreatePermissionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreatePermissionRequestWithBody constructs an http.Request for the CreatePermission method, with any body, and a specified content type

func NewCreateProjectEnvironmentRequest

func NewCreateProjectEnvironmentRequest(server string, projectKey ProjectKey, body CreateProjectEnvironmentJSONRequestBody) (*http.Request, error)

NewCreateProjectEnvironmentRequest calls the generic CreateProjectEnvironment builder with application/json body

func NewCreateProjectEnvironmentRequestWithBody

func NewCreateProjectEnvironmentRequestWithBody(server string, projectKey ProjectKey, contentType string, body io.Reader) (*http.Request, error)

NewCreateProjectEnvironmentRequestWithBody constructs an http.Request for the CreateProjectEnvironment method, with any body, and a specified content type

func NewCreateProjectRequest

func NewCreateProjectRequest(server string, body CreateProjectJSONRequestBody) (*http.Request, error)

NewCreateProjectRequest calls the generic CreateProject builder with application/json body

func NewCreateProjectRequestWithBody

func NewCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateProjectRequestWithBody constructs an http.Request for the CreateProject method, with any body, and a specified content type

func NewCreateProjectRoleRequest

func NewCreateProjectRoleRequest(server string, projectKey string, body CreateProjectRoleJSONRequestBody) (*http.Request, error)

NewCreateProjectRoleRequest calls the generic CreateProjectRole builder with application/json body

func NewCreateProjectRoleRequestWithBody

func NewCreateProjectRoleRequestWithBody(server string, projectKey string, contentType string, body io.Reader) (*http.Request, error)

NewCreateProjectRoleRequestWithBody constructs an http.Request for the CreateProjectRole method, with any body, and a specified content type

func NewCreateSamlSettingRequest

func NewCreateSamlSettingRequest(server string, body CreateSamlSettingJSONRequestBody) (*http.Request, error)

NewCreateSamlSettingRequest calls the generic CreateSamlSetting builder with application/json body

func NewCreateSamlSettingRequestWithBody

func NewCreateSamlSettingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateSamlSettingRequestWithBody constructs an http.Request for the CreateSamlSetting method, with any body, and a specified content type

func NewCreateScimGroupRequestWithApplicationScimPlusJSONBody

func NewCreateScimGroupRequestWithApplicationScimPlusJSONBody(server string, body CreateScimGroupApplicationScimPlusJSONRequestBody) (*http.Request, error)

NewCreateScimGroupRequestWithApplicationScimPlusJSONBody calls the generic CreateScimGroup builder with application/scim+json body

func NewCreateScimGroupRequestWithBody

func NewCreateScimGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateScimGroupRequestWithBody constructs an http.Request for the CreateScimGroup method, with any body, and a specified content type

func NewCreateScimUserRequestWithApplicationScimPlusJSONBody

func NewCreateScimUserRequestWithApplicationScimPlusJSONBody(server string, body CreateScimUserApplicationScimPlusJSONRequestBody) (*http.Request, error)

NewCreateScimUserRequestWithApplicationScimPlusJSONBody calls the generic CreateScimUser builder with application/scim+json body

func NewCreateScimUserRequestWithBody

func NewCreateScimUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateScimUserRequestWithBody constructs an http.Request for the CreateScimUser method, with any body, and a specified content type

func NewCreateTokenRequest

func NewCreateTokenRequest(server string, body CreateTokenJSONRequestBody) (*http.Request, error)

NewCreateTokenRequest calls the generic CreateToken builder with application/json body

func NewCreateTokenRequestWithBody

func NewCreateTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateTokenRequestWithBody constructs an http.Request for the CreateToken method, with any body, and a specified content type

func NewCreateTokenRequestWithFormdataBody

func NewCreateTokenRequestWithFormdataBody(server string, body CreateTokenFormdataRequestBody) (*http.Request, error)

NewCreateTokenRequestWithFormdataBody calls the generic CreateToken builder with application/x-www-form-urlencoded body

func NewCreateUserRequest

func NewCreateUserRequest(server string, body CreateUserJSONRequestBody) (*http.Request, error)

NewCreateUserRequest calls the generic CreateUser builder with application/json body

func NewCreateUserRequestWithBody

func NewCreateUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateUserRequestWithBody constructs an http.Request for the CreateUser method, with any body, and a specified content type

func NewDeleteAccessFederationRequest

func NewDeleteAccessFederationRequest(server string, serverName string) (*http.Request, error)

NewDeleteAccessFederationRequest constructs an http.Request for the DeleteAccessFederation method

func NewDeleteAwsIamRoleRequest

func NewDeleteAwsIamRoleRequest(server string, username string) (*http.Request, error)

NewDeleteAwsIamRoleRequest constructs an http.Request for the DeleteAwsIamRole method

func NewDeleteGlobalEnvironmentRequest

func NewDeleteGlobalEnvironmentRequest(server string, environmentName EnvironmentName) (*http.Request, error)

NewDeleteGlobalEnvironmentRequest constructs an http.Request for the DeleteGlobalEnvironment method

func NewDeleteGlobalRoleRequest

func NewDeleteGlobalRoleRequest(server string, role RoleName) (*http.Request, error)

NewDeleteGlobalRoleRequest constructs an http.Request for the DeleteGlobalRole method

func NewDeleteGroupRequest

func NewDeleteGroupRequest(server string, name GroupName) (*http.Request, error)

NewDeleteGroupRequest constructs an http.Request for the DeleteGroup method

func NewDeleteLdapGroupSettingsRequest

func NewDeleteLdapGroupSettingsRequest(server string, name string) (*http.Request, error)

NewDeleteLdapGroupSettingsRequest constructs an http.Request for the DeleteLdapGroupSettings method

func NewDeleteLdapSettingsRequest

func NewDeleteLdapSettingsRequest(server string, key string) (*http.Request, error)

NewDeleteLdapSettingsRequest constructs an http.Request for the DeleteLdapSettings method

func NewDeleteOidcConfigurationRequest

func NewDeleteOidcConfigurationRequest(server string, name string) (*http.Request, error)

NewDeleteOidcConfigurationRequest constructs an http.Request for the DeleteOidcConfiguration method

func NewDeleteOidcIdentityMappingRequest

func NewDeleteOidcIdentityMappingRequest(server string, providerName string, mappingName string) (*http.Request, error)

NewDeleteOidcIdentityMappingRequest constructs an http.Request for the DeleteOidcIdentityMapping method

func NewDeletePermissionRequest

func NewDeletePermissionRequest(server string, permissionName PermissionName) (*http.Request, error)

NewDeletePermissionRequest constructs an http.Request for the DeletePermission method

func NewDeletePermissionResourceRequest

func NewDeletePermissionResourceRequest(server string, permissionName PermissionName, resourceType DeletePermissionResourceParamsResourceType) (*http.Request, error)

NewDeletePermissionResourceRequest constructs an http.Request for the DeletePermissionResource method

func NewDeleteProjectEnvironmentRequest

func NewDeleteProjectEnvironmentRequest(server string, projectKey ProjectKey, environmentName EnvironmentName) (*http.Request, error)

NewDeleteProjectEnvironmentRequest constructs an http.Request for the DeleteProjectEnvironment method

func NewDeleteProjectGroupRequest

func NewDeleteProjectGroupRequest(server string, projectKey string, group string) (*http.Request, error)

NewDeleteProjectGroupRequest constructs an http.Request for the DeleteProjectGroup method

func NewDeleteProjectRequest

func NewDeleteProjectRequest(server string, projectKey string) (*http.Request, error)

NewDeleteProjectRequest constructs an http.Request for the DeleteProject method

func NewDeleteProjectRoleRequest

func NewDeleteProjectRoleRequest(server string, projectKey string, role string) (*http.Request, error)

NewDeleteProjectRoleRequest constructs an http.Request for the DeleteProjectRole method

func NewDeleteProjectUserRequest

func NewDeleteProjectUserRequest(server string, projectKey string, user string) (*http.Request, error)

NewDeleteProjectUserRequest constructs an http.Request for the DeleteProjectUser method

func NewDeleteSamlSettingRequest

func NewDeleteSamlSettingRequest(server string, name string) (*http.Request, error)

NewDeleteSamlSettingRequest constructs an http.Request for the DeleteSamlSetting method

func NewDeleteScimGroupRequest

func NewDeleteScimGroupRequest(server string, groupName string) (*http.Request, error)

NewDeleteScimGroupRequest constructs an http.Request for the DeleteScimGroup method

func NewDeleteScimUserRequest

func NewDeleteScimUserRequest(server string, username string) (*http.Request, error)

NewDeleteScimUserRequest constructs an http.Request for the DeleteScimUser method

func NewDeleteUserRequest

func NewDeleteUserRequest(server string, username Username) (*http.Request, error)

NewDeleteUserRequest constructs an http.Request for the DeleteUser method

func NewDeleteVaultConfigurationRequest

func NewDeleteVaultConfigurationRequest(server string, vaultKey string) (*http.Request, error)

NewDeleteVaultConfigurationRequest constructs an http.Request for the DeleteVaultConfiguration method

func NewEnableCloudLogCollectionRequest

func NewEnableCloudLogCollectionRequest(server string, body EnableCloudLogCollectionJSONRequestBody) (*http.Request, error)

NewEnableCloudLogCollectionRequest calls the generic EnableCloudLogCollection builder with application/json body

func NewEnableCloudLogCollectionRequestWithBody

func NewEnableCloudLogCollectionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewEnableCloudLogCollectionRequestWithBody constructs an http.Request for the EnableCloudLogCollection method, with any body, and a specified content type

func NewExpirePasswordForAllUsersRequest

func NewExpirePasswordForAllUsersRequest(server string) (*http.Request, error)

NewExpirePasswordForAllUsersRequest constructs an http.Request for the ExpirePasswordForAllUsers method

func NewExpireUserPasswordRequest

func NewExpireUserPasswordRequest(server string, username Username) (*http.Request, error)

NewExpireUserPasswordRequest constructs an http.Request for the ExpireUserPassword method

func NewExportAccessConfigurationRequest

func NewExportAccessConfigurationRequest(server string) (*http.Request, error)

NewExportAccessConfigurationRequest constructs an http.Request for the ExportAccessConfiguration method

func NewFullBroadcastAccessFederationRequest

func NewFullBroadcastAccessFederationRequest(server string, serverName string) (*http.Request, error)

NewFullBroadcastAccessFederationRequest constructs an http.Request for the FullBroadcastAccessFederation method

func NewGetAccessFederationRequest

func NewGetAccessFederationRequest(server string, serverName string) (*http.Request, error)

NewGetAccessFederationRequest constructs an http.Request for the GetAccessFederation method

func NewGetAccessUserLockPolicyRequest

func NewGetAccessUserLockPolicyRequest(server string) (*http.Request, error)

NewGetAccessUserLockPolicyRequest constructs an http.Request for the GetAccessUserLockPolicy method

func NewGetAccessVersionRequest

func NewGetAccessVersionRequest(server string) (*http.Request, error)

NewGetAccessVersionRequest constructs an http.Request for the GetAccessVersion method

func NewGetAllAccessFederationsRequest

func NewGetAllAccessFederationsRequest(server string) (*http.Request, error)

NewGetAllAccessFederationsRequest constructs an http.Request for the GetAllAccessFederations method

func NewGetAllGlobalRolesRequest

func NewGetAllGlobalRolesRequest(server string) (*http.Request, error)

NewGetAllGlobalRolesRequest constructs an http.Request for the GetAllGlobalRoles method

func NewGetAllLdapGroupSettingsRequest

func NewGetAllLdapGroupSettingsRequest(server string) (*http.Request, error)

NewGetAllLdapGroupSettingsRequest constructs an http.Request for the GetAllLdapGroupSettings method

func NewGetAllLdapSettingsRequest

func NewGetAllLdapSettingsRequest(server string) (*http.Request, error)

NewGetAllLdapSettingsRequest constructs an http.Request for the GetAllLdapSettings method

func NewGetAllOidcConfigurationsRequest

func NewGetAllOidcConfigurationsRequest(server string) (*http.Request, error)

NewGetAllOidcConfigurationsRequest constructs an http.Request for the GetAllOidcConfigurations method

func NewGetAllSamlSettingsRequest

func NewGetAllSamlSettingsRequest(server string) (*http.Request, error)

NewGetAllSamlSettingsRequest constructs an http.Request for the GetAllSamlSettings method

func NewGetAwsIamRoleRequest

func NewGetAwsIamRoleRequest(server string, username string) (*http.Request, error)

NewGetAwsIamRoleRequest constructs an http.Request for the GetAwsIamRole method

func NewGetBasicAuthenticationStatusRequest

func NewGetBasicAuthenticationStatusRequest(server string) (*http.Request, error)

NewGetBasicAuthenticationStatusRequest constructs an http.Request for the GetBasicAuthenticationStatus method

func NewGetCaCertificateRequest

func NewGetCaCertificateRequest(server string) (*http.Request, error)

NewGetCaCertificateRequest constructs an http.Request for the GetCaCertificate method

func NewGetCrowdConfigurationRequest

func NewGetCrowdConfigurationRequest(server string) (*http.Request, error)

NewGetCrowdConfigurationRequest constructs an http.Request for the GetCrowdConfiguration method

func NewGetGlobalEnvironmentsRequest

func NewGetGlobalEnvironmentsRequest(server string) (*http.Request, error)

NewGetGlobalEnvironmentsRequest constructs an http.Request for the GetGlobalEnvironments method

func NewGetGlobalRoleRequest

func NewGetGlobalRoleRequest(server string, role RoleName) (*http.Request, error)

NewGetGlobalRoleRequest constructs an http.Request for the GetGlobalRole method

func NewGetGroupDetailsRequest

func NewGetGroupDetailsRequest(server string, name GroupName) (*http.Request, error)

NewGetGroupDetailsRequest constructs an http.Request for the GetGroupDetails method

func NewGetGroupListRequest

func NewGetGroupListRequest(server string, params *GetGroupListParams) (*http.Request, error)

NewGetGroupListRequest constructs an http.Request for the GetGroupList method

func NewGetHttpSsoConfigurationRequest

func NewGetHttpSsoConfigurationRequest(server string) (*http.Request, error)

NewGetHttpSsoConfigurationRequest constructs an http.Request for the GetHttpSsoConfiguration method

func NewGetLdapGroupMappingStrategyRequest

func NewGetLdapGroupMappingStrategyRequest(server string, params *GetLdapGroupMappingStrategyParams) (*http.Request, error)

NewGetLdapGroupMappingStrategyRequest constructs an http.Request for the GetLdapGroupMappingStrategy method

func NewGetLdapGroupSettingsByNameRequest

func NewGetLdapGroupSettingsByNameRequest(server string, name string) (*http.Request, error)

NewGetLdapGroupSettingsByNameRequest constructs an http.Request for the GetLdapGroupSettingsByName method

func NewGetLdapSettingsByKeyRequest

func NewGetLdapSettingsByKeyRequest(server string, key string) (*http.Request, error)

NewGetLdapSettingsByKeyRequest constructs an http.Request for the GetLdapSettingsByKey method

func NewGetOidcConfigurationRequest

func NewGetOidcConfigurationRequest(server string, name string) (*http.Request, error)

NewGetOidcConfigurationRequest constructs an http.Request for the GetOidcConfiguration method

func NewGetOidcIdentityMappingByNameRequest

func NewGetOidcIdentityMappingByNameRequest(server string, providerName string, mappingName string) (*http.Request, error)

NewGetOidcIdentityMappingByNameRequest constructs an http.Request for the GetOidcIdentityMappingByName method

func NewGetOidcIdentityMappingsRequest

func NewGetOidcIdentityMappingsRequest(server string, providerName string, params *GetOidcIdentityMappingsParams) (*http.Request, error)

NewGetOidcIdentityMappingsRequest constructs an http.Request for the GetOidcIdentityMappings method

func NewGetPermissionDetailsRequest

func NewGetPermissionDetailsRequest(server string, permissionName PermissionName) (*http.Request, error)

NewGetPermissionDetailsRequest constructs an http.Request for the GetPermissionDetails method

func NewGetPermissionResourceRequest

func NewGetPermissionResourceRequest(server string, permissionName PermissionName, resourceType GetPermissionResourceParamsResourceType) (*http.Request, error)

NewGetPermissionResourceRequest constructs an http.Request for the GetPermissionResource method

func NewGetPermissionsRequest

func NewGetPermissionsRequest(server string, params *GetPermissionsParams) (*http.Request, error)

NewGetPermissionsRequest constructs an http.Request for the GetPermissions method

func NewGetProjectEnvironmentsRequest

func NewGetProjectEnvironmentsRequest(server string, projectKey ProjectKey) (*http.Request, error)

NewGetProjectEnvironmentsRequest constructs an http.Request for the GetProjectEnvironments method

func NewGetProjectGroupRequest

func NewGetProjectGroupRequest(server string, projectKey string, group string) (*http.Request, error)

NewGetProjectGroupRequest constructs an http.Request for the GetProjectGroup method

func NewGetProjectGroupsRequest

func NewGetProjectGroupsRequest(server string, projectKey string) (*http.Request, error)

NewGetProjectGroupsRequest constructs an http.Request for the GetProjectGroups method

func NewGetProjectRepositoryStatusRequest

func NewGetProjectRepositoryStatusRequest(server string, repoName string) (*http.Request, error)

NewGetProjectRepositoryStatusRequest constructs an http.Request for the GetProjectRepositoryStatus method

func NewGetProjectRequest

func NewGetProjectRequest(server string, projectKey string) (*http.Request, error)

NewGetProjectRequest constructs an http.Request for the GetProject method

func NewGetProjectRoleRequest

func NewGetProjectRoleRequest(server string, projectKey string, role string) (*http.Request, error)

NewGetProjectRoleRequest constructs an http.Request for the GetProjectRole method

func NewGetProjectRolesRequest

func NewGetProjectRolesRequest(server string, projectKey string) (*http.Request, error)

NewGetProjectRolesRequest constructs an http.Request for the GetProjectRoles method

func NewGetProjectUserRequest

func NewGetProjectUserRequest(server string, projectKey string, user string) (*http.Request, error)

NewGetProjectUserRequest constructs an http.Request for the GetProjectUser method

func NewGetProjectUsersRequest

func NewGetProjectUsersRequest(server string, projectKey string) (*http.Request, error)

NewGetProjectUsersRequest constructs an http.Request for the GetProjectUsers method

func NewGetProjectsForRoleRequest

func NewGetProjectsForRoleRequest(server string, params *GetProjectsForRoleParams) (*http.Request, error)

NewGetProjectsForRoleRequest constructs an http.Request for the GetProjectsForRole method

func NewGetProjectsListRequest

func NewGetProjectsListRequest(server string) (*http.Request, error)

NewGetProjectsListRequest constructs an http.Request for the GetProjectsList method

func NewGetRootCertificateRequest

func NewGetRootCertificateRequest(server string, params *GetRootCertificateParams) (*http.Request, error)

NewGetRootCertificateRequest constructs an http.Request for the GetRootCertificate method

func NewGetSamlGeneralSettingsRequest

func NewGetSamlGeneralSettingsRequest(server string) (*http.Request, error)

NewGetSamlGeneralSettingsRequest constructs an http.Request for the GetSamlGeneralSettings method

func NewGetSamlSettingByNameRequest

func NewGetSamlSettingByNameRequest(server string, name string) (*http.Request, error)

NewGetSamlSettingByNameRequest constructs an http.Request for the GetSamlSettingByName method

func NewGetScimGroupByNameRequest

func NewGetScimGroupByNameRequest(server string, groupName string, params *GetScimGroupByNameParams) (*http.Request, error)

NewGetScimGroupByNameRequest constructs an http.Request for the GetScimGroupByName method

func NewGetScimGroupsRequest

func NewGetScimGroupsRequest(server string, params *GetScimGroupsParams) (*http.Request, error)

NewGetScimGroupsRequest constructs an http.Request for the GetScimGroups method

func NewGetScimResourceTypesRequest

func NewGetScimResourceTypesRequest(server string) (*http.Request, error)

NewGetScimResourceTypesRequest constructs an http.Request for the GetScimResourceTypes method

func NewGetScimSchemaByIdRequest

func NewGetScimSchemaByIdRequest(server string, schemaId string) (*http.Request, error)

NewGetScimSchemaByIdRequest constructs an http.Request for the GetScimSchemaById method

func NewGetScimSchemasRequest

func NewGetScimSchemasRequest(server string) (*http.Request, error)

NewGetScimSchemasRequest constructs an http.Request for the GetScimSchemas method

func NewGetScimServiceProviderConfigRequest

func NewGetScimServiceProviderConfigRequest(server string) (*http.Request, error)

NewGetScimServiceProviderConfigRequest constructs an http.Request for the GetScimServiceProviderConfig method

func NewGetScimUserByUsernameRequest

func NewGetScimUserByUsernameRequest(server string, username string, params *GetScimUserByUsernameParams) (*http.Request, error)

NewGetScimUserByUsernameRequest constructs an http.Request for the GetScimUserByUsername method

func NewGetScimUsersRequest

func NewGetScimUsersRequest(server string, params *GetScimUsersParams) (*http.Request, error)

NewGetScimUsersRequest constructs an http.Request for the GetScimUsers method

func NewGetTokenByIdRequest

func NewGetTokenByIdRequest(server string, tokenId TokenId) (*http.Request, error)

NewGetTokenByIdRequest constructs an http.Request for the GetTokenById method

func NewGetTokenDefaultExpiryRequest

func NewGetTokenDefaultExpiryRequest(server string) (*http.Request, error)

NewGetTokenDefaultExpiryRequest constructs an http.Request for the GetTokenDefaultExpiry method

func NewGetTokensRequest

func NewGetTokensRequest(server string, params *GetTokensParams) (*http.Request, error)

NewGetTokensRequest constructs an http.Request for the GetTokens method

func NewGetUserDetailsRequest

func NewGetUserDetailsRequest(server string, username Username) (*http.Request, error)

NewGetUserDetailsRequest constructs an http.Request for the GetUserDetails method

func NewGetUserListRequest

func NewGetUserListRequest(server string, params *GetUserListParams) (*http.Request, error)

NewGetUserListRequest constructs an http.Request for the GetUserList method

func NewGetVaultConfigurationsRequest

func NewGetVaultConfigurationsRequest(server string) (*http.Request, error)

NewGetVaultConfigurationsRequest constructs an http.Request for the GetVaultConfigurations method

func NewImportAccessConfigurationRequest

func NewImportAccessConfigurationRequest(server string) (*http.Request, error)

NewImportAccessConfigurationRequest constructs an http.Request for the ImportAccessConfiguration method

func NewImportLdapGroupsRequest

func NewImportLdapGroupsRequest(server string, body ImportLdapGroupsJSONRequestBody) (*http.Request, error)

NewImportLdapGroupsRequest calls the generic ImportLdapGroups builder with application/json body

func NewImportLdapGroupsRequestWithBody

func NewImportLdapGroupsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewImportLdapGroupsRequestWithBody constructs an http.Request for the ImportLdapGroups method, with any body, and a specified content type

func NewOidcTokenExchangeRequest

func NewOidcTokenExchangeRequest(server string, body OidcTokenExchangeJSONRequestBody) (*http.Request, error)

NewOidcTokenExchangeRequest calls the generic OidcTokenExchange builder with application/json body

func NewOidcTokenExchangeRequestWithBody

func NewOidcTokenExchangeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewOidcTokenExchangeRequestWithBody constructs an http.Request for the OidcTokenExchange method, with any body, and a specified content type

func NewPatchScimGroupRequestWithApplicationScimPlusJSONBody

func NewPatchScimGroupRequestWithApplicationScimPlusJSONBody(server string, groupName string, body PatchScimGroupApplicationScimPlusJSONRequestBody) (*http.Request, error)

NewPatchScimGroupRequestWithApplicationScimPlusJSONBody calls the generic PatchScimGroup builder with application/scim+json body

func NewPatchScimGroupRequestWithBody

func NewPatchScimGroupRequestWithBody(server string, groupName string, contentType string, body io.Reader) (*http.Request, error)

NewPatchScimGroupRequestWithBody constructs an http.Request for the PatchScimGroup method, with any body, and a specified content type

func NewPatchScimUserRequestWithApplicationScimPlusJSONBody

func NewPatchScimUserRequestWithApplicationScimPlusJSONBody(server string, username string, body PatchScimUserApplicationScimPlusJSONRequestBody) (*http.Request, error)

NewPatchScimUserRequestWithApplicationScimPlusJSONBody calls the generic PatchScimUser builder with application/scim+json body

func NewPatchScimUserRequestWithBody

func NewPatchScimUserRequestWithBody(server string, username string, contentType string, body io.Reader) (*http.Request, error)

NewPatchScimUserRequestWithBody constructs an http.Request for the PatchScimUser method, with any body, and a specified content type

func NewPutAwsIamRoleRequest

func NewPutAwsIamRoleRequest(server string, body PutAwsIamRoleJSONRequestBody) (*http.Request, error)

NewPutAwsIamRoleRequest calls the generic PutAwsIamRole builder with application/json body

func NewPutAwsIamRoleRequestWithBody

func NewPutAwsIamRoleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPutAwsIamRoleRequestWithBody constructs an http.Request for the PutAwsIamRole method, with any body, and a specified content type

func NewRefreshLdapGroupSettingsRequest

func NewRefreshLdapGroupSettingsRequest(server string, name string, params *RefreshLdapGroupSettingsParams) (*http.Request, error)

NewRefreshLdapGroupSettingsRequest constructs an http.Request for the RefreshLdapGroupSettings method

func NewRegisterAccessFederationRequest

func NewRegisterAccessFederationRequest(server string, body RegisterAccessFederationJSONRequestBody) (*http.Request, error)

NewRegisterAccessFederationRequest calls the generic RegisterAccessFederation builder with application/json body

func NewRegisterAccessFederationRequestWithBody

func NewRegisterAccessFederationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRegisterAccessFederationRequestWithBody constructs an http.Request for the RegisterAccessFederation method, with any body, and a specified content type

func NewRenameGlobalEnvironmentRequest

func NewRenameGlobalEnvironmentRequest(server string, environmentName EnvironmentName, body RenameGlobalEnvironmentJSONRequestBody) (*http.Request, error)

NewRenameGlobalEnvironmentRequest calls the generic RenameGlobalEnvironment builder with application/json body

func NewRenameGlobalEnvironmentRequestWithBody

func NewRenameGlobalEnvironmentRequestWithBody(server string, environmentName EnvironmentName, contentType string, body io.Reader) (*http.Request, error)

NewRenameGlobalEnvironmentRequestWithBody constructs an http.Request for the RenameGlobalEnvironment method, with any body, and a specified content type

func NewRenameProjectEnvironmentRequest

func NewRenameProjectEnvironmentRequest(server string, projectKey ProjectKey, environmentName EnvironmentName, body RenameProjectEnvironmentJSONRequestBody) (*http.Request, error)

NewRenameProjectEnvironmentRequest calls the generic RenameProjectEnvironment builder with application/json body

func NewRenameProjectEnvironmentRequestWithBody

func NewRenameProjectEnvironmentRequestWithBody(server string, projectKey ProjectKey, environmentName EnvironmentName, contentType string, body io.Reader) (*http.Request, error)

NewRenameProjectEnvironmentRequestWithBody constructs an http.Request for the RenameProjectEnvironment method, with any body, and a specified content type

func NewReplacePermissionResourceRequest

func NewReplacePermissionResourceRequest(server string, permissionName PermissionName, resourceType ReplacePermissionResourceParamsResourceType, body ReplacePermissionResourceJSONRequestBody) (*http.Request, error)

NewReplacePermissionResourceRequest calls the generic ReplacePermissionResource builder with application/json body

func NewReplacePermissionResourceRequestWithBody

func NewReplacePermissionResourceRequestWithBody(server string, permissionName PermissionName, resourceType ReplacePermissionResourceParamsResourceType, contentType string, body io.Reader) (*http.Request, error)

NewReplacePermissionResourceRequestWithBody constructs an http.Request for the ReplacePermissionResource method, with any body, and a specified content type

func NewRevokeTokenByIdRequest

func NewRevokeTokenByIdRequest(server string, tokenId TokenId) (*http.Request, error)

NewRevokeTokenByIdRequest constructs an http.Request for the RevokeTokenById method

func NewRevokeTokenByValueRequest

func NewRevokeTokenByValueRequest(server string, body RevokeTokenByValueJSONRequestBody) (*http.Request, error)

NewRevokeTokenByValueRequest calls the generic RevokeTokenByValue builder with application/json body

func NewRevokeTokenByValueRequestWithBody

func NewRevokeTokenByValueRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRevokeTokenByValueRequestWithBody constructs an http.Request for the RevokeTokenByValue method, with any body, and a specified content type

func NewSearchLdapGroupsRequest

func NewSearchLdapGroupsRequest(server string, params *SearchLdapGroupsParams, body SearchLdapGroupsJSONRequestBody) (*http.Request, error)

NewSearchLdapGroupsRequest calls the generic SearchLdapGroups builder with application/json body

func NewSearchLdapGroupsRequestWithBody

func NewSearchLdapGroupsRequestWithBody(server string, params *SearchLdapGroupsParams, contentType string, body io.Reader) (*http.Request, error)

NewSearchLdapGroupsRequestWithBody constructs an http.Request for the SearchLdapGroups method, with any body, and a specified content type

func NewSetBasicAuthenticationStatusRequest

func NewSetBasicAuthenticationStatusRequest(server string, body SetBasicAuthenticationStatusJSONRequestBody) (*http.Request, error)

NewSetBasicAuthenticationStatusRequest calls the generic SetBasicAuthenticationStatus builder with application/json body

func NewSetBasicAuthenticationStatusRequestWithBody

func NewSetBasicAuthenticationStatusRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetBasicAuthenticationStatusRequestWithBody constructs an http.Request for the SetBasicAuthenticationStatus method, with any body, and a specified content type

func NewSetTokenDefaultExpiryRequest

func NewSetTokenDefaultExpiryRequest(server string, body SetTokenDefaultExpiryJSONRequestBody) (*http.Request, error)

NewSetTokenDefaultExpiryRequest calls the generic SetTokenDefaultExpiry builder with application/json body

func NewSetTokenDefaultExpiryRequestWithBody

func NewSetTokenDefaultExpiryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetTokenDefaultExpiryRequestWithBody constructs an http.Request for the SetTokenDefaultExpiry method, with any body, and a specified content type

func NewSetVaultConfigurationRequest

func NewSetVaultConfigurationRequest(server string, vaultKey string, body SetVaultConfigurationJSONRequestBody) (*http.Request, error)

NewSetVaultConfigurationRequest calls the generic SetVaultConfiguration builder with application/json body

func NewSetVaultConfigurationRequestWithBody

func NewSetVaultConfigurationRequestWithBody(server string, vaultKey string, contentType string, body io.Reader) (*http.Request, error)

NewSetVaultConfigurationRequestWithBody constructs an http.Request for the SetVaultConfiguration method, with any body, and a specified content type

func NewShareRepositoryWithAllProjectsRequest

func NewShareRepositoryWithAllProjectsRequest(server string, repoName string) (*http.Request, error)

NewShareRepositoryWithAllProjectsRequest constructs an http.Request for the ShareRepositoryWithAllProjects method

func NewShareRepositoryWithTargetProjectRequest

func NewShareRepositoryWithTargetProjectRequest(server string, repoName string, targetProjectKey string, params *ShareRepositoryWithTargetProjectParams) (*http.Request, error)

NewShareRepositoryWithTargetProjectRequest constructs an http.Request for the ShareRepositoryWithTargetProject method

func NewTestLdapConnectionRequest

func NewTestLdapConnectionRequest(server string, body TestLdapConnectionJSONRequestBody) (*http.Request, error)

NewTestLdapConnectionRequest calls the generic TestLdapConnection builder with application/json body

func NewTestLdapConnectionRequestWithBody

func NewTestLdapConnectionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewTestLdapConnectionRequestWithBody constructs an http.Request for the TestLdapConnection method, with any body, and a specified content type

func NewTestVaultConfigurationRequest

func NewTestVaultConfigurationRequest(server string, body TestVaultConfigurationJSONRequestBody) (*http.Request, error)

NewTestVaultConfigurationRequest calls the generic TestVaultConfiguration builder with application/json body

func NewTestVaultConfigurationRequestWithBody

func NewTestVaultConfigurationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewTestVaultConfigurationRequestWithBody constructs an http.Request for the TestVaultConfiguration method, with any body, and a specified content type

func NewUnassignProjectFromRepositoryRequest

func NewUnassignProjectFromRepositoryRequest(server string, repoName string) (*http.Request, error)

NewUnassignProjectFromRepositoryRequest constructs an http.Request for the UnassignProjectFromRepository method

func NewUnexpirePasswordForAllUsersRequest

func NewUnexpirePasswordForAllUsersRequest(server string) (*http.Request, error)

NewUnexpirePasswordForAllUsersRequest constructs an http.Request for the UnexpirePasswordForAllUsers method

func NewUnlockUserRequest

func NewUnlockUserRequest(server string, username Username) (*http.Request, error)

NewUnlockUserRequest constructs an http.Request for the UnlockUser method

func NewUnshareRepositoryWithAllProjectsRequest

func NewUnshareRepositoryWithAllProjectsRequest(server string, repoName string) (*http.Request, error)

NewUnshareRepositoryWithAllProjectsRequest constructs an http.Request for the UnshareRepositoryWithAllProjects method

func NewUnshareRepositoryWithTargetProjectRequest

func NewUnshareRepositoryWithTargetProjectRequest(server string, repoName string, targetProjectKey string) (*http.Request, error)

NewUnshareRepositoryWithTargetProjectRequest constructs an http.Request for the UnshareRepositoryWithTargetProject method

func NewUpdateAccessFederationRequest

func NewUpdateAccessFederationRequest(server string, serverName string, body UpdateAccessFederationJSONRequestBody) (*http.Request, error)

NewUpdateAccessFederationRequest calls the generic UpdateAccessFederation builder with application/json body

func NewUpdateAccessFederationRequestWithApplicationMergePatchPlusJSONBody

func NewUpdateAccessFederationRequestWithApplicationMergePatchPlusJSONBody(server string, serverName string, body UpdateAccessFederationApplicationMergePatchPlusJSONRequestBody) (*http.Request, error)

NewUpdateAccessFederationRequestWithApplicationMergePatchPlusJSONBody calls the generic UpdateAccessFederation builder with application/merge-patch+json body

func NewUpdateAccessFederationRequestWithBody

func NewUpdateAccessFederationRequestWithBody(server string, serverName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateAccessFederationRequestWithBody constructs an http.Request for the UpdateAccessFederation method, with any body, and a specified content type

func NewUpdateGlobalRoleRequest

func NewUpdateGlobalRoleRequest(server string, role RoleName, body UpdateGlobalRoleJSONRequestBody) (*http.Request, error)

NewUpdateGlobalRoleRequest calls the generic UpdateGlobalRole builder with application/json body

func NewUpdateGlobalRoleRequestWithBody

func NewUpdateGlobalRoleRequestWithBody(server string, role RoleName, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGlobalRoleRequestWithBody constructs an http.Request for the UpdateGlobalRole method, with any body, and a specified content type

func NewUpdateGroupMembersRequest

func NewUpdateGroupMembersRequest(server string, name GroupName, body UpdateGroupMembersJSONRequestBody) (*http.Request, error)

NewUpdateGroupMembersRequest calls the generic UpdateGroupMembers builder with application/json body

func NewUpdateGroupMembersRequestWithBody

func NewUpdateGroupMembersRequestWithBody(server string, name GroupName, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGroupMembersRequestWithBody constructs an http.Request for the UpdateGroupMembers method, with any body, and a specified content type

func NewUpdateGroupRequest

func NewUpdateGroupRequest(server string, name GroupName, body UpdateGroupJSONRequestBody) (*http.Request, error)

NewUpdateGroupRequest calls the generic UpdateGroup builder with application/json body

func NewUpdateGroupRequestWithBody

func NewUpdateGroupRequestWithBody(server string, name GroupName, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGroupRequestWithBody constructs an http.Request for the UpdateGroup method, with any body, and a specified content type

func NewUpdateLdapGroupSettingsRequest

func NewUpdateLdapGroupSettingsRequest(server string, body UpdateLdapGroupSettingsJSONRequestBody) (*http.Request, error)

NewUpdateLdapGroupSettingsRequest calls the generic UpdateLdapGroupSettings builder with application/json body

func NewUpdateLdapGroupSettingsRequestWithBody

func NewUpdateLdapGroupSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateLdapGroupSettingsRequestWithBody constructs an http.Request for the UpdateLdapGroupSettings method, with any body, and a specified content type

func NewUpdateLdapSettingsRequest

func NewUpdateLdapSettingsRequest(server string, body UpdateLdapSettingsJSONRequestBody) (*http.Request, error)

NewUpdateLdapSettingsRequest calls the generic UpdateLdapSettings builder with application/json body

func NewUpdateLdapSettingsRequestWithBody

func NewUpdateLdapSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateLdapSettingsRequestWithBody constructs an http.Request for the UpdateLdapSettings method, with any body, and a specified content type

func NewUpdateOidcConfigurationRequest

func NewUpdateOidcConfigurationRequest(server string, name string, body UpdateOidcConfigurationJSONRequestBody) (*http.Request, error)

NewUpdateOidcConfigurationRequest calls the generic UpdateOidcConfiguration builder with application/json body

func NewUpdateOidcConfigurationRequestWithBody

func NewUpdateOidcConfigurationRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateOidcConfigurationRequestWithBody constructs an http.Request for the UpdateOidcConfiguration method, with any body, and a specified content type

func NewUpdateOidcIdentityMappingRequest

func NewUpdateOidcIdentityMappingRequest(server string, providerName string, mappingName string, body UpdateOidcIdentityMappingJSONRequestBody) (*http.Request, error)

NewUpdateOidcIdentityMappingRequest calls the generic UpdateOidcIdentityMapping builder with application/json body

func NewUpdateOidcIdentityMappingRequestWithBody

func NewUpdateOidcIdentityMappingRequestWithBody(server string, providerName string, mappingName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateOidcIdentityMappingRequestWithBody constructs an http.Request for the UpdateOidcIdentityMapping method, with any body, and a specified content type

func NewUpdatePasswordPolicyRequest

func NewUpdatePasswordPolicyRequest(server string, body UpdatePasswordPolicyJSONRequestBody) (*http.Request, error)

NewUpdatePasswordPolicyRequest calls the generic UpdatePasswordPolicy builder with application/json body

func NewUpdatePasswordPolicyRequestWithBody

func NewUpdatePasswordPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUpdatePasswordPolicyRequestWithBody constructs an http.Request for the UpdatePasswordPolicy method, with any body, and a specified content type

func NewUpdatePermissionResourceRequest

func NewUpdatePermissionResourceRequest(server string, permissionName PermissionName, resourceType UpdatePermissionResourceParamsResourceType, body UpdatePermissionResourceJSONRequestBody) (*http.Request, error)

NewUpdatePermissionResourceRequest calls the generic UpdatePermissionResource builder with application/json body

func NewUpdatePermissionResourceRequestWithBody

func NewUpdatePermissionResourceRequestWithBody(server string, permissionName PermissionName, resourceType UpdatePermissionResourceParamsResourceType, contentType string, body io.Reader) (*http.Request, error)

NewUpdatePermissionResourceRequestWithBody constructs an http.Request for the UpdatePermissionResource method, with any body, and a specified content type

func NewUpdateProjectGroupRequest

func NewUpdateProjectGroupRequest(server string, projectKey string, group string, body UpdateProjectGroupJSONRequestBody) (*http.Request, error)

NewUpdateProjectGroupRequest calls the generic UpdateProjectGroup builder with application/json body

func NewUpdateProjectGroupRequestWithBody

func NewUpdateProjectGroupRequestWithBody(server string, projectKey string, group string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateProjectGroupRequestWithBody constructs an http.Request for the UpdateProjectGroup method, with any body, and a specified content type

func NewUpdateProjectRequest

func NewUpdateProjectRequest(server string, projectKey string, body UpdateProjectJSONRequestBody) (*http.Request, error)

NewUpdateProjectRequest calls the generic UpdateProject builder with application/json body

func NewUpdateProjectRequestWithBody

func NewUpdateProjectRequestWithBody(server string, projectKey string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateProjectRequestWithBody constructs an http.Request for the UpdateProject method, with any body, and a specified content type

func NewUpdateProjectRoleRequest

func NewUpdateProjectRoleRequest(server string, projectKey string, role string, body UpdateProjectRoleJSONRequestBody) (*http.Request, error)

NewUpdateProjectRoleRequest calls the generic UpdateProjectRole builder with application/json body

func NewUpdateProjectRoleRequestWithBody

func NewUpdateProjectRoleRequestWithBody(server string, projectKey string, role string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateProjectRoleRequestWithBody constructs an http.Request for the UpdateProjectRole method, with any body, and a specified content type

func NewUpdateSamlGeneralSettingsRequest

func NewUpdateSamlGeneralSettingsRequest(server string, body UpdateSamlGeneralSettingsJSONRequestBody) (*http.Request, error)

NewUpdateSamlGeneralSettingsRequest calls the generic UpdateSamlGeneralSettings builder with application/json body

func NewUpdateSamlGeneralSettingsRequestWithBody

func NewUpdateSamlGeneralSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSamlGeneralSettingsRequestWithBody constructs an http.Request for the UpdateSamlGeneralSettings method, with any body, and a specified content type

func NewUpdateSamlSettingRequest

func NewUpdateSamlSettingRequest(server string, name string, body UpdateSamlSettingJSONRequestBody) (*http.Request, error)

NewUpdateSamlSettingRequest calls the generic UpdateSamlSetting builder with application/json body

func NewUpdateSamlSettingRequestWithBody

func NewUpdateSamlSettingRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSamlSettingRequestWithBody constructs an http.Request for the UpdateSamlSetting method, with any body, and a specified content type

func NewUpdateScimGroupRequestWithApplicationScimPlusJSONBody

func NewUpdateScimGroupRequestWithApplicationScimPlusJSONBody(server string, groupName string, body UpdateScimGroupApplicationScimPlusJSONRequestBody) (*http.Request, error)

NewUpdateScimGroupRequestWithApplicationScimPlusJSONBody calls the generic UpdateScimGroup builder with application/scim+json body

func NewUpdateScimGroupRequestWithBody

func NewUpdateScimGroupRequestWithBody(server string, groupName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateScimGroupRequestWithBody constructs an http.Request for the UpdateScimGroup method, with any body, and a specified content type

func NewUpdateScimUserRequestWithApplicationScimPlusJSONBody

func NewUpdateScimUserRequestWithApplicationScimPlusJSONBody(server string, username string, body UpdateScimUserApplicationScimPlusJSONRequestBody) (*http.Request, error)

NewUpdateScimUserRequestWithApplicationScimPlusJSONBody calls the generic UpdateScimUser builder with application/scim+json body

func NewUpdateScimUserRequestWithBody

func NewUpdateScimUserRequestWithBody(server string, username string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateScimUserRequestWithBody constructs an http.Request for the UpdateScimUser method, with any body, and a specified content type

func NewUpdateUserGroupsRequest

func NewUpdateUserGroupsRequest(server string, username Username, body UpdateUserGroupsJSONRequestBody) (*http.Request, error)

NewUpdateUserGroupsRequest calls the generic UpdateUserGroups builder with application/json body

func NewUpdateUserGroupsRequestWithBody

func NewUpdateUserGroupsRequestWithBody(server string, username Username, contentType string, body io.Reader) (*http.Request, error)

NewUpdateUserGroupsRequestWithBody constructs an http.Request for the UpdateUserGroups method, with any body, and a specified content type

func NewUpdateUserRequest

func NewUpdateUserRequest(server string, username Username, body UpdateUserJSONRequestBody) (*http.Request, error)

NewUpdateUserRequest calls the generic UpdateUser builder with application/json body

func NewUpdateUserRequestWithBody

func NewUpdateUserRequestWithBody(server string, username Username, contentType string, body io.Reader) (*http.Request, error)

NewUpdateUserRequestWithBody constructs an http.Request for the UpdateUser method, with any body, and a specified content type

func NewUpsertCrowdConfigurationRequest

func NewUpsertCrowdConfigurationRequest(server string, body UpsertCrowdConfigurationJSONRequestBody) (*http.Request, error)

NewUpsertCrowdConfigurationRequest calls the generic UpsertCrowdConfiguration builder with application/json body

func NewUpsertCrowdConfigurationRequestWithBody

func NewUpsertCrowdConfigurationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUpsertCrowdConfigurationRequestWithBody constructs an http.Request for the UpsertCrowdConfiguration method, with any body, and a specified content type

func NewUpsertHttpSsoConfigurationRequest

func NewUpsertHttpSsoConfigurationRequest(server string, body UpsertHttpSsoConfigurationJSONRequestBody) (*http.Request, error)

NewUpsertHttpSsoConfigurationRequest calls the generic UpsertHttpSsoConfiguration builder with application/json body

func NewUpsertHttpSsoConfigurationRequestWithBody

func NewUpsertHttpSsoConfigurationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUpsertHttpSsoConfigurationRequestWithBody constructs an http.Request for the UpsertHttpSsoConfiguration method, with any body, and a specified content type

func NewValidateFederationTargetRequest

func NewValidateFederationTargetRequest(server string, body ValidateFederationTargetJSONRequestBody) (*http.Request, error)

NewValidateFederationTargetRequest calls the generic ValidateFederationTarget builder with application/json body

func NewValidateFederationTargetRequestWithBody

func NewValidateFederationTargetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewValidateFederationTargetRequestWithBody constructs an http.Request for the ValidateFederationTarget method, with any body, and a specified content type

Types

type AccessProbe

type AccessProbe struct {
	// Code Required within this object. OK when the probe passes.
	Code string `json:"code"`
}

AccessProbe defines model for AccessProbe.

type AccessVersion

type AccessVersion struct {
	// Name Required within this object. The compatibility version.
	Name string `json:"name"`

	// Version Required within this object. The same value as name.
	Version string `json:"version"`
}

AccessVersion defines model for AccessVersion.

type Actions

type Actions struct {
	// Groups Optional within this object. Map from group name to its action list.
	Groups *map[string][]string `json:"groups,omitempty"`

	// Users Optional within this object. Map from username to its action list.
	Users *map[string][]string `json:"users,omitempty"`
}

Actions Actions granted per principal. Values are upper-case action names: READ, ANNOTATE, WRITE, DELETE, MANAGE, SCAN and, for release bundles, EXECUTE. These map one to one onto the legacy codes r, n, w, d, m, mxm and x. DELETE implies the ability to overwrite.

type AddOrUpdateProjectUserJSONRequestBody

type AddOrUpdateProjectUserJSONRequestBody = ProjectUserUpdate

AddOrUpdateProjectUserJSONRequestBody defines body for AddOrUpdateProjectUser for application/json ContentType.

type AddOrUpdateProjectUserResponse

type AddOrUpdateProjectUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ProjectUser
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseAddOrUpdateProjectUserResponse

func ParseAddOrUpdateProjectUserResponse(rsp *http.Response) (*AddOrUpdateProjectUserResponse, error)

ParseAddOrUpdateProjectUserResponse parses an HTTP response from a AddOrUpdateProjectUserWithResponse call

func (AddOrUpdateProjectUserResponse) ContentType

func (r AddOrUpdateProjectUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AddOrUpdateProjectUserResponse) GetBody

func (r AddOrUpdateProjectUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AddOrUpdateProjectUserResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AddOrUpdateProjectUserResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AddOrUpdateProjectUserResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AddOrUpdateProjectUserResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AddOrUpdateProjectUserResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AddOrUpdateProjectUserResponse) Status

Status returns HTTPResponse.Status

func (AddOrUpdateProjectUserResponse) StatusCode

func (r AddOrUpdateProjectUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AttachRepositoryToProjectParams

type AttachRepositoryToProjectParams struct {
	// Force Optional query parameter. When true, a repository already assigned to another project is moved; without it such an attach is rejected with 400. Defaults to false.
	Force *bool `form:"force,omitempty" json:"force,omitempty"`
}

AttachRepositoryToProjectParams defines parameters for AttachRepositoryToProject.

type AttachRepositoryToProjectResponse

type AttachRepositoryToProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseAttachRepositoryToProjectResponse

func ParseAttachRepositoryToProjectResponse(rsp *http.Response) (*AttachRepositoryToProjectResponse, error)

ParseAttachRepositoryToProjectResponse parses an HTTP response from a AttachRepositoryToProjectWithResponse call

func (AttachRepositoryToProjectResponse) ContentType

func (r AttachRepositoryToProjectResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AttachRepositoryToProjectResponse) GetBody

GetBody returns the raw response body bytes

func (AttachRepositoryToProjectResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AttachRepositoryToProjectResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AttachRepositoryToProjectResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AttachRepositoryToProjectResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AttachRepositoryToProjectResponse) Status

Status returns HTTPResponse.Status

func (AttachRepositoryToProjectResponse) StatusCode

func (r AttachRepositoryToProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AwsIamRoleAssignment

type AwsIamRoleAssignment struct {
	// IamRole Required within this object. ARN of the AWS IAM role the user's AWS credentials must assume.
	IamRole string `json:"iam_role"`

	// Username Required within this object. User the role is mapped to.
	Username string `json:"username"`
}

AwsIamRoleAssignment Maps one user to the AWS IAM role their AWS credentials must assume. Not supported.

type ChangeUserPasswordJSONBody

type ChangeUserPasswordJSONBody struct {
	// Password Required within this object. The new clear-text password. Stored as an Argon2id hash and never returned.
	Password *string `json:"password,omitempty"`
}

ChangeUserPasswordJSONBody defines parameters for ChangeUserPassword.

type ChangeUserPasswordJSONRequestBody

type ChangeUserPasswordJSONRequestBody ChangeUserPasswordJSONBody

ChangeUserPasswordJSONRequestBody defines body for ChangeUserPassword for application/json ContentType.

type ChangeUserPasswordResponse

type ChangeUserPasswordResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseChangeUserPasswordResponse

func ParseChangeUserPasswordResponse(rsp *http.Response) (*ChangeUserPasswordResponse, error)

ParseChangeUserPasswordResponse parses an HTTP response from a ChangeUserPasswordWithResponse call

func (ChangeUserPasswordResponse) ContentType

func (r ChangeUserPasswordResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ChangeUserPasswordResponse) GetBody

func (r ChangeUserPasswordResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ChangeUserPasswordResponse) GetJSON400

func (r ChangeUserPasswordResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ChangeUserPasswordResponse) GetJSON401

func (r ChangeUserPasswordResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ChangeUserPasswordResponse) GetJSON403

func (r ChangeUserPasswordResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ChangeUserPasswordResponse) GetJSON404

func (r ChangeUserPasswordResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ChangeUserPasswordResponse) Status

Status returns HTTPResponse.Status

func (ChangeUserPasswordResponse) StatusCode

func (r ChangeUserPasswordResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Client

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
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AddOrUpdateProjectUser

func (c *Client) AddOrUpdateProjectUser(ctx context.Context, projectKey string, user string, body AddOrUpdateProjectUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AddOrUpdateProjectUser Add a user to a project or set their roles

Adds the user to the project with the given roles, or replaces the roles of an existing member. The user must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/projects/{projectKey}/users/{user} (the `AddOrUpdateProjectUser` operationId).

func (*Client) AddOrUpdateProjectUserWithBody

func (c *Client) AddOrUpdateProjectUserWithBody(ctx context.Context, projectKey string, user string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

AddOrUpdateProjectUserWithBody Add a user to a project or set their roles

Adds the user to the project with the given roles, or replaces the roles of an existing member. The user must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/projects/{projectKey}/users/{user} (the `AddOrUpdateProjectUser` operationId).

func (*Client) AttachRepositoryToProject

func (c *Client) AttachRepositoryToProject(ctx context.Context, repoName string, targetProjectKey string, params *AttachRepositoryToProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AttachRepositoryToProject Assign a repository to a project

Makes targetProjectKey the owner of the repository, moving it from its current project when force is true. The assignment is visible synchronously: when the call returns, the repository's configuration (GET /artifactory/api/repositories/{key}) already carries projectKey. The repository key is not renamed. Requires a platform admin.

Corresponds with PUT /api/v1/projects/_/attach/repositories/{repoName}/{targetProjectKey} (the `AttachRepositoryToProject` operationId).

func (*Client) ChangeUserPassword

func (c *Client) ChangeUserPassword(ctx context.Context, username Username, body ChangeUserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ChangeUserPassword Set a user's password

Replaces the user's internal password. A platform admin may set any user's password; any user may set their own. The new value must satisfy the password policy and, when the policy forbids reuse, differ from the current one. Answers 204 with no body.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v2/users/{username}/password (the `ChangeUserPassword` operationId).

func (*Client) ChangeUserPasswordWithBody

func (c *Client) ChangeUserPasswordWithBody(ctx context.Context, username Username, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ChangeUserPasswordWithBody Set a user's password

Replaces the user's internal password. A platform admin may set any user's password; any user may set their own. The new value must satisfy the password policy and, when the policy forbids reuse, differ from the current one. Answers 204 with no body.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v2/users/{username}/password (the `ChangeUserPassword` operationId).

func (*Client) ConfigureAccessUserLockPolicy

func (c *Client) ConfigureAccessUserLockPolicy(ctx context.Context, body ConfigureAccessUserLockPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ConfigureAccessUserLockPolicy Replace the user lock policy

Replaces the user lock policy and returns what was stored. Send every field; an omitted field is stored as 0 or false, not as its default. To change one setting, read the policy and send it back with that field changed. Setting attempts to 0 unlocks every locked user. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/config/security/user_lock_policy (the `ConfigureAccessUserLockPolicy` operationId).

func (*Client) ConfigureAccessUserLockPolicyWithBody

func (c *Client) ConfigureAccessUserLockPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ConfigureAccessUserLockPolicyWithBody Replace the user lock policy

Replaces the user lock policy and returns what was stored. Send every field; an omitted field is stored as 0 or false, not as its default. To change one setting, read the policy and send it back with that field changed. Setting attempts to 0 unlocks every locked user. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/config/security/user_lock_policy (the `ConfigureAccessUserLockPolicy` operationId).

func (*Client) CreateGlobalEnvironment

func (c *Client) CreateGlobalEnvironment(ctx context.Context, body CreateGlobalEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateGlobalEnvironment Create a global environment

Creates an environment and returns it with status 201. Names are case-insensitive and at most 32 characters; a name that differs from an existing one only by case answers 409. At most 10 global environments may exist by default, DEV and PROD among them; once that many exist, another answers 400. Admin only.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/environments (the `CreateGlobalEnvironment` operationId).

func (*Client) CreateGlobalEnvironmentWithBody

func (c *Client) CreateGlobalEnvironmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateGlobalEnvironmentWithBody Create a global environment

Creates an environment and returns it with status 201. Names are case-insensitive and at most 32 characters; a name that differs from an existing one only by case answers 409. At most 10 global environments may exist by default, DEV and PROD among them; once that many exist, another answers 400. Admin only.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/environments (the `CreateGlobalEnvironment` operationId).

func (*Client) CreateGlobalRole

func (c *Client) CreateGlobalRole(ctx context.Context, body CreateGlobalRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateGlobalRole Create a global role

Creates a CUSTOM_GLOBAL role that project admins can assign in any project. The response is 201 with {"code":"OK","message":"Role '<name>' created"}. Admin only. An existing name answers 409.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/roles (the `CreateGlobalRole` operationId).

func (*Client) CreateGlobalRoleWithBody

func (c *Client) CreateGlobalRoleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateGlobalRoleWithBody Create a global role

Creates a CUSTOM_GLOBAL role that project admins can assign in any project. The response is 201 with {"code":"OK","message":"Role '<name>' created"}. Admin only. An existing name answers 409.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/roles (the `CreateGlobalRole` operationId).

func (*Client) CreateGroup

func (c *Client) CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateGroup Create a group

Creates a group and returns its details with status 201. members and import_from_ldap_group_setting are mutually exclusive: a group either lists its members or takes them from an LDAP group setting (LDAP import is not supported and answers 400). Admin only. An existing name answers 409.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v2/groups (the `CreateGroup` operationId).

func (*Client) CreateGroupWithBody

func (c *Client) CreateGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateGroupWithBody Create a group

Creates a group and returns its details with status 201. members and import_from_ldap_group_setting are mutually exclusive: a group either lists its members or takes them from an LDAP group setting (LDAP import is not supported and answers 400). Admin only. An existing name answers 409.

Takes any type of body and a specified content type.

Corresponds with POST /api/v2/groups (the `CreateGroup` operationId).

func (*Client) CreateLdapGroupSettings

func (c *Client) CreateLdapGroupSettings(ctx context.Context, body CreateLdapGroupSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateLdapGroupSettings Create an LDAP group setting

Defines how groups are read from the LDAP connection named in enabled_ldap and mapped to local groups. Answers 201 with the stored setting. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/ldap/groups (the `CreateLdapGroupSettings` operationId).

func (*Client) CreateLdapGroupSettingsWithBody

func (c *Client) CreateLdapGroupSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateLdapGroupSettingsWithBody Create an LDAP group setting

Defines how groups are read from the LDAP connection named in enabled_ldap and mapped to local groups. Answers 201 with the stored setting. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/ldap/groups (the `CreateLdapGroupSettings` operationId).

func (*Client) CreateLdapSettings

func (c *Client) CreateLdapSettings(ctx context.Context, body CreateLdapSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateLdapSettings Create an LDAP connection

Adds an LDAP server that login attempts are checked against, in addition to internal users. Answers 201 with the stored connection. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/ldap/settings (the `CreateLdapSettings` operationId).

func (*Client) CreateLdapSettingsWithBody

func (c *Client) CreateLdapSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateLdapSettingsWithBody Create an LDAP connection

Adds an LDAP server that login attempts are checked against, in addition to internal users. Answers 201 with the stored connection. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/ldap/settings (the `CreateLdapSettings` operationId).

func (*Client) CreateOidcConfiguration

func (c *Client) CreateOidcConfiguration(ctx context.Context, body CreateOidcConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOidcConfiguration Create an OIDC provider

Registers an external identity provider, typically a CI system, whose signed ID tokens may be exchanged for access tokens. Answers 200 with the stored configuration. A duplicate name or a GitHub provider type without organization is rejected with 400. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/oidc (the `CreateOidcConfiguration` operationId).

func (*Client) CreateOidcConfigurationWithBody

func (c *Client) CreateOidcConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOidcConfigurationWithBody Create an OIDC provider

Registers an external identity provider, typically a CI system, whose signed ID tokens may be exchanged for access tokens. Answers 200 with the stored configuration. A duplicate name or a GitHub provider type without organization is rejected with 400. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/oidc (the `CreateOidcConfiguration` operationId).

func (*Client) CreateOidcIdentityMapping

func (c *Client) CreateOidcIdentityMapping(ctx context.Context, providerName string, body CreateOidcIdentityMappingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOidcIdentityMapping Create an identity mapping

Adds a rule to a provider: when a presented ID token carries every claim in claims, the exchange issues a token described by token_spec. Answers 200 with the stored mapping, including the project_key derived from its scope. A scope that names project roles in more than one project is refused with 400. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/oidc/{provider_name}/identity_mappings (the `CreateOidcIdentityMapping` operationId).

func (*Client) CreateOidcIdentityMappingWithBody

func (c *Client) CreateOidcIdentityMappingWithBody(ctx context.Context, providerName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOidcIdentityMappingWithBody Create an identity mapping

Adds a rule to a provider: when a presented ID token carries every claim in claims, the exchange issues a token described by token_spec. Answers 200 with the stored mapping, including the project_key derived from its scope. A scope that names project roles in more than one project is refused with 400. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/oidc/{provider_name}/identity_mappings (the `CreateOidcIdentityMapping` operationId).

func (*Client) CreatePairingToken

func (c *Client) CreatePairingToken(ctx context.Context, useCase CreatePairingTokenParamsUseCase, reqEditors ...RequestEditorFn) (*http.Response, error)

CreatePairingToken Create a pairing token

Issues a single-use pairing token on this instance so that another instance of this server can establish mutual trust with it over the peer protocol (decision 0021). Run it on the instance that is to be trusted, hand the token to the administrator of the other instance, who redeems it there, for example when adding this instance as a follower (POST /pfed/api/v1/jpd) or registering it as an Access federation target. Redeeming exchanges per-peer keys that are sealed at rest (decision 0017); the token itself is never stored in clear and stops working once redeemed or when it expires, 300 seconds after issue by default (configurable). Only the platform-federation use case is supported; mission-control and bridge answer 501. The peer must be another instance of this server. Administrators only.

Corresponds with POST /api/v1/service_trust/pairing/{useCase} (the `CreatePairingToken` operationId).

func (*Client) CreatePasswordPolicy

func (c *Client) CreatePasswordPolicy(ctx context.Context, body CreatePasswordPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreatePasswordPolicy Replace the password policy

Replaces the whole password policy that internal users' passwords must satisfy. Every field not supplied returns to its default, so an empty object resets the policy. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/config/security/password_policy (the `CreatePasswordPolicy` operationId).

func (*Client) CreatePasswordPolicyWithBody

func (c *Client) CreatePasswordPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreatePasswordPolicyWithBody Replace the password policy

Replaces the whole password policy that internal users' passwords must satisfy. Every field not supplied returns to its default, so an empty object resets the policy. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/config/security/password_policy (the `CreatePasswordPolicy` operationId).

func (*Client) CreatePermission

func (c *Client) CreatePermission(ctx context.Context, body CreatePermissionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreatePermission Create a permission

Creates a permission in the Access v2 model and returns it with status 201. The /artifactory/api/security/permissions and /artifactory/api/v2/security/permissions endpoints are views of the same record. Every principal, repository and build target named in the body must exist, except the special targets ANY, ANY LOCAL, ANY REMOTE and ANY DISTRIBUTION. Requires a platform admin or a Manage Resources holder. An existing name answers 409.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v2/permissions (the `CreatePermission` operationId).

func (*Client) CreatePermissionWithBody

func (c *Client) CreatePermissionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreatePermissionWithBody Create a permission

Creates a permission in the Access v2 model and returns it with status 201. The /artifactory/api/security/permissions and /artifactory/api/v2/security/permissions endpoints are views of the same record. Every principal, repository and build target named in the body must exist, except the special targets ANY, ANY LOCAL, ANY REMOTE and ANY DISTRIBUTION. Requires a platform admin or a Manage Resources holder. An existing name answers 409.

Takes any type of body and a specified content type.

Corresponds with POST /api/v2/permissions (the `CreatePermission` operationId).

func (*Client) CreateProject

func (c *Client) CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateProject Create a project

Creates a project with no members, the predefined roles and no repositories. The key is immutable afterwards. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/projects (the `CreateProject` operationId).

func (*Client) CreateProjectEnvironment

func (c *Client) CreateProjectEnvironment(ctx context.Context, projectKey ProjectKey, body CreateProjectEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateProjectEnvironment Create a project environment

Creates an environment scoped to the project and returns it with status 201. A project may hold at most ten environments by default. The name must not collide with a global environment. Requires a platform admin or an admin of the project.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/projects/{projectKey}/environments (the `CreateProjectEnvironment` operationId).

func (*Client) CreateProjectEnvironmentWithBody

func (c *Client) CreateProjectEnvironmentWithBody(ctx context.Context, projectKey ProjectKey, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateProjectEnvironmentWithBody Create a project environment

Creates an environment scoped to the project and returns it with status 201. A project may hold at most ten environments by default. The name must not collide with a global environment. Requires a platform admin or an admin of the project.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/projects/{projectKey}/environments (the `CreateProjectEnvironment` operationId).

func (*Client) CreateProjectRole

func (c *Client) CreateProjectRole(ctx context.Context, projectKey string, body CreateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateProjectRole Create a custom project role

Defines a CUSTOM role in the project. Unknown actions and unknown environments are rejected with 400; a name already used in the project is rejected with 400. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/projects/{projectKey}/roles (the `CreateProjectRole` operationId).

func (*Client) CreateProjectRoleWithBody

func (c *Client) CreateProjectRoleWithBody(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateProjectRoleWithBody Create a custom project role

Defines a CUSTOM role in the project. Unknown actions and unknown environments are rejected with 400; a name already used in the project is rejected with 400. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/projects/{projectKey}/roles (the `CreateProjectRole` operationId).

func (*Client) CreateProjectWithBody

func (c *Client) CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateProjectWithBody Create a project

Creates a project with no members, the predefined roles and no repositories. The key is immutable afterwards. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/projects (the `CreateProject` operationId).

func (*Client) CreateSamlSetting

func (c *Client) CreateSamlSetting(ctx context.Context, body CreateSamlSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateSamlSetting Create a SAML setting (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/saml (the `CreateSamlSetting` operationId).

func (*Client) CreateSamlSettingWithBody

func (c *Client) CreateSamlSettingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateSamlSettingWithBody Create a SAML setting (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/saml (the `CreateSamlSetting` operationId).

func (*Client) CreateScimGroupWithApplicationScimPlusJSONBody

func (c *Client) CreateScimGroupWithApplicationScimPlusJSONBody(ctx context.Context, body CreateScimGroupApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateScimGroupWithApplicationScimPlusJSONBody Create a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/scim+json` content type.

Corresponds with POST /api/v1/scim/v2/Groups (the `CreateScimGroup` operationId).

func (*Client) CreateScimGroupWithBody

func (c *Client) CreateScimGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateScimGroupWithBody Create a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/scim/v2/Groups (the `CreateScimGroup` operationId).

func (*Client) CreateScimUserWithApplicationScimPlusJSONBody

func (c *Client) CreateScimUserWithApplicationScimPlusJSONBody(ctx context.Context, body CreateScimUserApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateScimUserWithApplicationScimPlusJSONBody Create a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/scim+json` content type.

Corresponds with POST /api/v1/scim/v2/Users (the `CreateScimUser` operationId).

func (*Client) CreateScimUserWithBody

func (c *Client) CreateScimUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateScimUserWithBody Create a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/scim/v2/Users (the `CreateScimUser` operationId).

func (*Client) CreateToken

func (c *Client) CreateToken(ctx context.Context, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateToken Create or refresh an access token

With grant_type client_credentials (the default) mints a new access token for username, or for the caller when username is omitted. With grant_type refresh_token exchanges refresh_token for a new access token with the same scope and audience. The body may be JSON or form-encoded. A non-admin may only mint identity tokens for themselves (scope applied-permissions/user). Admins may mint any scope that a user already holds; scopes only narrow. A transient user, the subject of a token minted for a name that is no stored user or of an OIDC exchange, mints for itself a token with its own token's scope that resolves to the same transient user. That token expires no later than the caller's own token, and may be refreshable only when the caller's own token is, or the request is refused with 403. A user name and password sent with Basic mint a token only while the token.allow_basic_auth setting is on, which it is not by default; an access or reference token, as Bearer or as the Basic password, always may. The response status is 200 and the body always carries token_id.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/tokens (the `CreateToken` operationId).

func (*Client) CreateTokenWithBody

func (c *Client) CreateTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateTokenWithBody Create or refresh an access token

With grant_type client_credentials (the default) mints a new access token for username, or for the caller when username is omitted. With grant_type refresh_token exchanges refresh_token for a new access token with the same scope and audience. The body may be JSON or form-encoded. A non-admin may only mint identity tokens for themselves (scope applied-permissions/user). Admins may mint any scope that a user already holds; scopes only narrow. A transient user, the subject of a token minted for a name that is no stored user or of an OIDC exchange, mints for itself a token with its own token's scope that resolves to the same transient user. That token expires no later than the caller's own token, and may be refreshable only when the caller's own token is, or the request is refused with 403. A user name and password sent with Basic mint a token only while the token.allow_basic_auth setting is on, which it is not by default; an access or reference token, as Bearer or as the Basic password, always may. The response status is 200 and the body always carries token_id.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/tokens (the `CreateToken` operationId).

func (*Client) CreateTokenWithFormdataBody

func (c *Client) CreateTokenWithFormdataBody(ctx context.Context, body CreateTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateTokenWithFormdataBody Create or refresh an access token

With grant_type client_credentials (the default) mints a new access token for username, or for the caller when username is omitted. With grant_type refresh_token exchanges refresh_token for a new access token with the same scope and audience. The body may be JSON or form-encoded. A non-admin may only mint identity tokens for themselves (scope applied-permissions/user). Admins may mint any scope that a user already holds; scopes only narrow. A transient user, the subject of a token minted for a name that is no stored user or of an OIDC exchange, mints for itself a token with its own token's scope that resolves to the same transient user. That token expires no later than the caller's own token, and may be refreshable only when the caller's own token is, or the request is refused with 403. A user name and password sent with Basic mint a token only while the token.allow_basic_auth setting is on, which it is not by default; an access or reference token, as Bearer or as the Basic password, always may. The response status is 200 and the body always carries token_id.

Takes a body of the `application/x-www-form-urlencoded` content type.

Corresponds with POST /api/v1/tokens (the `CreateToken` operationId).

func (*Client) CreateUser

func (c *Client) CreateUser(ctx context.Context, body CreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateUser Create a user

Creates an internal user and returns its details with status 201. The same internal user record backs the /artifactory/api/security/users endpoint. Admin only. A username that already exists answers 409.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v2/users (the `CreateUser` operationId).

func (*Client) CreateUserWithBody

func (c *Client) CreateUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateUserWithBody Create a user

Creates an internal user and returns its details with status 201. The same internal user record backs the /artifactory/api/security/users endpoint. Admin only. A username that already exists answers 409.

Takes any type of body and a specified content type.

Corresponds with POST /api/v2/users (the `CreateUser` operationId).

func (*Client) DeleteAccessFederation

func (c *Client) DeleteAccessFederation(ctx context.Context, serverName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteAccessFederation Unregister a federation target

Removes a federation target and discards changes still queued for it. Entities already replicated to the peer stay there; the peer's pairing with this instance is not revoked. Administrators only.

Corresponds with DELETE /api/v1/system/federation/{serverName} (the `DeleteAccessFederation` operationId).

func (*Client) DeleteAwsIamRole

func (c *Client) DeleteAwsIamRole(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteAwsIamRole Remove a user's AWS IAM role (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with DELETE /api/v1/aws/iam_role/{username} (the `DeleteAwsIamRole` operationId).

func (*Client) DeleteGlobalEnvironment

func (c *Client) DeleteGlobalEnvironment(ctx context.Context, environmentName EnvironmentName, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteGlobalEnvironment Delete a global environment

Removes an environment. DEV and PROD cannot be deleted, nor can an environment that repositories or global roles still name; both answer 400. Admin only. Answers 204 with no body.

Corresponds with DELETE /api/v1/environments/{environmentName} (the `DeleteGlobalEnvironment` operationId).

func (*Client) DeleteGlobalRole

func (c *Client) DeleteGlobalRole(ctx context.Context, role RoleName, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteGlobalRole Delete a global role

Removes a CUSTOM_GLOBAL role and every assignment of it. Built-in roles answer 400. Admin only. Answers 204 with no body.

Corresponds with DELETE /api/v1/roles/{role} (the `DeleteGlobalRole` operationId).

func (*Client) DeleteGroup

func (c *Client) DeleteGroup(ctx context.Context, name GroupName, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteGroup Delete a group

Removes the group, its memberships and its entries in permission targets. The built-in readers group can be deleted; a group that is the sole admin grant for the last admin cannot. Admin only. Answers 204 with no body.

Corresponds with DELETE /api/v2/groups/{name} (the `DeleteGroup` operationId).

func (*Client) DeleteLdapGroupSettings

func (c *Client) DeleteLdapGroupSettings(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteLdapGroupSettings Delete an LDAP group setting

Removes the group setting. Groups already imported through it remain as local groups. Returns 204. Requires a platform admin.

Corresponds with DELETE /api/v1/ldap/groups/{name} (the `DeleteLdapGroupSettings` operationId).

func (*Client) DeleteLdapSettings

func (c *Client) DeleteLdapSettings(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteLdapSettings Delete an LDAP connection

Removes the connection. Users created through it keep their local accounts but can no longer log in through it, and group settings that name it in enabled_ldap stop synchronising. Returns 204. Requires a platform admin.

Corresponds with DELETE /api/v1/ldap/settings/{key} (the `DeleteLdapSettings` operationId).

func (*Client) DeleteOidcConfiguration

func (c *Client) DeleteOidcConfiguration(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteOidcConfiguration Delete an OIDC provider

Removes the provider and its identity mappings, so token exchanges that name it fail from then on. Tokens already issued through it stay valid until they expire or are revoked. Returns 204. Requires a platform admin.

Corresponds with DELETE /api/v1/oidc/{name} (the `DeleteOidcConfiguration` operationId).

func (*Client) DeleteOidcIdentityMapping

func (c *Client) DeleteOidcIdentityMapping(ctx context.Context, providerName string, mappingName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteOidcIdentityMapping Delete an identity mapping

Removes one identity mapping. Tokens already issued through it stay valid. Returns 204. Requires a platform admin.

Corresponds with DELETE /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `DeleteOidcIdentityMapping` operationId).

func (*Client) DeletePermission

func (c *Client) DeletePermission(ctx context.Context, permissionName PermissionName, reqEditors ...RequestEditorFn) (*http.Response, error)

DeletePermission Delete a permission

Removes the permission and every grant it carried. Requires a platform admin or a Manage Resources holder. Answers 204 with no body.

Corresponds with DELETE /api/v2/permissions/{permissionName} (the `DeletePermission` operationId).

func (*Client) DeletePermissionResource

func (c *Client) DeletePermissionResource(ctx context.Context, permissionName PermissionName, resourceType DeletePermissionResourceParamsResourceType, reqEditors ...RequestEditorFn) (*http.Response, error)

DeletePermissionResource Delete one resource section

Removes the section for the resource type; the permission itself stays, even when it ends up with no sections. Requires a platform admin or a Manage Resources holder. Answers 204 with no body.

Corresponds with DELETE /api/v2/permissions/{permissionName}/{resourceType} (the `DeletePermissionResource` operationId).

func (*Client) DeleteProject

func (c *Client) DeleteProject(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteProject Delete a project

Deletes the project, its custom roles and memberships. The project's repositories are not deleted: they are unassigned and keep their keys. Deleting a project that still owns repositories is allowed. Requires a platform admin.

Corresponds with DELETE /api/v1/projects/{projectKey} (the `DeleteProject` operationId).

func (*Client) DeleteProjectEnvironment

func (c *Client) DeleteProjectEnvironment(ctx context.Context, projectKey ProjectKey, environmentName EnvironmentName, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteProjectEnvironment Delete a project environment

Removes a project environment that no repository in the project still uses. Requires a platform admin or an admin of the project. Answers 204 with no body.

Corresponds with DELETE /api/v1/projects/{projectKey}/environments/{environmentName} (the `DeleteProjectEnvironment` operationId).

func (*Client) DeleteProjectGroup

func (c *Client) DeleteProjectGroup(ctx context.Context, projectKey string, group string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteProjectGroup Remove a group from a project

Removes the group's roles in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Corresponds with DELETE /api/v1/projects/{projectKey}/groups/{group} (the `DeleteProjectGroup` operationId).

func (*Client) DeleteProjectRole

func (c *Client) DeleteProjectRole(ctx context.Context, projectKey string, role string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteProjectRole Delete a custom project role

Deletes a CUSTOM role and removes it from every member that held it. Predefined roles cannot be deleted (400). Requires a platform admin, or a project admin of this project with the manage_members privilege.

Corresponds with DELETE /api/v1/projects/{projectKey}/roles/{role} (the `DeleteProjectRole` operationId).

func (*Client) DeleteProjectUser

func (c *Client) DeleteProjectUser(ctx context.Context, projectKey string, user string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteProjectUser Remove a user from a project

Removes the user's direct roles in the project. Roles held through groups remain. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Corresponds with DELETE /api/v1/projects/{projectKey}/users/{user} (the `DeleteProjectUser` operationId).

func (*Client) DeleteSamlSetting

func (c *Client) DeleteSamlSetting(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteSamlSetting Delete a SAML setting (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with DELETE /api/v1/saml/{name} (the `DeleteSamlSetting` operationId).

func (*Client) DeleteScimGroup

func (c *Client) DeleteScimGroup(ctx context.Context, groupName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteScimGroup Delete a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with DELETE /api/v1/scim/v2/Groups/{groupName} (the `DeleteScimGroup` operationId).

func (*Client) DeleteScimUser

func (c *Client) DeleteScimUser(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteScimUser Delete a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with DELETE /api/v1/scim/v2/Users/{username} (the `DeleteScimUser` operationId).

func (*Client) DeleteUser

func (c *Client) DeleteUser(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteUser Delete a user

Removes the user, its group memberships, its tokens and its entries in permission targets. The built-in admin and anonymous users cannot be deleted. Admin only. Answers 204 with no body.

Corresponds with DELETE /api/v2/users/{username} (the `DeleteUser` operationId).

func (*Client) DeleteVaultConfiguration

func (c *Client) DeleteVaultConfiguration(ctx context.Context, vaultKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteVaultConfiguration Delete a Vault connection

Removes the connection. Keypairs that name it can no longer sign until a connection with the same key is stored again. Returns 204. Requires a platform admin.

Corresponds with DELETE /api/v1/vault/configs/{vault_key} (the `DeleteVaultConfiguration` operationId).

func (*Client) EnableCloudLogCollection

func (c *Client) EnableCloudLogCollection(ctx context.Context, body EnableCloudLogCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

EnableCloudLogCollection Switch cloud log collection (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/logshipping/config (the `EnableCloudLogCollection` operationId).

func (*Client) EnableCloudLogCollectionWithBody

func (c *Client) EnableCloudLogCollectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

EnableCloudLogCollectionWithBody Switch cloud log collection (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/logshipping/config (the `EnableCloudLogCollection` operationId).

func (*Client) ExpirePasswordForAllUsers

func (c *Client) ExpirePasswordForAllUsers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ExpirePasswordForAllUsers Expire every internal password

Marks every internal user's password as expired so each user must set a new one at next login. Users with internal_password_disabled are unaffected. Admin only. Responds with a plain text confirmation.

Corresponds with POST /api/v2/users/expire_password_for_all_users (the `ExpirePasswordForAllUsers` operationId).

func (*Client) ExpireUserPassword

func (c *Client) ExpireUserPassword(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*http.Response, error)

ExpireUserPassword Expire a user's password

Marks the user's password as expired so they must change it at next login. Admin only. Answers 204 with no body.

Corresponds with POST /api/v2/users/{username}/password/expire (the `ExpireUserPassword` operationId).

func (*Client) ExportAccessConfiguration

func (c *Client) ExportAccessConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ExportAccessConfiguration Export the Access configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with POST /api/v1/system/backup/export (the `ExportAccessConfiguration` operationId).

func (*Client) FullBroadcastAccessFederation

func (c *Client) FullBroadcastAccessFederation(ctx context.Context, serverName string, reqEditors ...RequestEditorFn) (*http.Response, error)

FullBroadcastAccessFederation Run a full broadcast to a target

Sends the complete current set of selected identity entities to the target, after which the target matches this instance for those entities (the full-sync fallback of decision 0021). Use it after a long outage or when the incremental outbox was discarded. The broadcast runs in the background; at most one runs per target. Administrators only.

Corresponds with PUT /api/v1/system/federation/{serverName}/full_broadcast (the `FullBroadcastAccessFederation` operationId).

func (*Client) GetAccessFederation

func (c *Client) GetAccessFederation(ctx context.Context, serverName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAccessFederation Get a federation target

Returns one federation target by name. Administrators only.

Corresponds with GET /api/v1/system/federation/{serverName} (the `GetAccessFederation` operationId).

func (*Client) GetAccessUserLockPolicy

func (c *Client) GetAccessUserLockPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAccessUserLockPolicy Get the user lock policy

Returns the user lock policy. A setting never changed reports its default. Reads the same state as GET /artifactory/api/security/userLockPolicy and GET /artifactory/api/security/configuration/passwordExpirationPolicy. Requires a platform admin.

Corresponds with GET /api/v1/config/security/user_lock_policy (the `GetAccessUserLockPolicy` operationId).

func (*Client) GetAccessVersion

func (c *Client) GetAccessVersion(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAccessVersion Access compatibility version

Returns the compatibility version in name and version, the same value as /artifactory/api/system/version reports.

Corresponds with GET /api/v1/system/version (the `GetAccessVersion` operationId).

func (*Client) GetAllAccessFederations

func (c *Client) GetAllAccessFederations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAllAccessFederations List federation targets

Returns every Access federation target registered on this instance, active or paused. Administrators only. A target is always another instance of this server; no other kind of federation peer is supported (decision 0025).

Corresponds with GET /api/v1/system/federation (the `GetAllAccessFederations` operationId).

func (*Client) GetAllGlobalRoles

func (c *Client) GetAllGlobalRoles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAllGlobalRoles List global roles

Returns every global role: the built-in ADMIN and PREDEFINED roles and the CUSTOM_GLOBAL roles created through this API. Admin only.

Corresponds with GET /api/v1/roles (the `GetAllGlobalRoles` operationId).

func (*Client) GetAllLdapGroupSettings

func (c *Client) GetAllLdapGroupSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAllLdapGroupSettings List LDAP group settings

Returns every LDAP group synchronisation setting. Requires a platform admin.

Corresponds with GET /api/v1/ldap/groups (the `GetAllLdapGroupSettings` operationId).

func (*Client) GetAllLdapSettings

func (c *Client) GetAllLdapSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAllLdapSettings List LDAP connections

Returns every LDAP server connection that logins are checked against. Manager passwords are never returned. Requires a platform admin.

Corresponds with GET /api/v1/ldap/settings (the `GetAllLdapSettings` operationId).

func (*Client) GetAllOidcConfigurations

func (c *Client) GetAllOidcConfigurations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAllOidcConfigurations List OIDC providers

Returns every OpenID Connect provider whose ID tokens the token exchange (POST /api/v1/oidc/token) trusts. Requires a platform admin.

Corresponds with GET /api/v1/oidc (the `GetAllOidcConfigurations` operationId).

func (*Client) GetAllSamlSettings

func (c *Client) GetAllSamlSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAllSamlSettings List SAML settings (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with GET /api/v1/saml (the `GetAllSamlSettings` operationId).

func (*Client) GetAwsIamRole

func (c *Client) GetAwsIamRole(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAwsIamRole Get a user's AWS IAM role (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with GET /api/v1/aws/iam_role/{username} (the `GetAwsIamRole` operationId).

func (*Client) GetBasicAuthenticationStatus

func (c *Client) GetBasicAuthenticationStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetBasicAuthenticationStatus Get the basic authentication switch

Returns whether usernames and passwords are accepted over HTTP Basic. When the switch is off, only access tokens and reference tokens authenticate (decision 0005). Requires a platform admin.

Corresponds with GET /api/v1/config/security/authentication/basic_authentication_enabled (the `GetBasicAuthenticationStatus` operationId).

func (*Client) GetCaCertificate

func (c *Client) GetCaCertificate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetCaCertificate Get the CA certificate

Returns, as PEM text, the public certificate of the authority that signs the instance's internal service certificates. The server generates the authority on first start and keeps its key sealed (decision 0017). Requires a platform admin.

Corresponds with GET /api/v1/cert/ca (the `GetCaCertificate` operationId).

func (*Client) GetCrowdConfiguration

func (c *Client) GetCrowdConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetCrowdConfiguration Get the Crowd configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with GET /api/v1/crowd (the `GetCrowdConfiguration` operationId).

func (*Client) GetGlobalEnvironments

func (c *Client) GetGlobalEnvironments(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetGlobalEnvironments List global environments

Returns every global environment, including the built-in DEV and PROD. Every repository belongs to exactly one environment (DEV by default). Admin only.

Corresponds with GET /api/v1/environments (the `GetGlobalEnvironments` operationId).

func (*Client) GetGlobalRole

func (c *Client) GetGlobalRole(ctx context.Context, role RoleName, reqEditors ...RequestEditorFn) (*http.Response, error)

GetGlobalRole Get a global role

Returns one global role by name. Admin only.

Corresponds with GET /api/v1/roles/{role} (the `GetGlobalRole` operationId).

func (*Client) GetGroupDetails

func (c *Client) GetGroupDetails(ctx context.Context, name GroupName, reqEditors ...RequestEditorFn) (*http.Response, error)

GetGroupDetails Get a group

Returns the group including its member usernames. Requires a platform admin or the system:identities:r scope.

Corresponds with GET /api/v2/groups/{name} (the `GetGroupDetails` operationId).

func (*Client) GetGroupList

func (c *Client) GetGroupList(ctx context.Context, params *GetGroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetGroupList List groups

Returns one record per group as a cursor-paginated page. Requires a platform admin or the system:identities:r scope. Filters combine with AND.

Corresponds with GET /api/v2/groups (the `GetGroupList` operationId).

func (*Client) GetHttpSsoConfiguration

func (c *Client) GetHttpSsoConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetHttpSsoConfiguration Get the HTTP single sign-on configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with GET /api/v1/httpsso (the `GetHttpSsoConfiguration` operationId).

func (*Client) GetLdapGroupMappingStrategy

func (c *Client) GetLdapGroupMappingStrategy(ctx context.Context, params *GetLdapGroupMappingStrategyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetLdapGroupMappingStrategy Get a group mapping strategy

Returns the default filter and attribute names of one group mapping strategy, as a starting point for a new group setting. Requires a platform admin.

Corresponds with GET /api/v1/ldap/groups/strategy (the `GetLdapGroupMappingStrategy` operationId).

func (*Client) GetLdapGroupSettingsByName

func (c *Client) GetLdapGroupSettingsByName(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetLdapGroupSettingsByName Get an LDAP group setting

Returns one LDAP group setting. Requires a platform admin.

Corresponds with GET /api/v1/ldap/groups/{name} (the `GetLdapGroupSettingsByName` operationId).

func (*Client) GetLdapSettingsByKey

func (c *Client) GetLdapSettingsByKey(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetLdapSettingsByKey Get an LDAP connection

Returns one LDAP connection without its manager password. Requires a platform admin.

Corresponds with GET /api/v1/ldap/settings/{key} (the `GetLdapSettingsByKey` operationId).

func (*Client) GetOidcConfiguration

func (c *Client) GetOidcConfiguration(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOidcConfiguration Get an OIDC provider

Returns one provider configuration. Requires a platform admin.

Corresponds with GET /api/v1/oidc/{name} (the `GetOidcConfiguration` operationId).

func (*Client) GetOidcIdentityMappingByName

func (c *Client) GetOidcIdentityMappingByName(ctx context.Context, providerName string, mappingName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOidcIdentityMappingByName Get an identity mapping

Returns one identity mapping of a provider. Requires a platform admin.

Corresponds with GET /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `GetOidcIdentityMappingByName` operationId).

func (*Client) GetOidcIdentityMappings

func (c *Client) GetOidcIdentityMappings(ctx context.Context, providerName string, params *GetOidcIdentityMappingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOidcIdentityMappings List identity mappings

Returns the identity mappings of one provider, optionally only those of one project. Requires a platform admin.

Corresponds with GET /api/v1/oidc/{provider_name}/identity_mappings (the `GetOidcIdentityMappings` operationId).

func (*Client) GetPermissionDetails

func (c *Client) GetPermissionDetails(ctx context.Context, permissionName PermissionName, reqEditors ...RequestEditorFn) (*http.Response, error)

GetPermissionDetails Get a permission

Returns the full permission document. Requires a platform admin, a Manage Resources holder, the system:permissions:r scope, or MANAGE on every resource of the permission.

Corresponds with GET /api/v2/permissions/{permissionName} (the `GetPermissionDetails` operationId).

func (*Client) GetPermissionResource

func (c *Client) GetPermissionResource(ctx context.Context, permissionName PermissionName, resourceType GetPermissionResourceParamsResourceType, reqEditors ...RequestEditorFn) (*http.Response, error)

GetPermissionResource Get one resource section of a permission

Returns the actions and targets of a single resource type within the permission. A permission that has no section for the type answers 404. Requires a platform admin or a Manage Resources holder.

Corresponds with GET /api/v2/permissions/{permissionName}/{resourceType} (the `GetPermissionResource` operationId).

func (*Client) GetPermissions

func (c *Client) GetPermissions(ctx context.Context, params *GetPermissionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetPermissions List permissions

Returns permissions as a cursor-paginated page. Without filters the page holds name and uri per permission. With user or group filters it holds only permissions that grant something to those principals, and expand=true then returns the full PermissionDetails instead of the name and uri pair. Requires a platform admin, a holder of the Manage Resources role or the system:permissions:r scope.

Corresponds with GET /api/v2/permissions (the `GetPermissions` operationId).

func (*Client) GetProject

func (c *Client) GetProject(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProject Get a project

Returns one project. Requires a platform admin or an admin of the project.

Corresponds with GET /api/v1/projects/{projectKey} (the `GetProject` operationId).

func (*Client) GetProjectEnvironments

func (c *Client) GetProjectEnvironments(ctx context.Context, projectKey ProjectKey, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProjectEnvironments List a project's environments

Returns the environments defined inside one project, which project roles and project repositories may reference in addition to the global ones. Requires a platform admin or an admin of the project.

Corresponds with GET /api/v1/projects/{projectKey}/environments (the `GetProjectEnvironments` operationId).

func (*Client) GetProjectGroup

func (c *Client) GetProjectGroup(ctx context.Context, projectKey string, group string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProjectGroup Get a project group

Returns one group's roles in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Corresponds with GET /api/v1/projects/{projectKey}/groups/{group} (the `GetProjectGroup` operationId).

func (*Client) GetProjectGroups

func (c *Client) GetProjectGroups(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProjectGroups List project groups

Returns the groups holding a role in the project, with their roles. Requires a platform admin, or a project admin of this project with the manage_members privilege. A token scoped project:<key>/members/groups:r is also accepted.

Corresponds with GET /api/v1/projects/{projectKey}/groups (the `GetProjectGroups` operationId).

func (*Client) GetProjectRepositoryStatus

func (c *Client) GetProjectRepositoryStatus(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProjectRepositoryStatus Get a repository's project status

Reports which project owns the repository and which projects it is shared with. Requires a platform admin.

Corresponds with GET /api/v1/projects/_/repositories/{repoName} (the `GetProjectRepositoryStatus` operationId).

func (*Client) GetProjectRole

func (c *Client) GetProjectRole(ctx context.Context, projectKey string, role string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProjectRole Get a project role

Returns one role usable in the project. Requires a platform admin or an admin of the project.

Corresponds with GET /api/v1/projects/{projectKey}/roles/{role} (the `GetProjectRole` operationId).

func (*Client) GetProjectRoles

func (c *Client) GetProjectRoles(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProjectRoles List project roles

Returns every role usable in the project: the predefined roles, the project's custom roles and global custom roles. Requires a platform admin or an admin of the project. A token scoped project:<key>/roles:r is also accepted.

Corresponds with GET /api/v1/projects/{projectKey}/roles (the `GetProjectRoles` operationId).

func (*Client) GetProjectUser

func (c *Client) GetProjectUser(ctx context.Context, projectKey string, user string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProjectUser Get a project user

Returns one user's roles in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Corresponds with GET /api/v1/projects/{projectKey}/users/{user} (the `GetProjectUser` operationId).

func (*Client) GetProjectUsers

func (c *Client) GetProjectUsers(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProjectUsers List project users

Returns the users holding a direct role in the project, with their roles. Requires a platform admin, or a project admin of this project with the manage_members privilege. A token scoped project:<key>/members/users:r is also accepted.

Corresponds with GET /api/v1/projects/{projectKey}/users (the `GetProjectUsers` operationId).

func (*Client) GetProjectsForRole

func (c *Client) GetProjectsForRole(ctx context.Context, params *GetProjectsForRoleParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProjectsForRole List projects that use a global role

Returns, one cursor page at a time, the projects in which the named global role is assigned to a member. Requires a platform admin.

Corresponds with GET /api/v2/projects (the `GetProjectsForRole` operationId).

func (*Client) GetProjectsList

func (c *Client) GetProjectsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProjectsList List projects

Returns every project for a platform admin, and only the projects they administer for a project admin.

Corresponds with GET /api/v1/projects (the `GetProjectsList` operationId).

func (*Client) GetRootCertificate

func (c *Client) GetRootCertificate(ctx context.Context, params *GetRootCertificateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetRootCertificate Get the root certificate

Returns the certificate whose key signs the instance's access tokens, so that other services can verify them. By default the body is the base64 certificate on one line; with formatted=true it is a PEM block with header, footer and line breaks. Any authenticated caller may read it.

Corresponds with GET /api/v1/cert/root (the `GetRootCertificate` operationId).

func (*Client) GetSamlGeneralSettings

func (c *Client) GetSamlGeneralSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSamlGeneralSettings Get the SAML switch (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with GET /api/v1/saml/general_settings (the `GetSamlGeneralSettings` operationId).

func (*Client) GetSamlSettingByName

func (c *Client) GetSamlSettingByName(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSamlSettingByName Get a SAML setting (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with GET /api/v1/saml/{name} (the `GetSamlSettingByName` operationId).

func (*Client) GetScimGroupByName

func (c *Client) GetScimGroupByName(ctx context.Context, groupName string, params *GetScimGroupByNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetScimGroupByName Get a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with GET /api/v1/scim/v2/Groups/{groupName} (the `GetScimGroupByName` operationId).

func (*Client) GetScimGroups

func (c *Client) GetScimGroups(ctx context.Context, params *GetScimGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetScimGroups List SCIM groups (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with GET /api/v1/scim/v2/Groups (the `GetScimGroups` operationId).

func (*Client) GetScimResourceTypes

func (c *Client) GetScimResourceTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetScimResourceTypes List SCIM resource types (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with GET /api/v1/scim/v2/ResourceTypes (the `GetScimResourceTypes` operationId).

func (*Client) GetScimSchemaById

func (c *Client) GetScimSchemaById(ctx context.Context, schemaId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetScimSchemaById Get a SCIM schema (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with GET /api/v1/scim/v2/Schemas/{schemaId} (the `GetScimSchemaById` operationId).

func (*Client) GetScimSchemas

func (c *Client) GetScimSchemas(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetScimSchemas List SCIM schemas (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with GET /api/v1/scim/v2/Schemas (the `GetScimSchemas` operationId).

func (*Client) GetScimServiceProviderConfig

func (c *Client) GetScimServiceProviderConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetScimServiceProviderConfig Get the SCIM service provider configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with GET /api/v1/scim/v2/ServiceProviderConfig (the `GetScimServiceProviderConfig` operationId).

func (*Client) GetScimUserByUsername

func (c *Client) GetScimUserByUsername(ctx context.Context, username string, params *GetScimUserByUsernameParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetScimUserByUsername Get a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with GET /api/v1/scim/v2/Users/{username} (the `GetScimUserByUsername` operationId).

func (*Client) GetScimUsers

func (c *Client) GetScimUsers(ctx context.Context, params *GetScimUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetScimUsers List SCIM users (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with GET /api/v1/scim/v2/Users (the `GetScimUsers` operationId).

func (*Client) GetTokenById

func (c *Client) GetTokenById(ctx context.Context, tokenId TokenId, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTokenById Get a token's metadata

Returns the metadata of one token. The id me stands for the token used to authenticate the call. A non-admin may only read their own tokens.

Corresponds with GET /api/v1/tokens/{tokenId} (the `GetTokenById` operationId).

func (*Client) GetTokenDefaultExpiry

func (c *Client) GetTokenDefaultExpiry(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTokenDefaultExpiry Get the default token lifetime

Returns the lifetime, in seconds, that POST /api/v1/tokens gives to tokens created without expires_in. Requires a platform admin.

Corresponds with GET /api/v1/config/token/default_expiry (the `GetTokenDefaultExpiry` operationId).

func (*Client) GetTokens

func (c *Client) GetTokens(ctx context.Context, params *GetTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTokens List access tokens

A platform admin sees every token; any other caller sees only tokens whose subject is their own user. Expired tokens and tokens that are not revocable are omitted. The token values themselves are never returned, only their metadata. A token issued with a reference token is listed like any other.

Corresponds with GET /api/v1/tokens (the `GetTokens` operationId).

func (*Client) GetUserDetails

func (c *Client) GetUserDetails(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUserDetails Get a user

Returns the stored user record. Requires a platform admin or the system:identities:r scope; a user may always read their own record.

Corresponds with GET /api/v2/users/{username} (the `GetUserDetails` operationId).

func (*Client) GetUserList

func (c *Client) GetUserList(ctx context.Context, params *GetUserListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUserList List users

Returns one record per user, newest first unless descendingOrder is false, as a cursor-paginated page. Requires a platform admin or a token carrying the system:identities:r scope. Every query parameter is a filter; filters combine with AND.

Corresponds with GET /api/v2/users (the `GetUserList` operationId).

func (*Client) GetVaultConfigurations

func (c *Client) GetVaultConfigurations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetVaultConfigurations List Vault connections

Returns every HashiCorp Vault connection. Keypairs whose vaultKey names a connection read their private key from Vault instead of the database. Secrets are never returned. Requires a platform admin.

Corresponds with GET /api/v1/vault/configs (the `GetVaultConfigurations` operationId).

func (*Client) ImportAccessConfiguration

func (c *Client) ImportAccessConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ImportAccessConfiguration Import the Access configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Corresponds with POST /api/v1/system/backup/import (the `ImportAccessConfiguration` operationId).

func (*Client) ImportLdapGroups

func (c *Client) ImportLdapGroups(ctx context.Context, body ImportLdapGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ImportLdapGroups Import LDAP groups

Creates local groups, or updates existing ones, for the listed LDAP groups through the given group setting, so that permissions can be granted to them. Returns 204. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/ldap/groups/import (the `ImportLdapGroups` operationId).

func (*Client) ImportLdapGroupsWithBody

func (c *Client) ImportLdapGroupsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ImportLdapGroupsWithBody Import LDAP groups

Creates local groups, or updates existing ones, for the listed LDAP groups through the given group setting, so that permissions can be granted to them. Returns 204. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/ldap/groups/import (the `ImportLdapGroups` operationId).

func (*Client) OidcTokenExchange

func (c *Client) OidcTokenExchange(ctx context.Context, body OidcTokenExchangeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

OidcTokenExchange Exchange an ID token for an access token

Implements the OAuth 2.0 token exchange of RFC 8693 for CI workload identity. The caller presents an ID token signed by a registered provider; the server verifies its signature, issuer and audience, tries the provider's identity mappings in priority order, and issues an access token shaped by the token_spec of the first mapping whose claims all match. Needs no authentication: the subject token is the credential. Answers 400 when the request is malformed, when no mapping matches, or when the matching mapping's patterns do not accept the token's claims, and 401 when the subject token does not verify.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/oidc/token (the `OidcTokenExchange` operationId).

func (*Client) OidcTokenExchangeWithBody

func (c *Client) OidcTokenExchangeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

OidcTokenExchangeWithBody Exchange an ID token for an access token

Implements the OAuth 2.0 token exchange of RFC 8693 for CI workload identity. The caller presents an ID token signed by a registered provider; the server verifies its signature, issuer and audience, tries the provider's identity mappings in priority order, and issues an access token shaped by the token_spec of the first mapping whose claims all match. Needs no authentication: the subject token is the credential. Answers 400 when the request is malformed, when no mapping matches, or when the matching mapping's patterns do not accept the token's claims, and 401 when the subject token does not verify.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/oidc/token (the `OidcTokenExchange` operationId).

func (*Client) PatchScimGroupWithApplicationScimPlusJSONBody

func (c *Client) PatchScimGroupWithApplicationScimPlusJSONBody(ctx context.Context, groupName string, body PatchScimGroupApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchScimGroupWithApplicationScimPlusJSONBody Patch a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/scim+json` content type.

Corresponds with PATCH /api/v1/scim/v2/Groups/{groupName} (the `PatchScimGroup` operationId).

func (*Client) PatchScimGroupWithBody

func (c *Client) PatchScimGroupWithBody(ctx context.Context, groupName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchScimGroupWithBody Patch a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/v1/scim/v2/Groups/{groupName} (the `PatchScimGroup` operationId).

func (*Client) PatchScimUserWithApplicationScimPlusJSONBody

func (c *Client) PatchScimUserWithApplicationScimPlusJSONBody(ctx context.Context, username string, body PatchScimUserApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchScimUserWithApplicationScimPlusJSONBody Patch a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/scim+json` content type.

Corresponds with PATCH /api/v1/scim/v2/Users/{username} (the `PatchScimUser` operationId).

func (*Client) PatchScimUserWithBody

func (c *Client) PatchScimUserWithBody(ctx context.Context, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchScimUserWithBody Patch a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/v1/scim/v2/Users/{username} (the `PatchScimUser` operationId).

func (*Client) PutAwsIamRole

func (c *Client) PutAwsIamRole(ctx context.Context, body PutAwsIamRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutAwsIamRole Assign an AWS IAM role (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/aws/iam_role (the `PutAwsIamRole` operationId).

func (*Client) PutAwsIamRoleWithBody

func (c *Client) PutAwsIamRoleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutAwsIamRoleWithBody Assign an AWS IAM role (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/aws/iam_role (the `PutAwsIamRole` operationId).

func (*Client) RefreshLdapGroupSettings

func (c *Client) RefreshLdapGroupSettings(ctx context.Context, name string, params *RefreshLdapGroupSettingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

RefreshLdapGroupSettings Refresh LDAP groups

Re-reads the LDAP groups of the named setting. operation chooses whether to update the memberships of groups already imported, import the groups not yet present, or both. With username, only that user's memberships are refreshed. Returns a plain-text summary that includes the number of groups imported. Requires a platform admin.

Corresponds with POST /api/v1/ldap/groups/{name}/refresh (the `RefreshLdapGroupSettings` operationId).

func (*Client) RegisterAccessFederation

func (c *Client) RegisterAccessFederation(ctx context.Context, body RegisterAccessFederationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RegisterAccessFederation Register a federation target

Registers a peer instance as a target of Access federation. From then on every create, update and delete of the selected identity entities on this instance is queued in the peer outbox and delivered to the target in order, with retries, over the peer protocol (decision 0021); changes made on the target are not sent back unless the target also registers this instance. Registration requires an existing pairing with the peer. A full broadcast runs once after registration so the target starts from this instance's current state. Administrators only.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/system/federation (the `RegisterAccessFederation` operationId).

func (*Client) RegisterAccessFederationWithBody

func (c *Client) RegisterAccessFederationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RegisterAccessFederationWithBody Register a federation target

Registers a peer instance as a target of Access federation. From then on every create, update and delete of the selected identity entities on this instance is queued in the peer outbox and delivered to the target in order, with retries, over the peer protocol (decision 0021); changes made on the target are not sent back unless the target also registers this instance. Registration requires an existing pairing with the peer. A full broadcast runs once after registration so the target starts from this instance's current state. Administrators only.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/system/federation (the `RegisterAccessFederation` operationId).

func (*Client) RenameGlobalEnvironment

func (c *Client) RenameGlobalEnvironment(ctx context.Context, environmentName EnvironmentName, body RenameGlobalEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RenameGlobalEnvironment Rename a global environment

Renames the environment and updates every repository and role that references it. The built-in DEV and PROD cannot be renamed. Admin only. Answers 200 with the environment under its new name.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/environments/{environmentName}/rename (the `RenameGlobalEnvironment` operationId).

func (*Client) RenameGlobalEnvironmentWithBody

func (c *Client) RenameGlobalEnvironmentWithBody(ctx context.Context, environmentName EnvironmentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RenameGlobalEnvironmentWithBody Rename a global environment

Renames the environment and updates every repository and role that references it. The built-in DEV and PROD cannot be renamed. Admin only. Answers 200 with the environment under its new name.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/environments/{environmentName}/rename (the `RenameGlobalEnvironment` operationId).

func (*Client) RenameProjectEnvironment

func (c *Client) RenameProjectEnvironment(ctx context.Context, projectKey ProjectKey, environmentName EnvironmentName, body RenameProjectEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RenameProjectEnvironment Rename a project environment

Renames a project environment and updates the project's repositories and roles that reference it. Requires a platform admin or an admin of the project.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/projects/{projectKey}/environments/{environmentName}/rename (the `RenameProjectEnvironment` operationId).

func (*Client) RenameProjectEnvironmentWithBody

func (c *Client) RenameProjectEnvironmentWithBody(ctx context.Context, projectKey ProjectKey, environmentName EnvironmentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RenameProjectEnvironmentWithBody Rename a project environment

Renames a project environment and updates the project's repositories and roles that reference it. Requires a platform admin or an admin of the project.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/projects/{projectKey}/environments/{environmentName}/rename (the `RenameProjectEnvironment` operationId).

func (*Client) ReplacePermissionResource

func (c *Client) ReplacePermissionResource(ctx context.Context, permissionName PermissionName, resourceType ReplacePermissionResourceParamsResourceType, body ReplacePermissionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ReplacePermissionResource Replace one resource section

Replaces the whole actions and targets section for the resource type, creating the section when the permission did not have one. Grants and targets not in the body are dropped. Requires a platform admin or a Manage Resources holder.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v2/permissions/{permissionName}/{resourceType} (the `ReplacePermissionResource` operationId).

func (*Client) ReplacePermissionResourceWithBody

func (c *Client) ReplacePermissionResourceWithBody(ctx context.Context, permissionName PermissionName, resourceType ReplacePermissionResourceParamsResourceType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ReplacePermissionResourceWithBody Replace one resource section

Replaces the whole actions and targets section for the resource type, creating the section when the permission did not have one. Grants and targets not in the body are dropped. Requires a platform admin or a Manage Resources holder.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v2/permissions/{permissionName}/{resourceType} (the `ReplacePermissionResource` operationId).

func (*Client) RevokeTokenById

func (c *Client) RevokeTokenById(ctx context.Context, tokenId TokenId, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeTokenById Revoke a token by id

Revokes the token with this id; me revokes the caller's own token. A token is revocable on the same terms as for revocation by value; any other token answers 400. A non-admin may only revoke their own tokens. Answers 200 with no body.

Corresponds with DELETE /api/v1/tokens/{tokenId} (the `RevokeTokenById` operationId).

func (*Client) RevokeTokenByValue

func (c *Client) RevokeTokenByValue(ctx context.Context, body RevokeTokenByValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeTokenByValue Revoke a token by its value

Revokes the token whose JWT or reference token is given in the body and returns its id. A token is revocable when it never expires, its lifetime is at least the revocable threshold (21600 seconds), or it was created with force_revocable or refreshable; any other token answers 404, as an unknown one does. Admin only.

Takes a body of the `application/json` content type.

Corresponds with DELETE /api/v1/tokens/revoke (the `RevokeTokenByValue` operationId).

func (*Client) RevokeTokenByValueWithBody

func (c *Client) RevokeTokenByValueWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeTokenByValueWithBody Revoke a token by its value

Revokes the token whose JWT or reference token is given in the body and returns its id. A token is revocable when it never expires, its lifetime is at least the revocable threshold (21600 seconds), or it was created with force_revocable or refreshable; any other token answers 404, as an unknown one does. Admin only.

Takes any type of body and a specified content type.

Corresponds with DELETE /api/v1/tokens/revoke (the `RevokeTokenByValue` operationId).

func (*Client) SearchLdapGroups

func (c *Client) SearchLdapGroups(ctx context.Context, params *SearchLdapGroupsParams, body SearchLdapGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SearchLdapGroups Search LDAP groups

Runs the group search described by the body against its LDAP connection and returns the groups found, each with its distinguished name and local status. With username, returns only that user's groups. Nothing is stored. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/ldap/groups/search (the `SearchLdapGroups` operationId).

func (*Client) SearchLdapGroupsWithBody

func (c *Client) SearchLdapGroupsWithBody(ctx context.Context, params *SearchLdapGroupsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SearchLdapGroupsWithBody Search LDAP groups

Runs the group search described by the body against its LDAP connection and returns the groups found, each with its distinguished name and local status. With username, returns only that user's groups. Nothing is stored. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/ldap/groups/search (the `SearchLdapGroups` operationId).

func (*Client) SetBasicAuthenticationStatus

func (c *Client) SetBasicAuthenticationStatus(ctx context.Context, body SetBasicAuthenticationStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetBasicAuthenticationStatus Set the basic authentication switch

Turns acceptance of usernames and passwords over HTTP Basic on or off for the whole instance, from the next request on. Returns 200 with no body. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/config/security/authentication/basic_authentication_enabled (the `SetBasicAuthenticationStatus` operationId).

func (*Client) SetBasicAuthenticationStatusWithBody

func (c *Client) SetBasicAuthenticationStatusWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetBasicAuthenticationStatusWithBody Set the basic authentication switch

Turns acceptance of usernames and passwords over HTTP Basic on or off for the whole instance, from the next request on. Returns 200 with no body. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/config/security/authentication/basic_authentication_enabled (the `SetBasicAuthenticationStatus` operationId).

func (*Client) SetTokenDefaultExpiry

func (c *Client) SetTokenDefaultExpiry(ctx context.Context, body SetTokenDefaultExpiryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetTokenDefaultExpiry Set the default token lifetime

Changes the lifetime given to access tokens created without expires_in. Tokens already issued keep their expiry. Returns 200 with no body. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/config/token/default_expiry (the `SetTokenDefaultExpiry` operationId).

func (*Client) SetTokenDefaultExpiryWithBody

func (c *Client) SetTokenDefaultExpiryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetTokenDefaultExpiryWithBody Set the default token lifetime

Changes the lifetime given to access tokens created without expires_in. Tokens already issued keep their expiry. Returns 200 with no body. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/config/token/default_expiry (the `SetTokenDefaultExpiry` operationId).

func (*Client) SetVaultConfiguration

func (c *Client) SetVaultConfiguration(ctx context.Context, vaultKey string, body SetVaultConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetVaultConfiguration Create or replace a Vault connection

Stores the connection under vault_key, replacing any connection with that key, and returns it without secrets. Vault must be reached over TLS. A body that is not application/json answers 415. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/vault/configs/{vault_key} (the `SetVaultConfiguration` operationId).

func (*Client) SetVaultConfigurationWithBody

func (c *Client) SetVaultConfigurationWithBody(ctx context.Context, vaultKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetVaultConfigurationWithBody Create or replace a Vault connection

Stores the connection under vault_key, replacing any connection with that key, and returns it without secrets. Vault must be reached over TLS. A body that is not application/json answers 415. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/vault/configs/{vault_key} (the `SetVaultConfiguration` operationId).

func (*Client) ShareRepositoryWithAllProjects

func (c *Client) ShareRepositoryWithAllProjects(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ShareRepositoryWithAllProjects Share a repository with every project

Lets members of every project use the local or remote repository according to their roles in their own project. The owning project is unchanged. Requires a platform admin.

Corresponds with PUT /api/v1/projects/_/share/repositories/{repoName} (the `ShareRepositoryWithAllProjects` operationId).

func (*Client) ShareRepositoryWithTargetProject

func (c *Client) ShareRepositoryWithTargetProject(ctx context.Context, repoName string, targetProjectKey string, params *ShareRepositoryWithTargetProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ShareRepositoryWithTargetProject Share a repository with one project

Lets members of the target project use the local or remote repository according to their roles there, read-only when readOnly is true. Requires a platform admin.

Corresponds with PUT /api/v1/projects/_/share/repositories/{repoName}/{targetProjectKey} (the `ShareRepositoryWithTargetProject` operationId).

func (*Client) TestLdapConnection

func (c *Client) TestLdapConnection(ctx context.Context, body TestLdapConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

TestLdapConnection Test an LDAP connection

Binds to the server described by the body, without storing anything, and answers 204 when the bind and any configured search succeed. A failing test answers 400 with the server's error. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/ldap/settings/test (the `TestLdapConnection` operationId).

func (*Client) TestLdapConnectionWithBody

func (c *Client) TestLdapConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

TestLdapConnectionWithBody Test an LDAP connection

Binds to the server described by the body, without storing anything, and answers 204 when the bind and any configured search succeed. A failing test answers 400 with the server's error. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/ldap/settings/test (the `TestLdapConnection` operationId).

func (*Client) TestVaultConfiguration

func (c *Client) TestVaultConfiguration(ctx context.Context, body TestVaultConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

TestVaultConfiguration Test a Vault connection

Authenticates to the Vault server described by the body, without storing anything, and answers 204 on success. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/vault/configs/test (the `TestVaultConfiguration` operationId).

func (*Client) TestVaultConfigurationWithBody

func (c *Client) TestVaultConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

TestVaultConfigurationWithBody Test a Vault connection

Authenticates to the Vault server described by the body, without storing anything, and answers 204 on success. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/vault/configs/test (the `TestVaultConfiguration` operationId).

func (*Client) UnassignProjectFromRepository

func (c *Client) UnassignProjectFromRepository(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

UnassignProjectFromRepository Unassign a repository from its project

Removes the repository from the project that owns it. Sharing with other projects is kept. The repository's projectKey is cleared synchronously. Requires a platform admin.

Corresponds with DELETE /api/v1/projects/_/attach/repositories/{repoName} (the `UnassignProjectFromRepository` operationId).

func (*Client) UnexpirePasswordForAllUsers

func (c *Client) UnexpirePasswordForAllUsers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

UnexpirePasswordForAllUsers Clear the expired flag on every password

Reverses expire_password_for_all_users: every internal password becomes valid again without the user changing it. Admin only. Responds with a plain text confirmation.

Corresponds with POST /api/v2/users/unexpire_password_for_all_users (the `UnexpirePasswordForAllUsers` operationId).

func (*Client) UnlockUser

func (c *Client) UnlockUser(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*http.Response, error)

UnlockUser Unlock a user

Clears the lock that the user lock policy applied after too many failed logins and resets the failure counter. Unlocking an unlocked user succeeds. Admin only. Answers 204 with no body.

Corresponds with POST /api/v2/users/{username}/unlock (the `UnlockUser` operationId).

func (*Client) UnshareRepositoryWithAllProjects

func (c *Client) UnshareRepositoryWithAllProjects(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

UnshareRepositoryWithAllProjects Stop sharing a repository with every project

Removes the share-with-all setting. Shares with individual projects remain. Requires a platform admin.

Corresponds with DELETE /api/v1/projects/_/share/repositories/{repoName} (the `UnshareRepositoryWithAllProjects` operationId).

func (*Client) UnshareRepositoryWithTargetProject

func (c *Client) UnshareRepositoryWithTargetProject(ctx context.Context, repoName string, targetProjectKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

UnshareRepositoryWithTargetProject Stop sharing a repository with one project

Removes the share with the target project. Requires a platform admin.

Corresponds with DELETE /api/v1/projects/_/share/repositories/{repoName}/{targetProjectKey} (the `UnshareRepositoryWithTargetProject` operationId).

func (*Client) UpdateAccessFederation

func (c *Client) UpdateAccessFederation(ctx context.Context, serverName string, body UpdateAccessFederationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateAccessFederation Update a federation target

Changes the replicated entity types, the filters or the active flag of a target. Fields that are omitted keep their values; name and url are immutable. Narrowing the entities or filters affects future changes only; nothing already replicated is removed from the peer. Accepts plain JSON or a JSON merge patch with the same fields. Administrators only.

Takes a body of the `application/json` content type.

Corresponds with PATCH /api/v1/system/federation/{serverName} (the `UpdateAccessFederation` operationId).

func (*Client) UpdateAccessFederationWithApplicationMergePatchPlusJSONBody

func (c *Client) UpdateAccessFederationWithApplicationMergePatchPlusJSONBody(ctx context.Context, serverName string, body UpdateAccessFederationApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateAccessFederationWithApplicationMergePatchPlusJSONBody Update a federation target

Changes the replicated entity types, the filters or the active flag of a target. Fields that are omitted keep their values; name and url are immutable. Narrowing the entities or filters affects future changes only; nothing already replicated is removed from the peer. Accepts plain JSON or a JSON merge patch with the same fields. Administrators only.

Takes a body of the `application/merge-patch+json` content type.

Corresponds with PATCH /api/v1/system/federation/{serverName} (the `UpdateAccessFederation` operationId).

func (*Client) UpdateAccessFederationWithBody

func (c *Client) UpdateAccessFederationWithBody(ctx context.Context, serverName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateAccessFederationWithBody Update a federation target

Changes the replicated entity types, the filters or the active flag of a target. Fields that are omitted keep their values; name and url are immutable. Narrowing the entities or filters affects future changes only; nothing already replicated is removed from the peer. Accepts plain JSON or a JSON merge patch with the same fields. Administrators only.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/v1/system/federation/{serverName} (the `UpdateAccessFederation` operationId).

func (*Client) UpdateGlobalRole

func (c *Client) UpdateGlobalRole(ctx context.Context, role RoleName, body UpdateGlobalRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateGlobalRole Replace a global role

Replaces the description, environments and actions of a CUSTOM_GLOBAL role, or the environments and actions of a PREDEFINED one. The name in the body must equal the path name and the type must stay the same; the ADMIN role cannot be changed. Each of these answers 400. Admin only. Answers 200 with no body.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/roles/{role} (the `UpdateGlobalRole` operationId).

func (*Client) UpdateGlobalRoleWithBody

func (c *Client) UpdateGlobalRoleWithBody(ctx context.Context, role RoleName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateGlobalRoleWithBody Replace a global role

Replaces the description, environments and actions of a CUSTOM_GLOBAL role, or the environments and actions of a PREDEFINED one. The name in the body must equal the path name and the type must stay the same; the ADMIN role cannot be changed. Each of these answers 400. Admin only. Answers 200 with no body.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/roles/{role} (the `UpdateGlobalRole` operationId).

func (*Client) UpdateGroup

func (c *Client) UpdateGroup(ctx context.Context, name GroupName, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateGroup Update a group

Partial update of the group's attributes. Omitted fields keep their values. The name, realm, realm_attributes and members cannot be changed here; members go through the members sub-resource. The body may be empty, which changes nothing and returns the current group. Admin only.

Takes a body of the `application/json` content type.

Corresponds with PATCH /api/v2/groups/{name} (the `UpdateGroup` operationId).

func (*Client) UpdateGroupMembers

func (c *Client) UpdateGroupMembers(ctx context.Context, name GroupName, body UpdateGroupMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateGroupMembers Add or remove members

Applies the add list then the remove list to the group's members and returns the resulting full member list. Unknown usernames in add answer 404; names already present or already absent are ignored. Admin only.

Takes a body of the `application/json` content type.

Corresponds with PATCH /api/v2/groups/{name}/members (the `UpdateGroupMembers` operationId).

func (*Client) UpdateGroupMembersWithBody

func (c *Client) UpdateGroupMembersWithBody(ctx context.Context, name GroupName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateGroupMembersWithBody Add or remove members

Applies the add list then the remove list to the group's members and returns the resulting full member list. Unknown usernames in add answer 404; names already present or already absent are ignored. Admin only.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/v2/groups/{name}/members (the `UpdateGroupMembers` operationId).

func (*Client) UpdateGroupWithBody

func (c *Client) UpdateGroupWithBody(ctx context.Context, name GroupName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateGroupWithBody Update a group

Partial update of the group's attributes. Omitted fields keep their values. The name, realm, realm_attributes and members cannot be changed here; members go through the members sub-resource. The body may be empty, which changes nothing and returns the current group. Admin only.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/v2/groups/{name} (the `UpdateGroup` operationId).

func (*Client) UpdateLdapGroupSettings

func (c *Client) UpdateLdapGroupSettings(ctx context.Context, body UpdateLdapGroupSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateLdapGroupSettings Replace an LDAP group setting

Replaces the group setting whose name matches the body's name. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/ldap/groups (the `UpdateLdapGroupSettings` operationId).

func (*Client) UpdateLdapGroupSettingsWithBody

func (c *Client) UpdateLdapGroupSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateLdapGroupSettingsWithBody Replace an LDAP group setting

Replaces the group setting whose name matches the body's name. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/ldap/groups (the `UpdateLdapGroupSettings` operationId).

func (*Client) UpdateLdapSettings

func (c *Client) UpdateLdapSettings(ctx context.Context, body UpdateLdapSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateLdapSettings Replace an LDAP connection

Replaces the connection whose key matches the body's key. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/ldap/settings (the `UpdateLdapSettings` operationId).

func (*Client) UpdateLdapSettingsWithBody

func (c *Client) UpdateLdapSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateLdapSettingsWithBody Replace an LDAP connection

Replaces the connection whose key matches the body's key. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/ldap/settings (the `UpdateLdapSettings` operationId).

func (*Client) UpdateOidcConfiguration

func (c *Client) UpdateOidcConfiguration(ctx context.Context, name string, body UpdateOidcConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOidcConfiguration Replace an OIDC provider

Replaces the named provider's configuration with the body. The path names the provider; a name in the body must match it. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/oidc/{name} (the `UpdateOidcConfiguration` operationId).

func (*Client) UpdateOidcConfigurationWithBody

func (c *Client) UpdateOidcConfigurationWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOidcConfigurationWithBody Replace an OIDC provider

Replaces the named provider's configuration with the body. The path names the provider; a name in the body must match it. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/oidc/{name} (the `UpdateOidcConfiguration` operationId).

func (*Client) UpdateOidcIdentityMapping

func (c *Client) UpdateOidcIdentityMapping(ctx context.Context, providerName string, mappingName string, body UpdateOidcIdentityMappingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOidcIdentityMapping Replace an identity mapping

Replaces the named mapping with the body. The mapping's project, which the project roles in token_spec.scope imply, cannot change, so a scope that implies another project, none for a project's mapping or one for a global mapping is refused with 400, as is a scope that names project roles in more than one project. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `UpdateOidcIdentityMapping` operationId).

func (*Client) UpdateOidcIdentityMappingWithBody

func (c *Client) UpdateOidcIdentityMappingWithBody(ctx context.Context, providerName string, mappingName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOidcIdentityMappingWithBody Replace an identity mapping

Replaces the named mapping with the body. The mapping's project, which the project roles in token_spec.scope imply, cannot change, so a scope that implies another project, none for a project's mapping or one for a global mapping is refused with 400, as is a scope that names project roles in more than one project. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `UpdateOidcIdentityMapping` operationId).

func (*Client) UpdatePasswordPolicy

func (c *Client) UpdatePasswordPolicy(ctx context.Context, body UpdatePasswordPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdatePasswordPolicy Update the password policy

Merges the supplied fields into the password policy; omitted fields keep their current values. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with PATCH /api/v1/config/security/password_policy (the `UpdatePasswordPolicy` operationId).

func (*Client) UpdatePasswordPolicyWithBody

func (c *Client) UpdatePasswordPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdatePasswordPolicyWithBody Update the password policy

Merges the supplied fields into the password policy; omitted fields keep their current values. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/v1/config/security/password_policy (the `UpdatePasswordPolicy` operationId).

func (*Client) UpdatePermissionResource

func (c *Client) UpdatePermissionResource(ctx context.Context, permissionName PermissionName, resourceType UpdatePermissionResourceParamsResourceType, body UpdatePermissionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdatePermissionResource Merge into one resource section

Merges the body into the existing section: principals and targets present in the body replace their stored counterparts, others stay. To remove a principal or target use PUT with the full section. Requires a platform admin or a Manage Resources holder.

Takes a body of the `application/json` content type.

Corresponds with PATCH /api/v2/permissions/{permissionName}/{resourceType} (the `UpdatePermissionResource` operationId).

func (*Client) UpdatePermissionResourceWithBody

func (c *Client) UpdatePermissionResourceWithBody(ctx context.Context, permissionName PermissionName, resourceType UpdatePermissionResourceParamsResourceType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdatePermissionResourceWithBody Merge into one resource section

Merges the body into the existing section: principals and targets present in the body replace their stored counterparts, others stay. To remove a principal or target use PUT with the full section. Requires a platform admin or a Manage Resources holder.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/v2/permissions/{permissionName}/{resourceType} (the `UpdatePermissionResource` operationId).

func (*Client) UpdateProject

func (c *Client) UpdateProject(ctx context.Context, projectKey string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateProject Update a project

Changes the project's display name, description, quota and admin privileges. The key cannot change. Lowering the quota below current usage is accepted and blocks further deployments until usage drops (unless soft_limit is true). Requires a platform admin.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/projects/{projectKey} (the `UpdateProject` operationId).

func (*Client) UpdateProjectGroup

func (c *Client) UpdateProjectGroup(ctx context.Context, projectKey string, group string, body UpdateProjectGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateProjectGroup Add a group to a project or set its roles

Adds the group to the project with the given roles, or replaces the roles of a member group. The group must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/projects/{projectKey}/groups/{group} (the `UpdateProjectGroup` operationId).

func (*Client) UpdateProjectGroupWithBody

func (c *Client) UpdateProjectGroupWithBody(ctx context.Context, projectKey string, group string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateProjectGroupWithBody Add a group to a project or set its roles

Adds the group to the project with the given roles, or replaces the roles of a member group. The group must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/projects/{projectKey}/groups/{group} (the `UpdateProjectGroup` operationId).

func (*Client) UpdateProjectRole

func (c *Client) UpdateProjectRole(ctx context.Context, projectKey string, role string, body UpdateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateProjectRole Replace a custom project role

Replaces the role's description, environments and actions. Only CUSTOM roles can be changed; members holding the role get the new actions at once. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/projects/{projectKey}/roles/{role} (the `UpdateProjectRole` operationId).

func (*Client) UpdateProjectRoleWithBody

func (c *Client) UpdateProjectRoleWithBody(ctx context.Context, projectKey string, role string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateProjectRoleWithBody Replace a custom project role

Replaces the role's description, environments and actions. Only CUSTOM roles can be changed; members holding the role get the new actions at once. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/projects/{projectKey}/roles/{role} (the `UpdateProjectRole` operationId).

func (*Client) UpdateProjectWithBody

func (c *Client) UpdateProjectWithBody(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateProjectWithBody Update a project

Changes the project's display name, description, quota and admin privileges. The key cannot change. Lowering the quota below current usage is accepted and blocks further deployments until usage drops (unless soft_limit is true). Requires a platform admin.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/projects/{projectKey} (the `UpdateProject` operationId).

func (*Client) UpdateSamlGeneralSettings

func (c *Client) UpdateSamlGeneralSettings(ctx context.Context, body UpdateSamlGeneralSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateSamlGeneralSettings Set the SAML switch (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/saml/general_settings (the `UpdateSamlGeneralSettings` operationId).

func (*Client) UpdateSamlGeneralSettingsWithBody

func (c *Client) UpdateSamlGeneralSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateSamlGeneralSettingsWithBody Set the SAML switch (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/saml/general_settings (the `UpdateSamlGeneralSettings` operationId).

func (*Client) UpdateSamlSetting

func (c *Client) UpdateSamlSetting(ctx context.Context, name string, body UpdateSamlSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateSamlSetting Replace a SAML setting (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/saml/{name} (the `UpdateSamlSetting` operationId).

func (*Client) UpdateSamlSettingWithBody

func (c *Client) UpdateSamlSettingWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateSamlSettingWithBody Replace a SAML setting (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/saml/{name} (the `UpdateSamlSetting` operationId).

func (*Client) UpdateScimGroupWithApplicationScimPlusJSONBody

func (c *Client) UpdateScimGroupWithApplicationScimPlusJSONBody(ctx context.Context, groupName string, body UpdateScimGroupApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateScimGroupWithApplicationScimPlusJSONBody Replace a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/scim+json` content type.

Corresponds with PUT /api/v1/scim/v2/Groups/{groupName} (the `UpdateScimGroup` operationId).

func (*Client) UpdateScimGroupWithBody

func (c *Client) UpdateScimGroupWithBody(ctx context.Context, groupName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateScimGroupWithBody Replace a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/scim/v2/Groups/{groupName} (the `UpdateScimGroup` operationId).

func (*Client) UpdateScimUserWithApplicationScimPlusJSONBody

func (c *Client) UpdateScimUserWithApplicationScimPlusJSONBody(ctx context.Context, username string, body UpdateScimUserApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateScimUserWithApplicationScimPlusJSONBody Replace a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/scim+json` content type.

Corresponds with PUT /api/v1/scim/v2/Users/{username} (the `UpdateScimUser` operationId).

func (*Client) UpdateScimUserWithBody

func (c *Client) UpdateScimUserWithBody(ctx context.Context, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateScimUserWithBody Replace a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/scim/v2/Users/{username} (the `UpdateScimUser` operationId).

func (*Client) UpdateUser

func (c *Client) UpdateUser(ctx context.Context, username Username, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateUser Update a user

Partial update: only the fields present in the body change, omitted fields keep their stored values, and the username cannot be changed. Group membership is not updated here; use the groups sub-resource. Setting internal_password_disabled to false on a user that has no password requires a password in the same request. Admin only.

Takes a body of the `application/json` content type.

Corresponds with PATCH /api/v2/users/{username} (the `UpdateUser` operationId).

func (*Client) UpdateUserGroups

func (c *Client) UpdateUserGroups(ctx context.Context, username Username, body UpdateUserGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateUserGroups Add or remove group memberships

Applies the add list then the remove list to the user's memberships and returns the resulting full membership. Names that are already present (add) or already absent (remove) are ignored; a name in both lists ends up removed. Admin only.

Takes a body of the `application/json` content type.

Corresponds with PATCH /api/v2/users/{username}/groups (the `UpdateUserGroups` operationId).

func (*Client) UpdateUserGroupsWithBody

func (c *Client) UpdateUserGroupsWithBody(ctx context.Context, username Username, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateUserGroupsWithBody Add or remove group memberships

Applies the add list then the remove list to the user's memberships and returns the resulting full membership. Names that are already present (add) or already absent (remove) are ignored; a name in both lists ends up removed. Admin only.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/v2/users/{username}/groups (the `UpdateUserGroups` operationId).

func (*Client) UpdateUserWithBody

func (c *Client) UpdateUserWithBody(ctx context.Context, username Username, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateUserWithBody Update a user

Partial update: only the fields present in the body change, omitted fields keep their stored values, and the username cannot be changed. Group membership is not updated here; use the groups sub-resource. Setting internal_password_disabled to false on a user that has no password requires a password in the same request. Admin only.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/v2/users/{username} (the `UpdateUser` operationId).

func (*Client) UpsertCrowdConfiguration

func (c *Client) UpsertCrowdConfiguration(ctx context.Context, body UpsertCrowdConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpsertCrowdConfiguration Set the Crowd configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/crowd (the `UpsertCrowdConfiguration` operationId).

func (*Client) UpsertCrowdConfigurationWithBody

func (c *Client) UpsertCrowdConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpsertCrowdConfigurationWithBody Set the Crowd configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/crowd (the `UpsertCrowdConfiguration` operationId).

func (*Client) UpsertHttpSsoConfiguration

func (c *Client) UpsertHttpSsoConfiguration(ctx context.Context, body UpsertHttpSsoConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpsertHttpSsoConfiguration Set the HTTP single sign-on configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/httpsso (the `UpsertHttpSsoConfiguration` operationId).

func (*Client) UpsertHttpSsoConfigurationWithBody

func (c *Client) UpsertHttpSsoConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpsertHttpSsoConfigurationWithBody Set the HTTP single sign-on configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/httpsso (the `UpsertHttpSsoConfiguration` operationId).

func (*Client) ValidateFederationTarget

func (c *Client) ValidateFederationTarget(ctx context.Context, body ValidateFederationTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ValidateFederationTarget Validate a candidate federation target

Checks, without registering anything, that the peer at url is reachable, is an instance of this server speaking a compatible peer protocol version, and trusts this instance through an existing pairing. Use it before registration to get a precise error. Administrators only.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/system/federation/validate_server (the `ValidateFederationTarget` operationId).

func (*Client) ValidateFederationTargetWithBody

func (c *Client) ValidateFederationTargetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ValidateFederationTargetWithBody Validate a candidate federation target

Checks, without registering anything, that the peer at url is reachable, is an instance of this server speaking a compatible peer protocol version, and trusts this instance through an existing pairing. Use it before registration to get a precise error. Administrators only.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/system/federation/validate_server (the `ValidateFederationTarget` operationId).

type ClientInterface

type ClientInterface interface {

	// PutAwsIamRoleWithBody Assign an AWS IAM role (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/aws/iam_role (the `PutAwsIamRole` operationId).
	PutAwsIamRoleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutAwsIamRole Assign an AWS IAM role (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/aws/iam_role (the `PutAwsIamRole` operationId).
	PutAwsIamRole(ctx context.Context, body PutAwsIamRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAwsIamRole Remove a user's AWS IAM role (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with DELETE /api/v1/aws/iam_role/{username} (the `DeleteAwsIamRole` operationId).
	DeleteAwsIamRole(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAwsIamRole Get a user's AWS IAM role (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with GET /api/v1/aws/iam_role/{username} (the `GetAwsIamRole` operationId).
	GetAwsIamRole(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCaCertificate Get the CA certificate
	//
	// Returns, as PEM text, the public certificate of the authority that signs the instance's internal service certificates. The server generates the authority on first start and keeps its key sealed (decision 0017). Requires a platform admin.
	//
	// Corresponds with GET /api/v1/cert/ca (the `GetCaCertificate` operationId).
	GetCaCertificate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRootCertificate Get the root certificate
	//
	// Returns the certificate whose key signs the instance's access tokens, so that other services can verify them. By default the body is the base64 certificate on one line; with formatted=true it is a PEM block with header, footer and line breaks. Any authenticated caller may read it.
	//
	// Corresponds with GET /api/v1/cert/root (the `GetRootCertificate` operationId).
	GetRootCertificate(ctx context.Context, params *GetRootCertificateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBasicAuthenticationStatus Get the basic authentication switch
	//
	// Returns whether usernames and passwords are accepted over HTTP Basic. When the switch is off, only access tokens and reference tokens authenticate (decision 0005). Requires a platform admin.
	//
	// Corresponds with GET /api/v1/config/security/authentication/basic_authentication_enabled (the `GetBasicAuthenticationStatus` operationId).
	GetBasicAuthenticationStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetBasicAuthenticationStatusWithBody Set the basic authentication switch
	//
	// Turns acceptance of usernames and passwords over HTTP Basic on or off for the whole instance, from the next request on. Returns 200 with no body. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/config/security/authentication/basic_authentication_enabled (the `SetBasicAuthenticationStatus` operationId).
	SetBasicAuthenticationStatusWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetBasicAuthenticationStatus Set the basic authentication switch
	//
	// Turns acceptance of usernames and passwords over HTTP Basic on or off for the whole instance, from the next request on. Returns 200 with no body. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/config/security/authentication/basic_authentication_enabled (the `SetBasicAuthenticationStatus` operationId).
	SetBasicAuthenticationStatus(ctx context.Context, body SetBasicAuthenticationStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePasswordPolicyWithBody Update the password policy
	//
	// Merges the supplied fields into the password policy; omitted fields keep their current values. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/v1/config/security/password_policy (the `UpdatePasswordPolicy` operationId).
	UpdatePasswordPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePasswordPolicy Update the password policy
	//
	// Merges the supplied fields into the password policy; omitted fields keep their current values. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /api/v1/config/security/password_policy (the `UpdatePasswordPolicy` operationId).
	UpdatePasswordPolicy(ctx context.Context, body UpdatePasswordPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePasswordPolicyWithBody Replace the password policy
	//
	// Replaces the whole password policy that internal users' passwords must satisfy. Every field not supplied returns to its default, so an empty object resets the policy. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/config/security/password_policy (the `CreatePasswordPolicy` operationId).
	CreatePasswordPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePasswordPolicy Replace the password policy
	//
	// Replaces the whole password policy that internal users' passwords must satisfy. Every field not supplied returns to its default, so an empty object resets the policy. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/config/security/password_policy (the `CreatePasswordPolicy` operationId).
	CreatePasswordPolicy(ctx context.Context, body CreatePasswordPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAccessUserLockPolicy Get the user lock policy
	//
	// Returns the user lock policy. A setting never changed reports its default. Reads the same state as GET /artifactory/api/security/userLockPolicy and GET /artifactory/api/security/configuration/passwordExpirationPolicy. Requires a platform admin.
	//
	// Corresponds with GET /api/v1/config/security/user_lock_policy (the `GetAccessUserLockPolicy` operationId).
	GetAccessUserLockPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConfigureAccessUserLockPolicyWithBody Replace the user lock policy
	//
	// Replaces the user lock policy and returns what was stored. Send every field; an omitted field is stored as 0 or false, not as its default. To change one setting, read the policy and send it back with that field changed. Setting attempts to 0 unlocks every locked user. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/config/security/user_lock_policy (the `ConfigureAccessUserLockPolicy` operationId).
	ConfigureAccessUserLockPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConfigureAccessUserLockPolicy Replace the user lock policy
	//
	// Replaces the user lock policy and returns what was stored. Send every field; an omitted field is stored as 0 or false, not as its default. To change one setting, read the policy and send it back with that field changed. Setting attempts to 0 unlocks every locked user. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/config/security/user_lock_policy (the `ConfigureAccessUserLockPolicy` operationId).
	ConfigureAccessUserLockPolicy(ctx context.Context, body ConfigureAccessUserLockPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTokenDefaultExpiry Get the default token lifetime
	//
	// Returns the lifetime, in seconds, that POST /api/v1/tokens gives to tokens created without expires_in. Requires a platform admin.
	//
	// Corresponds with GET /api/v1/config/token/default_expiry (the `GetTokenDefaultExpiry` operationId).
	GetTokenDefaultExpiry(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetTokenDefaultExpiryWithBody Set the default token lifetime
	//
	// Changes the lifetime given to access tokens created without expires_in. Tokens already issued keep their expiry. Returns 200 with no body. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/config/token/default_expiry (the `SetTokenDefaultExpiry` operationId).
	SetTokenDefaultExpiryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetTokenDefaultExpiry Set the default token lifetime
	//
	// Changes the lifetime given to access tokens created without expires_in. Tokens already issued keep their expiry. Returns 200 with no body. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/config/token/default_expiry (the `SetTokenDefaultExpiry` operationId).
	SetTokenDefaultExpiry(ctx context.Context, body SetTokenDefaultExpiryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCrowdConfiguration Get the Crowd configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with GET /api/v1/crowd (the `GetCrowdConfiguration` operationId).
	GetCrowdConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpsertCrowdConfigurationWithBody Set the Crowd configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/crowd (the `UpsertCrowdConfiguration` operationId).
	UpsertCrowdConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpsertCrowdConfiguration Set the Crowd configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/crowd (the `UpsertCrowdConfiguration` operationId).
	UpsertCrowdConfiguration(ctx context.Context, body UpsertCrowdConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGlobalEnvironments List global environments
	//
	// Returns every global environment, including the built-in DEV and PROD. Every repository belongs to exactly one environment (DEV by default). Admin only.
	//
	// Corresponds with GET /api/v1/environments (the `GetGlobalEnvironments` operationId).
	GetGlobalEnvironments(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGlobalEnvironmentWithBody Create a global environment
	//
	// Creates an environment and returns it with status 201. Names are case-insensitive and at most 32 characters; a name that differs from an existing one only by case answers 409. At most 10 global environments may exist by default, DEV and PROD among them; once that many exist, another answers 400. Admin only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/environments (the `CreateGlobalEnvironment` operationId).
	CreateGlobalEnvironmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGlobalEnvironment Create a global environment
	//
	// Creates an environment and returns it with status 201. Names are case-insensitive and at most 32 characters; a name that differs from an existing one only by case answers 409. At most 10 global environments may exist by default, DEV and PROD among them; once that many exist, another answers 400. Admin only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/environments (the `CreateGlobalEnvironment` operationId).
	CreateGlobalEnvironment(ctx context.Context, body CreateGlobalEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteGlobalEnvironment Delete a global environment
	//
	// Removes an environment. DEV and PROD cannot be deleted, nor can an environment that repositories or global roles still name; both answer 400. Admin only. Answers 204 with no body.
	//
	// Corresponds with DELETE /api/v1/environments/{environmentName} (the `DeleteGlobalEnvironment` operationId).
	DeleteGlobalEnvironment(ctx context.Context, environmentName EnvironmentName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RenameGlobalEnvironmentWithBody Rename a global environment
	//
	// Renames the environment and updates every repository and role that references it. The built-in DEV and PROD cannot be renamed. Admin only. Answers 200 with the environment under its new name.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/environments/{environmentName}/rename (the `RenameGlobalEnvironment` operationId).
	RenameGlobalEnvironmentWithBody(ctx context.Context, environmentName EnvironmentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RenameGlobalEnvironment Rename a global environment
	//
	// Renames the environment and updates every repository and role that references it. The built-in DEV and PROD cannot be renamed. Admin only. Answers 200 with the environment under its new name.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/environments/{environmentName}/rename (the `RenameGlobalEnvironment` operationId).
	RenameGlobalEnvironment(ctx context.Context, environmentName EnvironmentName, body RenameGlobalEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHttpSsoConfiguration Get the HTTP single sign-on configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with GET /api/v1/httpsso (the `GetHttpSsoConfiguration` operationId).
	GetHttpSsoConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpsertHttpSsoConfigurationWithBody Set the HTTP single sign-on configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/httpsso (the `UpsertHttpSsoConfiguration` operationId).
	UpsertHttpSsoConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpsertHttpSsoConfiguration Set the HTTP single sign-on configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/httpsso (the `UpsertHttpSsoConfiguration` operationId).
	UpsertHttpSsoConfiguration(ctx context.Context, body UpsertHttpSsoConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllLdapGroupSettings List LDAP group settings
	//
	// Returns every LDAP group synchronisation setting. Requires a platform admin.
	//
	// Corresponds with GET /api/v1/ldap/groups (the `GetAllLdapGroupSettings` operationId).
	GetAllLdapGroupSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateLdapGroupSettingsWithBody Create an LDAP group setting
	//
	// Defines how groups are read from the LDAP connection named in enabled_ldap and mapped to local groups. Answers 201 with the stored setting. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/ldap/groups (the `CreateLdapGroupSettings` operationId).
	CreateLdapGroupSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateLdapGroupSettings Create an LDAP group setting
	//
	// Defines how groups are read from the LDAP connection named in enabled_ldap and mapped to local groups. Answers 201 with the stored setting. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/ldap/groups (the `CreateLdapGroupSettings` operationId).
	CreateLdapGroupSettings(ctx context.Context, body CreateLdapGroupSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateLdapGroupSettingsWithBody Replace an LDAP group setting
	//
	// Replaces the group setting whose name matches the body's name. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/ldap/groups (the `UpdateLdapGroupSettings` operationId).
	UpdateLdapGroupSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateLdapGroupSettings Replace an LDAP group setting
	//
	// Replaces the group setting whose name matches the body's name. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/ldap/groups (the `UpdateLdapGroupSettings` operationId).
	UpdateLdapGroupSettings(ctx context.Context, body UpdateLdapGroupSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ImportLdapGroupsWithBody Import LDAP groups
	//
	// Creates local groups, or updates existing ones, for the listed LDAP groups through the given group setting, so that permissions can be granted to them. Returns 204. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/ldap/groups/import (the `ImportLdapGroups` operationId).
	ImportLdapGroupsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ImportLdapGroups Import LDAP groups
	//
	// Creates local groups, or updates existing ones, for the listed LDAP groups through the given group setting, so that permissions can be granted to them. Returns 204. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/ldap/groups/import (the `ImportLdapGroups` operationId).
	ImportLdapGroups(ctx context.Context, body ImportLdapGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchLdapGroupsWithBody Search LDAP groups
	//
	// Runs the group search described by the body against its LDAP connection and returns the groups found, each with its distinguished name and local status. With username, returns only that user's groups. Nothing is stored. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/ldap/groups/search (the `SearchLdapGroups` operationId).
	SearchLdapGroupsWithBody(ctx context.Context, params *SearchLdapGroupsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchLdapGroups Search LDAP groups
	//
	// Runs the group search described by the body against its LDAP connection and returns the groups found, each with its distinguished name and local status. With username, returns only that user's groups. Nothing is stored. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/ldap/groups/search (the `SearchLdapGroups` operationId).
	SearchLdapGroups(ctx context.Context, params *SearchLdapGroupsParams, body SearchLdapGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLdapGroupMappingStrategy Get a group mapping strategy
	//
	// Returns the default filter and attribute names of one group mapping strategy, as a starting point for a new group setting. Requires a platform admin.
	//
	// Corresponds with GET /api/v1/ldap/groups/strategy (the `GetLdapGroupMappingStrategy` operationId).
	GetLdapGroupMappingStrategy(ctx context.Context, params *GetLdapGroupMappingStrategyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteLdapGroupSettings Delete an LDAP group setting
	//
	// Removes the group setting. Groups already imported through it remain as local groups. Returns 204. Requires a platform admin.
	//
	// Corresponds with DELETE /api/v1/ldap/groups/{name} (the `DeleteLdapGroupSettings` operationId).
	DeleteLdapGroupSettings(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLdapGroupSettingsByName Get an LDAP group setting
	//
	// Returns one LDAP group setting. Requires a platform admin.
	//
	// Corresponds with GET /api/v1/ldap/groups/{name} (the `GetLdapGroupSettingsByName` operationId).
	GetLdapGroupSettingsByName(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RefreshLdapGroupSettings Refresh LDAP groups
	//
	// Re-reads the LDAP groups of the named setting. operation chooses whether to update the memberships of groups already imported, import the groups not yet present, or both. With username, only that user's memberships are refreshed. Returns a plain-text summary that includes the number of groups imported. Requires a platform admin.
	//
	// Corresponds with POST /api/v1/ldap/groups/{name}/refresh (the `RefreshLdapGroupSettings` operationId).
	RefreshLdapGroupSettings(ctx context.Context, name string, params *RefreshLdapGroupSettingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllLdapSettings List LDAP connections
	//
	// Returns every LDAP server connection that logins are checked against. Manager passwords are never returned. Requires a platform admin.
	//
	// Corresponds with GET /api/v1/ldap/settings (the `GetAllLdapSettings` operationId).
	GetAllLdapSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateLdapSettingsWithBody Create an LDAP connection
	//
	// Adds an LDAP server that login attempts are checked against, in addition to internal users. Answers 201 with the stored connection. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/ldap/settings (the `CreateLdapSettings` operationId).
	CreateLdapSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateLdapSettings Create an LDAP connection
	//
	// Adds an LDAP server that login attempts are checked against, in addition to internal users. Answers 201 with the stored connection. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/ldap/settings (the `CreateLdapSettings` operationId).
	CreateLdapSettings(ctx context.Context, body CreateLdapSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateLdapSettingsWithBody Replace an LDAP connection
	//
	// Replaces the connection whose key matches the body's key. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/ldap/settings (the `UpdateLdapSettings` operationId).
	UpdateLdapSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateLdapSettings Replace an LDAP connection
	//
	// Replaces the connection whose key matches the body's key. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/ldap/settings (the `UpdateLdapSettings` operationId).
	UpdateLdapSettings(ctx context.Context, body UpdateLdapSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TestLdapConnectionWithBody Test an LDAP connection
	//
	// Binds to the server described by the body, without storing anything, and answers 204 when the bind and any configured search succeed. A failing test answers 400 with the server's error. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/ldap/settings/test (the `TestLdapConnection` operationId).
	TestLdapConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TestLdapConnection Test an LDAP connection
	//
	// Binds to the server described by the body, without storing anything, and answers 204 when the bind and any configured search succeed. A failing test answers 400 with the server's error. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/ldap/settings/test (the `TestLdapConnection` operationId).
	TestLdapConnection(ctx context.Context, body TestLdapConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteLdapSettings Delete an LDAP connection
	//
	// Removes the connection. Users created through it keep their local accounts but can no longer log in through it, and group settings that name it in enabled_ldap stop synchronising. Returns 204. Requires a platform admin.
	//
	// Corresponds with DELETE /api/v1/ldap/settings/{key} (the `DeleteLdapSettings` operationId).
	DeleteLdapSettings(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLdapSettingsByKey Get an LDAP connection
	//
	// Returns one LDAP connection without its manager password. Requires a platform admin.
	//
	// Corresponds with GET /api/v1/ldap/settings/{key} (the `GetLdapSettingsByKey` operationId).
	GetLdapSettingsByKey(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EnableCloudLogCollectionWithBody Switch cloud log collection (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/logshipping/config (the `EnableCloudLogCollection` operationId).
	EnableCloudLogCollectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EnableCloudLogCollection Switch cloud log collection (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/logshipping/config (the `EnableCloudLogCollection` operationId).
	EnableCloudLogCollection(ctx context.Context, body EnableCloudLogCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllOidcConfigurations List OIDC providers
	//
	// Returns every OpenID Connect provider whose ID tokens the token exchange (POST /api/v1/oidc/token) trusts. Requires a platform admin.
	//
	// Corresponds with GET /api/v1/oidc (the `GetAllOidcConfigurations` operationId).
	GetAllOidcConfigurations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOidcConfigurationWithBody Create an OIDC provider
	//
	// Registers an external identity provider, typically a CI system, whose signed ID tokens may be exchanged for access tokens. Answers 200 with the stored configuration. A duplicate name or a GitHub provider type without organization is rejected with 400. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/oidc (the `CreateOidcConfiguration` operationId).
	CreateOidcConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOidcConfiguration Create an OIDC provider
	//
	// Registers an external identity provider, typically a CI system, whose signed ID tokens may be exchanged for access tokens. Answers 200 with the stored configuration. A duplicate name or a GitHub provider type without organization is rejected with 400. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/oidc (the `CreateOidcConfiguration` operationId).
	CreateOidcConfiguration(ctx context.Context, body CreateOidcConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OidcTokenExchangeWithBody Exchange an ID token for an access token
	//
	// Implements the OAuth 2.0 token exchange of RFC 8693 for CI workload identity. The caller presents an ID token signed by a registered provider; the server verifies its signature, issuer and audience, tries the provider's identity mappings in priority order, and issues an access token shaped by the token_spec of the first mapping whose claims all match. Needs no authentication: the subject token is the credential. Answers 400 when the request is malformed, when no mapping matches, or when the matching mapping's patterns do not accept the token's claims, and 401 when the subject token does not verify.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/oidc/token (the `OidcTokenExchange` operationId).
	OidcTokenExchangeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OidcTokenExchange Exchange an ID token for an access token
	//
	// Implements the OAuth 2.0 token exchange of RFC 8693 for CI workload identity. The caller presents an ID token signed by a registered provider; the server verifies its signature, issuer and audience, tries the provider's identity mappings in priority order, and issues an access token shaped by the token_spec of the first mapping whose claims all match. Needs no authentication: the subject token is the credential. Answers 400 when the request is malformed, when no mapping matches, or when the matching mapping's patterns do not accept the token's claims, and 401 when the subject token does not verify.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/oidc/token (the `OidcTokenExchange` operationId).
	OidcTokenExchange(ctx context.Context, body OidcTokenExchangeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOidcConfiguration Delete an OIDC provider
	//
	// Removes the provider and its identity mappings, so token exchanges that name it fail from then on. Tokens already issued through it stay valid until they expire or are revoked. Returns 204. Requires a platform admin.
	//
	// Corresponds with DELETE /api/v1/oidc/{name} (the `DeleteOidcConfiguration` operationId).
	DeleteOidcConfiguration(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOidcConfiguration Get an OIDC provider
	//
	// Returns one provider configuration. Requires a platform admin.
	//
	// Corresponds with GET /api/v1/oidc/{name} (the `GetOidcConfiguration` operationId).
	GetOidcConfiguration(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOidcConfigurationWithBody Replace an OIDC provider
	//
	// Replaces the named provider's configuration with the body. The path names the provider; a name in the body must match it. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/oidc/{name} (the `UpdateOidcConfiguration` operationId).
	UpdateOidcConfigurationWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOidcConfiguration Replace an OIDC provider
	//
	// Replaces the named provider's configuration with the body. The path names the provider; a name in the body must match it. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/oidc/{name} (the `UpdateOidcConfiguration` operationId).
	UpdateOidcConfiguration(ctx context.Context, name string, body UpdateOidcConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOidcIdentityMappings List identity mappings
	//
	// Returns the identity mappings of one provider, optionally only those of one project. Requires a platform admin.
	//
	// Corresponds with GET /api/v1/oidc/{provider_name}/identity_mappings (the `GetOidcIdentityMappings` operationId).
	GetOidcIdentityMappings(ctx context.Context, providerName string, params *GetOidcIdentityMappingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOidcIdentityMappingWithBody Create an identity mapping
	//
	// Adds a rule to a provider: when a presented ID token carries every claim in claims, the exchange issues a token described by token_spec. Answers 200 with the stored mapping, including the project_key derived from its scope. A scope that names project roles in more than one project is refused with 400. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/oidc/{provider_name}/identity_mappings (the `CreateOidcIdentityMapping` operationId).
	CreateOidcIdentityMappingWithBody(ctx context.Context, providerName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOidcIdentityMapping Create an identity mapping
	//
	// Adds a rule to a provider: when a presented ID token carries every claim in claims, the exchange issues a token described by token_spec. Answers 200 with the stored mapping, including the project_key derived from its scope. A scope that names project roles in more than one project is refused with 400. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/oidc/{provider_name}/identity_mappings (the `CreateOidcIdentityMapping` operationId).
	CreateOidcIdentityMapping(ctx context.Context, providerName string, body CreateOidcIdentityMappingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOidcIdentityMapping Delete an identity mapping
	//
	// Removes one identity mapping. Tokens already issued through it stay valid. Returns 204. Requires a platform admin.
	//
	// Corresponds with DELETE /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `DeleteOidcIdentityMapping` operationId).
	DeleteOidcIdentityMapping(ctx context.Context, providerName string, mappingName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOidcIdentityMappingByName Get an identity mapping
	//
	// Returns one identity mapping of a provider. Requires a platform admin.
	//
	// Corresponds with GET /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `GetOidcIdentityMappingByName` operationId).
	GetOidcIdentityMappingByName(ctx context.Context, providerName string, mappingName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOidcIdentityMappingWithBody Replace an identity mapping
	//
	// Replaces the named mapping with the body. The mapping's project, which the project roles in token_spec.scope imply, cannot change, so a scope that implies another project, none for a project's mapping or one for a global mapping is refused with 400, as is a scope that names project roles in more than one project. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `UpdateOidcIdentityMapping` operationId).
	UpdateOidcIdentityMappingWithBody(ctx context.Context, providerName string, mappingName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOidcIdentityMapping Replace an identity mapping
	//
	// Replaces the named mapping with the body. The mapping's project, which the project roles in token_spec.scope imply, cannot change, so a scope that implies another project, none for a project's mapping or one for a global mapping is refused with 400, as is a scope that names project roles in more than one project. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `UpdateOidcIdentityMapping` operationId).
	UpdateOidcIdentityMapping(ctx context.Context, providerName string, mappingName string, body UpdateOidcIdentityMappingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectsList List projects
	//
	// Returns every project for a platform admin, and only the projects they administer for a project admin.
	//
	// Corresponds with GET /api/v1/projects (the `GetProjectsList` operationId).
	GetProjectsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProjectWithBody Create a project
	//
	// Creates a project with no members, the predefined roles and no repositories. The key is immutable afterwards. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/projects (the `CreateProject` operationId).
	CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProject Create a project
	//
	// Creates a project with no members, the predefined roles and no repositories. The key is immutable afterwards. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/projects (the `CreateProject` operationId).
	CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnassignProjectFromRepository Unassign a repository from its project
	//
	// Removes the repository from the project that owns it. Sharing with other projects is kept. The repository's projectKey is cleared synchronously. Requires a platform admin.
	//
	// Corresponds with DELETE /api/v1/projects/_/attach/repositories/{repoName} (the `UnassignProjectFromRepository` operationId).
	UnassignProjectFromRepository(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AttachRepositoryToProject Assign a repository to a project
	//
	// Makes targetProjectKey the owner of the repository, moving it from its current project when force is true. The assignment is visible synchronously: when the call returns, the repository's configuration (GET /artifactory/api/repositories/{key}) already carries projectKey. The repository key is not renamed. Requires a platform admin.
	//
	// Corresponds with PUT /api/v1/projects/_/attach/repositories/{repoName}/{targetProjectKey} (the `AttachRepositoryToProject` operationId).
	AttachRepositoryToProject(ctx context.Context, repoName string, targetProjectKey string, params *AttachRepositoryToProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectRepositoryStatus Get a repository's project status
	//
	// Reports which project owns the repository and which projects it is shared with. Requires a platform admin.
	//
	// Corresponds with GET /api/v1/projects/_/repositories/{repoName} (the `GetProjectRepositoryStatus` operationId).
	GetProjectRepositoryStatus(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnshareRepositoryWithAllProjects Stop sharing a repository with every project
	//
	// Removes the share-with-all setting. Shares with individual projects remain. Requires a platform admin.
	//
	// Corresponds with DELETE /api/v1/projects/_/share/repositories/{repoName} (the `UnshareRepositoryWithAllProjects` operationId).
	UnshareRepositoryWithAllProjects(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ShareRepositoryWithAllProjects Share a repository with every project
	//
	// Lets members of every project use the local or remote repository according to their roles in their own project. The owning project is unchanged. Requires a platform admin.
	//
	// Corresponds with PUT /api/v1/projects/_/share/repositories/{repoName} (the `ShareRepositoryWithAllProjects` operationId).
	ShareRepositoryWithAllProjects(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnshareRepositoryWithTargetProject Stop sharing a repository with one project
	//
	// Removes the share with the target project. Requires a platform admin.
	//
	// Corresponds with DELETE /api/v1/projects/_/share/repositories/{repoName}/{targetProjectKey} (the `UnshareRepositoryWithTargetProject` operationId).
	UnshareRepositoryWithTargetProject(ctx context.Context, repoName string, targetProjectKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ShareRepositoryWithTargetProject Share a repository with one project
	//
	// Lets members of the target project use the local or remote repository according to their roles there, read-only when readOnly is true. Requires a platform admin.
	//
	// Corresponds with PUT /api/v1/projects/_/share/repositories/{repoName}/{targetProjectKey} (the `ShareRepositoryWithTargetProject` operationId).
	ShareRepositoryWithTargetProject(ctx context.Context, repoName string, targetProjectKey string, params *ShareRepositoryWithTargetProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteProject Delete a project
	//
	// Deletes the project, its custom roles and memberships. The project's repositories are not deleted: they are unassigned and keep their keys. Deleting a project that still owns repositories is allowed. Requires a platform admin.
	//
	// Corresponds with DELETE /api/v1/projects/{projectKey} (the `DeleteProject` operationId).
	DeleteProject(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProject Get a project
	//
	// Returns one project. Requires a platform admin or an admin of the project.
	//
	// Corresponds with GET /api/v1/projects/{projectKey} (the `GetProject` operationId).
	GetProject(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProjectWithBody Update a project
	//
	// Changes the project's display name, description, quota and admin privileges. The key cannot change. Lowering the quota below current usage is accepted and blocks further deployments until usage drops (unless soft_limit is true). Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/projects/{projectKey} (the `UpdateProject` operationId).
	UpdateProjectWithBody(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProject Update a project
	//
	// Changes the project's display name, description, quota and admin privileges. The key cannot change. Lowering the quota below current usage is accepted and blocks further deployments until usage drops (unless soft_limit is true). Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/projects/{projectKey} (the `UpdateProject` operationId).
	UpdateProject(ctx context.Context, projectKey string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectEnvironments List a project's environments
	//
	// Returns the environments defined inside one project, which project roles and project repositories may reference in addition to the global ones. Requires a platform admin or an admin of the project.
	//
	// Corresponds with GET /api/v1/projects/{projectKey}/environments (the `GetProjectEnvironments` operationId).
	GetProjectEnvironments(ctx context.Context, projectKey ProjectKey, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProjectEnvironmentWithBody Create a project environment
	//
	// Creates an environment scoped to the project and returns it with status 201. A project may hold at most ten environments by default. The name must not collide with a global environment. Requires a platform admin or an admin of the project.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/projects/{projectKey}/environments (the `CreateProjectEnvironment` operationId).
	CreateProjectEnvironmentWithBody(ctx context.Context, projectKey ProjectKey, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProjectEnvironment Create a project environment
	//
	// Creates an environment scoped to the project and returns it with status 201. A project may hold at most ten environments by default. The name must not collide with a global environment. Requires a platform admin or an admin of the project.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/projects/{projectKey}/environments (the `CreateProjectEnvironment` operationId).
	CreateProjectEnvironment(ctx context.Context, projectKey ProjectKey, body CreateProjectEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteProjectEnvironment Delete a project environment
	//
	// Removes a project environment that no repository in the project still uses. Requires a platform admin or an admin of the project. Answers 204 with no body.
	//
	// Corresponds with DELETE /api/v1/projects/{projectKey}/environments/{environmentName} (the `DeleteProjectEnvironment` operationId).
	DeleteProjectEnvironment(ctx context.Context, projectKey ProjectKey, environmentName EnvironmentName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RenameProjectEnvironmentWithBody Rename a project environment
	//
	// Renames a project environment and updates the project's repositories and roles that reference it. Requires a platform admin or an admin of the project.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/projects/{projectKey}/environments/{environmentName}/rename (the `RenameProjectEnvironment` operationId).
	RenameProjectEnvironmentWithBody(ctx context.Context, projectKey ProjectKey, environmentName EnvironmentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RenameProjectEnvironment Rename a project environment
	//
	// Renames a project environment and updates the project's repositories and roles that reference it. Requires a platform admin or an admin of the project.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/projects/{projectKey}/environments/{environmentName}/rename (the `RenameProjectEnvironment` operationId).
	RenameProjectEnvironment(ctx context.Context, projectKey ProjectKey, environmentName EnvironmentName, body RenameProjectEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectGroups List project groups
	//
	// Returns the groups holding a role in the project, with their roles. Requires a platform admin, or a project admin of this project with the manage_members privilege. A token scoped project:<key>/members/groups:r is also accepted.
	//
	// Corresponds with GET /api/v1/projects/{projectKey}/groups (the `GetProjectGroups` operationId).
	GetProjectGroups(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteProjectGroup Remove a group from a project
	//
	// Removes the group's roles in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Corresponds with DELETE /api/v1/projects/{projectKey}/groups/{group} (the `DeleteProjectGroup` operationId).
	DeleteProjectGroup(ctx context.Context, projectKey string, group string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectGroup Get a project group
	//
	// Returns one group's roles in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Corresponds with GET /api/v1/projects/{projectKey}/groups/{group} (the `GetProjectGroup` operationId).
	GetProjectGroup(ctx context.Context, projectKey string, group string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProjectGroupWithBody Add a group to a project or set its roles
	//
	// Adds the group to the project with the given roles, or replaces the roles of a member group. The group must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/projects/{projectKey}/groups/{group} (the `UpdateProjectGroup` operationId).
	UpdateProjectGroupWithBody(ctx context.Context, projectKey string, group string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProjectGroup Add a group to a project or set its roles
	//
	// Adds the group to the project with the given roles, or replaces the roles of a member group. The group must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/projects/{projectKey}/groups/{group} (the `UpdateProjectGroup` operationId).
	UpdateProjectGroup(ctx context.Context, projectKey string, group string, body UpdateProjectGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectRoles List project roles
	//
	// Returns every role usable in the project: the predefined roles, the project's custom roles and global custom roles. Requires a platform admin or an admin of the project. A token scoped project:<key>/roles:r is also accepted.
	//
	// Corresponds with GET /api/v1/projects/{projectKey}/roles (the `GetProjectRoles` operationId).
	GetProjectRoles(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProjectRoleWithBody Create a custom project role
	//
	// Defines a CUSTOM role in the project. Unknown actions and unknown environments are rejected with 400; a name already used in the project is rejected with 400. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/projects/{projectKey}/roles (the `CreateProjectRole` operationId).
	CreateProjectRoleWithBody(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProjectRole Create a custom project role
	//
	// Defines a CUSTOM role in the project. Unknown actions and unknown environments are rejected with 400; a name already used in the project is rejected with 400. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/projects/{projectKey}/roles (the `CreateProjectRole` operationId).
	CreateProjectRole(ctx context.Context, projectKey string, body CreateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteProjectRole Delete a custom project role
	//
	// Deletes a CUSTOM role and removes it from every member that held it. Predefined roles cannot be deleted (400). Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Corresponds with DELETE /api/v1/projects/{projectKey}/roles/{role} (the `DeleteProjectRole` operationId).
	DeleteProjectRole(ctx context.Context, projectKey string, role string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectRole Get a project role
	//
	// Returns one role usable in the project. Requires a platform admin or an admin of the project.
	//
	// Corresponds with GET /api/v1/projects/{projectKey}/roles/{role} (the `GetProjectRole` operationId).
	GetProjectRole(ctx context.Context, projectKey string, role string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProjectRoleWithBody Replace a custom project role
	//
	// Replaces the role's description, environments and actions. Only CUSTOM roles can be changed; members holding the role get the new actions at once. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/projects/{projectKey}/roles/{role} (the `UpdateProjectRole` operationId).
	UpdateProjectRoleWithBody(ctx context.Context, projectKey string, role string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProjectRole Replace a custom project role
	//
	// Replaces the role's description, environments and actions. Only CUSTOM roles can be changed; members holding the role get the new actions at once. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/projects/{projectKey}/roles/{role} (the `UpdateProjectRole` operationId).
	UpdateProjectRole(ctx context.Context, projectKey string, role string, body UpdateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectUsers List project users
	//
	// Returns the users holding a direct role in the project, with their roles. Requires a platform admin, or a project admin of this project with the manage_members privilege. A token scoped project:<key>/members/users:r is also accepted.
	//
	// Corresponds with GET /api/v1/projects/{projectKey}/users (the `GetProjectUsers` operationId).
	GetProjectUsers(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteProjectUser Remove a user from a project
	//
	// Removes the user's direct roles in the project. Roles held through groups remain. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Corresponds with DELETE /api/v1/projects/{projectKey}/users/{user} (the `DeleteProjectUser` operationId).
	DeleteProjectUser(ctx context.Context, projectKey string, user string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectUser Get a project user
	//
	// Returns one user's roles in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Corresponds with GET /api/v1/projects/{projectKey}/users/{user} (the `GetProjectUser` operationId).
	GetProjectUser(ctx context.Context, projectKey string, user string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddOrUpdateProjectUserWithBody Add a user to a project or set their roles
	//
	// Adds the user to the project with the given roles, or replaces the roles of an existing member. The user must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/projects/{projectKey}/users/{user} (the `AddOrUpdateProjectUser` operationId).
	AddOrUpdateProjectUserWithBody(ctx context.Context, projectKey string, user string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddOrUpdateProjectUser Add a user to a project or set their roles
	//
	// Adds the user to the project with the given roles, or replaces the roles of an existing member. The user must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/projects/{projectKey}/users/{user} (the `AddOrUpdateProjectUser` operationId).
	AddOrUpdateProjectUser(ctx context.Context, projectKey string, user string, body AddOrUpdateProjectUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllGlobalRoles List global roles
	//
	// Returns every global role: the built-in ADMIN and PREDEFINED roles and the CUSTOM_GLOBAL roles created through this API. Admin only.
	//
	// Corresponds with GET /api/v1/roles (the `GetAllGlobalRoles` operationId).
	GetAllGlobalRoles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGlobalRoleWithBody Create a global role
	//
	// Creates a CUSTOM_GLOBAL role that project admins can assign in any project. The response is 201 with {"code":"OK","message":"Role '<name>' created"}. Admin only. An existing name answers 409.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/roles (the `CreateGlobalRole` operationId).
	CreateGlobalRoleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGlobalRole Create a global role
	//
	// Creates a CUSTOM_GLOBAL role that project admins can assign in any project. The response is 201 with {"code":"OK","message":"Role '<name>' created"}. Admin only. An existing name answers 409.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/roles (the `CreateGlobalRole` operationId).
	CreateGlobalRole(ctx context.Context, body CreateGlobalRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteGlobalRole Delete a global role
	//
	// Removes a CUSTOM_GLOBAL role and every assignment of it. Built-in roles answer 400. Admin only. Answers 204 with no body.
	//
	// Corresponds with DELETE /api/v1/roles/{role} (the `DeleteGlobalRole` operationId).
	DeleteGlobalRole(ctx context.Context, role RoleName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGlobalRole Get a global role
	//
	// Returns one global role by name. Admin only.
	//
	// Corresponds with GET /api/v1/roles/{role} (the `GetGlobalRole` operationId).
	GetGlobalRole(ctx context.Context, role RoleName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGlobalRoleWithBody Replace a global role
	//
	// Replaces the description, environments and actions of a CUSTOM_GLOBAL role, or the environments and actions of a PREDEFINED one. The name in the body must equal the path name and the type must stay the same; the ADMIN role cannot be changed. Each of these answers 400. Admin only. Answers 200 with no body.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/roles/{role} (the `UpdateGlobalRole` operationId).
	UpdateGlobalRoleWithBody(ctx context.Context, role RoleName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGlobalRole Replace a global role
	//
	// Replaces the description, environments and actions of a CUSTOM_GLOBAL role, or the environments and actions of a PREDEFINED one. The name in the body must equal the path name and the type must stay the same; the ADMIN role cannot be changed. Each of these answers 400. Admin only. Answers 200 with no body.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/roles/{role} (the `UpdateGlobalRole` operationId).
	UpdateGlobalRole(ctx context.Context, role RoleName, body UpdateGlobalRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllSamlSettings List SAML settings (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with GET /api/v1/saml (the `GetAllSamlSettings` operationId).
	GetAllSamlSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSamlSettingWithBody Create a SAML setting (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/saml (the `CreateSamlSetting` operationId).
	CreateSamlSettingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSamlSetting Create a SAML setting (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/saml (the `CreateSamlSetting` operationId).
	CreateSamlSetting(ctx context.Context, body CreateSamlSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSamlGeneralSettings Get the SAML switch (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with GET /api/v1/saml/general_settings (the `GetSamlGeneralSettings` operationId).
	GetSamlGeneralSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSamlGeneralSettingsWithBody Set the SAML switch (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/saml/general_settings (the `UpdateSamlGeneralSettings` operationId).
	UpdateSamlGeneralSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSamlGeneralSettings Set the SAML switch (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/saml/general_settings (the `UpdateSamlGeneralSettings` operationId).
	UpdateSamlGeneralSettings(ctx context.Context, body UpdateSamlGeneralSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSamlSetting Delete a SAML setting (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with DELETE /api/v1/saml/{name} (the `DeleteSamlSetting` operationId).
	DeleteSamlSetting(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSamlSettingByName Get a SAML setting (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with GET /api/v1/saml/{name} (the `GetSamlSettingByName` operationId).
	GetSamlSettingByName(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSamlSettingWithBody Replace a SAML setting (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/saml/{name} (the `UpdateSamlSetting` operationId).
	UpdateSamlSettingWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSamlSetting Replace a SAML setting (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/saml/{name} (the `UpdateSamlSetting` operationId).
	UpdateSamlSetting(ctx context.Context, name string, body UpdateSamlSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetScimGroups List SCIM groups (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with GET /api/v1/scim/v2/Groups (the `GetScimGroups` operationId).
	GetScimGroups(ctx context.Context, params *GetScimGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateScimGroupWithBody Create a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/scim/v2/Groups (the `CreateScimGroup` operationId).
	CreateScimGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateScimGroupWithApplicationScimPlusJSONBody Create a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/scim+json` content type.
	//
	// Corresponds with POST /api/v1/scim/v2/Groups (the `CreateScimGroup` operationId).
	CreateScimGroupWithApplicationScimPlusJSONBody(ctx context.Context, body CreateScimGroupApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteScimGroup Delete a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with DELETE /api/v1/scim/v2/Groups/{groupName} (the `DeleteScimGroup` operationId).
	DeleteScimGroup(ctx context.Context, groupName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetScimGroupByName Get a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with GET /api/v1/scim/v2/Groups/{groupName} (the `GetScimGroupByName` operationId).
	GetScimGroupByName(ctx context.Context, groupName string, params *GetScimGroupByNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchScimGroupWithBody Patch a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/v1/scim/v2/Groups/{groupName} (the `PatchScimGroup` operationId).
	PatchScimGroupWithBody(ctx context.Context, groupName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchScimGroupWithApplicationScimPlusJSONBody Patch a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/scim+json` content type.
	//
	// Corresponds with PATCH /api/v1/scim/v2/Groups/{groupName} (the `PatchScimGroup` operationId).
	PatchScimGroupWithApplicationScimPlusJSONBody(ctx context.Context, groupName string, body PatchScimGroupApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateScimGroupWithBody Replace a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/scim/v2/Groups/{groupName} (the `UpdateScimGroup` operationId).
	UpdateScimGroupWithBody(ctx context.Context, groupName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateScimGroupWithApplicationScimPlusJSONBody Replace a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/scim+json` content type.
	//
	// Corresponds with PUT /api/v1/scim/v2/Groups/{groupName} (the `UpdateScimGroup` operationId).
	UpdateScimGroupWithApplicationScimPlusJSONBody(ctx context.Context, groupName string, body UpdateScimGroupApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetScimResourceTypes List SCIM resource types (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with GET /api/v1/scim/v2/ResourceTypes (the `GetScimResourceTypes` operationId).
	GetScimResourceTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetScimSchemas List SCIM schemas (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with GET /api/v1/scim/v2/Schemas (the `GetScimSchemas` operationId).
	GetScimSchemas(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetScimSchemaById Get a SCIM schema (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with GET /api/v1/scim/v2/Schemas/{schemaId} (the `GetScimSchemaById` operationId).
	GetScimSchemaById(ctx context.Context, schemaId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetScimServiceProviderConfig Get the SCIM service provider configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with GET /api/v1/scim/v2/ServiceProviderConfig (the `GetScimServiceProviderConfig` operationId).
	GetScimServiceProviderConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetScimUsers List SCIM users (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with GET /api/v1/scim/v2/Users (the `GetScimUsers` operationId).
	GetScimUsers(ctx context.Context, params *GetScimUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateScimUserWithBody Create a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/scim/v2/Users (the `CreateScimUser` operationId).
	CreateScimUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateScimUserWithApplicationScimPlusJSONBody Create a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/scim+json` content type.
	//
	// Corresponds with POST /api/v1/scim/v2/Users (the `CreateScimUser` operationId).
	CreateScimUserWithApplicationScimPlusJSONBody(ctx context.Context, body CreateScimUserApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteScimUser Delete a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with DELETE /api/v1/scim/v2/Users/{username} (the `DeleteScimUser` operationId).
	DeleteScimUser(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetScimUserByUsername Get a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with GET /api/v1/scim/v2/Users/{username} (the `GetScimUserByUsername` operationId).
	GetScimUserByUsername(ctx context.Context, username string, params *GetScimUserByUsernameParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchScimUserWithBody Patch a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/v1/scim/v2/Users/{username} (the `PatchScimUser` operationId).
	PatchScimUserWithBody(ctx context.Context, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchScimUserWithApplicationScimPlusJSONBody Patch a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/scim+json` content type.
	//
	// Corresponds with PATCH /api/v1/scim/v2/Users/{username} (the `PatchScimUser` operationId).
	PatchScimUserWithApplicationScimPlusJSONBody(ctx context.Context, username string, body PatchScimUserApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateScimUserWithBody Replace a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/scim/v2/Users/{username} (the `UpdateScimUser` operationId).
	UpdateScimUserWithBody(ctx context.Context, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateScimUserWithApplicationScimPlusJSONBody Replace a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/scim+json` content type.
	//
	// Corresponds with PUT /api/v1/scim/v2/Users/{username} (the `UpdateScimUser` operationId).
	UpdateScimUserWithApplicationScimPlusJSONBody(ctx context.Context, username string, body UpdateScimUserApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePairingToken Create a pairing token
	//
	// Issues a single-use pairing token on this instance so that another instance of this server can establish mutual trust with it over the peer protocol (decision 0021). Run it on the instance that is to be trusted, hand the token to the administrator of the other instance, who redeems it there, for example when adding this instance as a follower (POST /pfed/api/v1/jpd) or registering it as an Access federation target. Redeeming exchanges per-peer keys that are sealed at rest (decision 0017); the token itself is never stored in clear and stops working once redeemed or when it expires, 300 seconds after issue by default (configurable). Only the platform-federation use case is supported; mission-control and bridge answer 501. The peer must be another instance of this server. Administrators only.
	//
	// Corresponds with POST /api/v1/service_trust/pairing/{useCase} (the `CreatePairingToken` operationId).
	CreatePairingToken(ctx context.Context, useCase CreatePairingTokenParamsUseCase, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportAccessConfiguration Export the Access configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with POST /api/v1/system/backup/export (the `ExportAccessConfiguration` operationId).
	ExportAccessConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ImportAccessConfiguration Import the Access configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Corresponds with POST /api/v1/system/backup/import (the `ImportAccessConfiguration` operationId).
	ImportAccessConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllAccessFederations List federation targets
	//
	// Returns every Access federation target registered on this instance, active or paused. Administrators only. A target is always another instance of this server; no other kind of federation peer is supported (decision 0025).
	//
	// Corresponds with GET /api/v1/system/federation (the `GetAllAccessFederations` operationId).
	GetAllAccessFederations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterAccessFederationWithBody Register a federation target
	//
	// Registers a peer instance as a target of Access federation. From then on every create, update and delete of the selected identity entities on this instance is queued in the peer outbox and delivered to the target in order, with retries, over the peer protocol (decision 0021); changes made on the target are not sent back unless the target also registers this instance. Registration requires an existing pairing with the peer. A full broadcast runs once after registration so the target starts from this instance's current state. Administrators only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/system/federation (the `RegisterAccessFederation` operationId).
	RegisterAccessFederationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterAccessFederation Register a federation target
	//
	// Registers a peer instance as a target of Access federation. From then on every create, update and delete of the selected identity entities on this instance is queued in the peer outbox and delivered to the target in order, with retries, over the peer protocol (decision 0021); changes made on the target are not sent back unless the target also registers this instance. Registration requires an existing pairing with the peer. A full broadcast runs once after registration so the target starts from this instance's current state. Administrators only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/system/federation (the `RegisterAccessFederation` operationId).
	RegisterAccessFederation(ctx context.Context, body RegisterAccessFederationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ValidateFederationTargetWithBody Validate a candidate federation target
	//
	// Checks, without registering anything, that the peer at url is reachable, is an instance of this server speaking a compatible peer protocol version, and trusts this instance through an existing pairing. Use it before registration to get a precise error. Administrators only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/system/federation/validate_server (the `ValidateFederationTarget` operationId).
	ValidateFederationTargetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ValidateFederationTarget Validate a candidate federation target
	//
	// Checks, without registering anything, that the peer at url is reachable, is an instance of this server speaking a compatible peer protocol version, and trusts this instance through an existing pairing. Use it before registration to get a precise error. Administrators only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/system/federation/validate_server (the `ValidateFederationTarget` operationId).
	ValidateFederationTarget(ctx context.Context, body ValidateFederationTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAccessFederation Unregister a federation target
	//
	// Removes a federation target and discards changes still queued for it. Entities already replicated to the peer stay there; the peer's pairing with this instance is not revoked. Administrators only.
	//
	// Corresponds with DELETE /api/v1/system/federation/{serverName} (the `DeleteAccessFederation` operationId).
	DeleteAccessFederation(ctx context.Context, serverName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAccessFederation Get a federation target
	//
	// Returns one federation target by name. Administrators only.
	//
	// Corresponds with GET /api/v1/system/federation/{serverName} (the `GetAccessFederation` operationId).
	GetAccessFederation(ctx context.Context, serverName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateAccessFederationWithBody Update a federation target
	//
	// Changes the replicated entity types, the filters or the active flag of a target. Fields that are omitted keep their values; name and url are immutable. Narrowing the entities or filters affects future changes only; nothing already replicated is removed from the peer. Accepts plain JSON or a JSON merge patch with the same fields. Administrators only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/v1/system/federation/{serverName} (the `UpdateAccessFederation` operationId).
	UpdateAccessFederationWithBody(ctx context.Context, serverName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateAccessFederation Update a federation target
	//
	// Changes the replicated entity types, the filters or the active flag of a target. Fields that are omitted keep their values; name and url are immutable. Narrowing the entities or filters affects future changes only; nothing already replicated is removed from the peer. Accepts plain JSON or a JSON merge patch with the same fields. Administrators only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /api/v1/system/federation/{serverName} (the `UpdateAccessFederation` operationId).
	UpdateAccessFederation(ctx context.Context, serverName string, body UpdateAccessFederationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateAccessFederationWithApplicationMergePatchPlusJSONBody Update a federation target
	//
	// Changes the replicated entity types, the filters or the active flag of a target. Fields that are omitted keep their values; name and url are immutable. Narrowing the entities or filters affects future changes only; nothing already replicated is removed from the peer. Accepts plain JSON or a JSON merge patch with the same fields. Administrators only.
	//
	// Takes a body of the `application/merge-patch+json` content type.
	//
	// Corresponds with PATCH /api/v1/system/federation/{serverName} (the `UpdateAccessFederation` operationId).
	UpdateAccessFederationWithApplicationMergePatchPlusJSONBody(ctx context.Context, serverName string, body UpdateAccessFederationApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FullBroadcastAccessFederation Run a full broadcast to a target
	//
	// Sends the complete current set of selected identity entities to the target, after which the target matches this instance for those entities (the full-sync fallback of decision 0021). Use it after a long outage or when the incremental outbox was discarded. The broadcast runs in the background; at most one runs per target. Administrators only.
	//
	// Corresponds with PUT /api/v1/system/federation/{serverName}/full_broadcast (the `FullBroadcastAccessFederation` operationId).
	FullBroadcastAccessFederation(ctx context.Context, serverName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAccessVersion Access compatibility version
	//
	// Returns the compatibility version in name and version, the same value as /artifactory/api/system/version reports.
	//
	// Corresponds with GET /api/v1/system/version (the `GetAccessVersion` operationId).
	GetAccessVersion(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTokens List access tokens
	//
	// A platform admin sees every token; any other caller sees only tokens whose subject is their own user. Expired tokens and tokens that are not revocable are omitted. The token values themselves are never returned, only their metadata. A token issued with a reference token is listed like any other.
	//
	// Corresponds with GET /api/v1/tokens (the `GetTokens` operationId).
	GetTokens(ctx context.Context, params *GetTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTokenWithBody Create or refresh an access token
	//
	// With grant_type client_credentials (the default) mints a new access token for username, or for the caller when username is omitted. With grant_type refresh_token exchanges refresh_token for a new access token with the same scope and audience. The body may be JSON or form-encoded. A non-admin may only mint identity tokens for themselves (scope applied-permissions/user). Admins may mint any scope that a user already holds; scopes only narrow. A transient user, the subject of a token minted for a name that is no stored user or of an OIDC exchange, mints for itself a token with its own token's scope that resolves to the same transient user. That token expires no later than the caller's own token, and may be refreshable only when the caller's own token is, or the request is refused with 403. A user name and password sent with Basic mint a token only while the token.allow_basic_auth setting is on, which it is not by default; an access or reference token, as Bearer or as the Basic password, always may. The response status is 200 and the body always carries token_id.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/tokens (the `CreateToken` operationId).
	CreateTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateToken Create or refresh an access token
	//
	// With grant_type client_credentials (the default) mints a new access token for username, or for the caller when username is omitted. With grant_type refresh_token exchanges refresh_token for a new access token with the same scope and audience. The body may be JSON or form-encoded. A non-admin may only mint identity tokens for themselves (scope applied-permissions/user). Admins may mint any scope that a user already holds; scopes only narrow. A transient user, the subject of a token minted for a name that is no stored user or of an OIDC exchange, mints for itself a token with its own token's scope that resolves to the same transient user. That token expires no later than the caller's own token, and may be refreshable only when the caller's own token is, or the request is refused with 403. A user name and password sent with Basic mint a token only while the token.allow_basic_auth setting is on, which it is not by default; an access or reference token, as Bearer or as the Basic password, always may. The response status is 200 and the body always carries token_id.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/tokens (the `CreateToken` operationId).
	CreateToken(ctx context.Context, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTokenWithFormdataBody Create or refresh an access token
	//
	// With grant_type client_credentials (the default) mints a new access token for username, or for the caller when username is omitted. With grant_type refresh_token exchanges refresh_token for a new access token with the same scope and audience. The body may be JSON or form-encoded. A non-admin may only mint identity tokens for themselves (scope applied-permissions/user). Admins may mint any scope that a user already holds; scopes only narrow. A transient user, the subject of a token minted for a name that is no stored user or of an OIDC exchange, mints for itself a token with its own token's scope that resolves to the same transient user. That token expires no later than the caller's own token, and may be refreshable only when the caller's own token is, or the request is refused with 403. A user name and password sent with Basic mint a token only while the token.allow_basic_auth setting is on, which it is not by default; an access or reference token, as Bearer or as the Basic password, always may. The response status is 200 and the body always carries token_id.
	//
	// Takes a body of the `application/x-www-form-urlencoded` content type.
	//
	// Corresponds with POST /api/v1/tokens (the `CreateToken` operationId).
	CreateTokenWithFormdataBody(ctx context.Context, body CreateTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeTokenByValueWithBody Revoke a token by its value
	//
	// Revokes the token whose JWT or reference token is given in the body and returns its id. A token is revocable when it never expires, its lifetime is at least the revocable threshold (21600 seconds), or it was created with force_revocable or refreshable; any other token answers 404, as an unknown one does. Admin only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with DELETE /api/v1/tokens/revoke (the `RevokeTokenByValue` operationId).
	RevokeTokenByValueWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeTokenByValue Revoke a token by its value
	//
	// Revokes the token whose JWT or reference token is given in the body and returns its id. A token is revocable when it never expires, its lifetime is at least the revocable threshold (21600 seconds), or it was created with force_revocable or refreshable; any other token answers 404, as an unknown one does. Admin only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with DELETE /api/v1/tokens/revoke (the `RevokeTokenByValue` operationId).
	RevokeTokenByValue(ctx context.Context, body RevokeTokenByValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeTokenById Revoke a token by id
	//
	// Revokes the token with this id; me revokes the caller's own token. A token is revocable on the same terms as for revocation by value; any other token answers 400. A non-admin may only revoke their own tokens. Answers 200 with no body.
	//
	// Corresponds with DELETE /api/v1/tokens/{tokenId} (the `RevokeTokenById` operationId).
	RevokeTokenById(ctx context.Context, tokenId TokenId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTokenById Get a token's metadata
	//
	// Returns the metadata of one token. The id me stands for the token used to authenticate the call. A non-admin may only read their own tokens.
	//
	// Corresponds with GET /api/v1/tokens/{tokenId} (the `GetTokenById` operationId).
	GetTokenById(ctx context.Context, tokenId TokenId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVaultConfigurations List Vault connections
	//
	// Returns every HashiCorp Vault connection. Keypairs whose vaultKey names a connection read their private key from Vault instead of the database. Secrets are never returned. Requires a platform admin.
	//
	// Corresponds with GET /api/v1/vault/configs (the `GetVaultConfigurations` operationId).
	GetVaultConfigurations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TestVaultConfigurationWithBody Test a Vault connection
	//
	// Authenticates to the Vault server described by the body, without storing anything, and answers 204 on success. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/vault/configs/test (the `TestVaultConfiguration` operationId).
	TestVaultConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TestVaultConfiguration Test a Vault connection
	//
	// Authenticates to the Vault server described by the body, without storing anything, and answers 204 on success. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/vault/configs/test (the `TestVaultConfiguration` operationId).
	TestVaultConfiguration(ctx context.Context, body TestVaultConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteVaultConfiguration Delete a Vault connection
	//
	// Removes the connection. Keypairs that name it can no longer sign until a connection with the same key is stored again. Returns 204. Requires a platform admin.
	//
	// Corresponds with DELETE /api/v1/vault/configs/{vault_key} (the `DeleteVaultConfiguration` operationId).
	DeleteVaultConfiguration(ctx context.Context, vaultKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetVaultConfigurationWithBody Create or replace a Vault connection
	//
	// Stores the connection under vault_key, replacing any connection with that key, and returns it without secrets. Vault must be reached over TLS. A body that is not application/json answers 415. Requires a platform admin.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/vault/configs/{vault_key} (the `SetVaultConfiguration` operationId).
	SetVaultConfigurationWithBody(ctx context.Context, vaultKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetVaultConfiguration Create or replace a Vault connection
	//
	// Stores the connection under vault_key, replacing any connection with that key, and returns it without secrets. Vault must be reached over TLS. A body that is not application/json answers 415. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/vault/configs/{vault_key} (the `SetVaultConfiguration` operationId).
	SetVaultConfiguration(ctx context.Context, vaultKey string, body SetVaultConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGroupList List groups
	//
	// Returns one record per group as a cursor-paginated page. Requires a platform admin or the system:identities:r scope. Filters combine with AND.
	//
	// Corresponds with GET /api/v2/groups (the `GetGroupList` operationId).
	GetGroupList(ctx context.Context, params *GetGroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGroupWithBody Create a group
	//
	// Creates a group and returns its details with status 201. members and import_from_ldap_group_setting are mutually exclusive: a group either lists its members or takes them from an LDAP group setting (LDAP import is not supported and answers 400). Admin only. An existing name answers 409.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v2/groups (the `CreateGroup` operationId).
	CreateGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGroup Create a group
	//
	// Creates a group and returns its details with status 201. members and import_from_ldap_group_setting are mutually exclusive: a group either lists its members or takes them from an LDAP group setting (LDAP import is not supported and answers 400). Admin only. An existing name answers 409.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v2/groups (the `CreateGroup` operationId).
	CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteGroup Delete a group
	//
	// Removes the group, its memberships and its entries in permission targets. The built-in readers group can be deleted; a group that is the sole admin grant for the last admin cannot. Admin only. Answers 204 with no body.
	//
	// Corresponds with DELETE /api/v2/groups/{name} (the `DeleteGroup` operationId).
	DeleteGroup(ctx context.Context, name GroupName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGroupDetails Get a group
	//
	// Returns the group including its member usernames. Requires a platform admin or the system:identities:r scope.
	//
	// Corresponds with GET /api/v2/groups/{name} (the `GetGroupDetails` operationId).
	GetGroupDetails(ctx context.Context, name GroupName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGroupWithBody Update a group
	//
	// Partial update of the group's attributes. Omitted fields keep their values. The name, realm, realm_attributes and members cannot be changed here; members go through the members sub-resource. The body may be empty, which changes nothing and returns the current group. Admin only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/v2/groups/{name} (the `UpdateGroup` operationId).
	UpdateGroupWithBody(ctx context.Context, name GroupName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGroup Update a group
	//
	// Partial update of the group's attributes. Omitted fields keep their values. The name, realm, realm_attributes and members cannot be changed here; members go through the members sub-resource. The body may be empty, which changes nothing and returns the current group. Admin only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /api/v2/groups/{name} (the `UpdateGroup` operationId).
	UpdateGroup(ctx context.Context, name GroupName, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGroupMembersWithBody Add or remove members
	//
	// Applies the add list then the remove list to the group's members and returns the resulting full member list. Unknown usernames in add answer 404; names already present or already absent are ignored. Admin only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/v2/groups/{name}/members (the `UpdateGroupMembers` operationId).
	UpdateGroupMembersWithBody(ctx context.Context, name GroupName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGroupMembers Add or remove members
	//
	// Applies the add list then the remove list to the group's members and returns the resulting full member list. Unknown usernames in add answer 404; names already present or already absent are ignored. Admin only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /api/v2/groups/{name}/members (the `UpdateGroupMembers` operationId).
	UpdateGroupMembers(ctx context.Context, name GroupName, body UpdateGroupMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPermissions List permissions
	//
	// Returns permissions as a cursor-paginated page. Without filters the page holds name and uri per permission. With user or group filters it holds only permissions that grant something to those principals, and expand=true then returns the full PermissionDetails instead of the name and uri pair. Requires a platform admin, a holder of the Manage Resources role or the system:permissions:r scope.
	//
	// Corresponds with GET /api/v2/permissions (the `GetPermissions` operationId).
	GetPermissions(ctx context.Context, params *GetPermissionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePermissionWithBody Create a permission
	//
	// Creates a permission in the Access v2 model and returns it with status 201. The /artifactory/api/security/permissions and /artifactory/api/v2/security/permissions endpoints are views of the same record. Every principal, repository and build target named in the body must exist, except the special targets ANY, ANY LOCAL, ANY REMOTE and ANY DISTRIBUTION. Requires a platform admin or a Manage Resources holder. An existing name answers 409.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v2/permissions (the `CreatePermission` operationId).
	CreatePermissionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePermission Create a permission
	//
	// Creates a permission in the Access v2 model and returns it with status 201. The /artifactory/api/security/permissions and /artifactory/api/v2/security/permissions endpoints are views of the same record. Every principal, repository and build target named in the body must exist, except the special targets ANY, ANY LOCAL, ANY REMOTE and ANY DISTRIBUTION. Requires a platform admin or a Manage Resources holder. An existing name answers 409.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v2/permissions (the `CreatePermission` operationId).
	CreatePermission(ctx context.Context, body CreatePermissionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePermission Delete a permission
	//
	// Removes the permission and every grant it carried. Requires a platform admin or a Manage Resources holder. Answers 204 with no body.
	//
	// Corresponds with DELETE /api/v2/permissions/{permissionName} (the `DeletePermission` operationId).
	DeletePermission(ctx context.Context, permissionName PermissionName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPermissionDetails Get a permission
	//
	// Returns the full permission document. Requires a platform admin, a Manage Resources holder, the system:permissions:r scope, or MANAGE on every resource of the permission.
	//
	// Corresponds with GET /api/v2/permissions/{permissionName} (the `GetPermissionDetails` operationId).
	GetPermissionDetails(ctx context.Context, permissionName PermissionName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePermissionResource Delete one resource section
	//
	// Removes the section for the resource type; the permission itself stays, even when it ends up with no sections. Requires a platform admin or a Manage Resources holder. Answers 204 with no body.
	//
	// Corresponds with DELETE /api/v2/permissions/{permissionName}/{resourceType} (the `DeletePermissionResource` operationId).
	DeletePermissionResource(ctx context.Context, permissionName PermissionName, resourceType DeletePermissionResourceParamsResourceType, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPermissionResource Get one resource section of a permission
	//
	// Returns the actions and targets of a single resource type within the permission. A permission that has no section for the type answers 404. Requires a platform admin or a Manage Resources holder.
	//
	// Corresponds with GET /api/v2/permissions/{permissionName}/{resourceType} (the `GetPermissionResource` operationId).
	GetPermissionResource(ctx context.Context, permissionName PermissionName, resourceType GetPermissionResourceParamsResourceType, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePermissionResourceWithBody Merge into one resource section
	//
	// Merges the body into the existing section: principals and targets present in the body replace their stored counterparts, others stay. To remove a principal or target use PUT with the full section. Requires a platform admin or a Manage Resources holder.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/v2/permissions/{permissionName}/{resourceType} (the `UpdatePermissionResource` operationId).
	UpdatePermissionResourceWithBody(ctx context.Context, permissionName PermissionName, resourceType UpdatePermissionResourceParamsResourceType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePermissionResource Merge into one resource section
	//
	// Merges the body into the existing section: principals and targets present in the body replace their stored counterparts, others stay. To remove a principal or target use PUT with the full section. Requires a platform admin or a Manage Resources holder.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /api/v2/permissions/{permissionName}/{resourceType} (the `UpdatePermissionResource` operationId).
	UpdatePermissionResource(ctx context.Context, permissionName PermissionName, resourceType UpdatePermissionResourceParamsResourceType, body UpdatePermissionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplacePermissionResourceWithBody Replace one resource section
	//
	// Replaces the whole actions and targets section for the resource type, creating the section when the permission did not have one. Grants and targets not in the body are dropped. Requires a platform admin or a Manage Resources holder.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v2/permissions/{permissionName}/{resourceType} (the `ReplacePermissionResource` operationId).
	ReplacePermissionResourceWithBody(ctx context.Context, permissionName PermissionName, resourceType ReplacePermissionResourceParamsResourceType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplacePermissionResource Replace one resource section
	//
	// Replaces the whole actions and targets section for the resource type, creating the section when the permission did not have one. Grants and targets not in the body are dropped. Requires a platform admin or a Manage Resources holder.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v2/permissions/{permissionName}/{resourceType} (the `ReplacePermissionResource` operationId).
	ReplacePermissionResource(ctx context.Context, permissionName PermissionName, resourceType ReplacePermissionResourceParamsResourceType, body ReplacePermissionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectsForRole List projects that use a global role
	//
	// Returns, one cursor page at a time, the projects in which the named global role is assigned to a member. Requires a platform admin.
	//
	// Corresponds with GET /api/v2/projects (the `GetProjectsForRole` operationId).
	GetProjectsForRole(ctx context.Context, params *GetProjectsForRoleParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUserList List users
	//
	// Returns one record per user, newest first unless descendingOrder is false, as a cursor-paginated page. Requires a platform admin or a token carrying the system:identities:r scope. Every query parameter is a filter; filters combine with AND.
	//
	// Corresponds with GET /api/v2/users (the `GetUserList` operationId).
	GetUserList(ctx context.Context, params *GetUserListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateUserWithBody Create a user
	//
	// Creates an internal user and returns its details with status 201. The same internal user record backs the /artifactory/api/security/users endpoint. Admin only. A username that already exists answers 409.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v2/users (the `CreateUser` operationId).
	CreateUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateUser Create a user
	//
	// Creates an internal user and returns its details with status 201. The same internal user record backs the /artifactory/api/security/users endpoint. Admin only. A username that already exists answers 409.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v2/users (the `CreateUser` operationId).
	CreateUser(ctx context.Context, body CreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExpirePasswordForAllUsers Expire every internal password
	//
	// Marks every internal user's password as expired so each user must set a new one at next login. Users with internal_password_disabled are unaffected. Admin only. Responds with a plain text confirmation.
	//
	// Corresponds with POST /api/v2/users/expire_password_for_all_users (the `ExpirePasswordForAllUsers` operationId).
	ExpirePasswordForAllUsers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnexpirePasswordForAllUsers Clear the expired flag on every password
	//
	// Reverses expire_password_for_all_users: every internal password becomes valid again without the user changing it. Admin only. Responds with a plain text confirmation.
	//
	// Corresponds with POST /api/v2/users/unexpire_password_for_all_users (the `UnexpirePasswordForAllUsers` operationId).
	UnexpirePasswordForAllUsers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteUser Delete a user
	//
	// Removes the user, its group memberships, its tokens and its entries in permission targets. The built-in admin and anonymous users cannot be deleted. Admin only. Answers 204 with no body.
	//
	// Corresponds with DELETE /api/v2/users/{username} (the `DeleteUser` operationId).
	DeleteUser(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUserDetails Get a user
	//
	// Returns the stored user record. Requires a platform admin or the system:identities:r scope; a user may always read their own record.
	//
	// Corresponds with GET /api/v2/users/{username} (the `GetUserDetails` operationId).
	GetUserDetails(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUserWithBody Update a user
	//
	// Partial update: only the fields present in the body change, omitted fields keep their stored values, and the username cannot be changed. Group membership is not updated here; use the groups sub-resource. Setting internal_password_disabled to false on a user that has no password requires a password in the same request. Admin only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/v2/users/{username} (the `UpdateUser` operationId).
	UpdateUserWithBody(ctx context.Context, username Username, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUser Update a user
	//
	// Partial update: only the fields present in the body change, omitted fields keep their stored values, and the username cannot be changed. Group membership is not updated here; use the groups sub-resource. Setting internal_password_disabled to false on a user that has no password requires a password in the same request. Admin only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /api/v2/users/{username} (the `UpdateUser` operationId).
	UpdateUser(ctx context.Context, username Username, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUserGroupsWithBody Add or remove group memberships
	//
	// Applies the add list then the remove list to the user's memberships and returns the resulting full membership. Names that are already present (add) or already absent (remove) are ignored; a name in both lists ends up removed. Admin only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/v2/users/{username}/groups (the `UpdateUserGroups` operationId).
	UpdateUserGroupsWithBody(ctx context.Context, username Username, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUserGroups Add or remove group memberships
	//
	// Applies the add list then the remove list to the user's memberships and returns the resulting full membership. Names that are already present (add) or already absent (remove) are ignored; a name in both lists ends up removed. Admin only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /api/v2/users/{username}/groups (the `UpdateUserGroups` operationId).
	UpdateUserGroups(ctx context.Context, username Username, body UpdateUserGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ChangeUserPasswordWithBody Set a user's password
	//
	// Replaces the user's internal password. A platform admin may set any user's password; any user may set their own. The new value must satisfy the password policy and, when the policy forbids reuse, differ from the current one. Answers 204 with no body.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v2/users/{username}/password (the `ChangeUserPassword` operationId).
	ChangeUserPasswordWithBody(ctx context.Context, username Username, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ChangeUserPassword Set a user's password
	//
	// Replaces the user's internal password. A platform admin may set any user's password; any user may set their own. The new value must satisfy the password policy and, when the policy forbids reuse, differ from the current one. Answers 204 with no body.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v2/users/{username}/password (the `ChangeUserPassword` operationId).
	ChangeUserPassword(ctx context.Context, username Username, body ChangeUserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExpireUserPassword Expire a user's password
	//
	// Marks the user's password as expired so they must change it at next login. Admin only. Answers 204 with no body.
	//
	// Corresponds with POST /api/v2/users/{username}/password/expire (the `ExpireUserPassword` operationId).
	ExpireUserPassword(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnlockUser Unlock a user
	//
	// Clears the lock that the user lock policy applied after too many failed logins and resets the failure counter. Unlocking an unlocked user succeeds. Admin only. Answers 204 with no body.
	//
	// Corresponds with POST /api/v2/users/{username}/unlock (the `UnlockUser` operationId).
	UnlockUser(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AddOrUpdateProjectUserWithBodyWithResponse

func (c *ClientWithResponses) AddOrUpdateProjectUserWithBodyWithResponse(ctx context.Context, projectKey string, user string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddOrUpdateProjectUserResponse, error)

AddOrUpdateProjectUserWithBodyWithResponse Add a user to a project or set their roles

Adds the user to the project with the given roles, or replaces the roles of an existing member. The user must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/projects/{projectKey}/users/{user} (the `AddOrUpdateProjectUser` operationId).

func (*ClientWithResponses) AddOrUpdateProjectUserWithResponse

func (c *ClientWithResponses) AddOrUpdateProjectUserWithResponse(ctx context.Context, projectKey string, user string, body AddOrUpdateProjectUserJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOrUpdateProjectUserResponse, error)

AddOrUpdateProjectUserWithResponse Add a user to a project or set their roles

Adds the user to the project with the given roles, or replaces the roles of an existing member. The user must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/projects/{projectKey}/users/{user} (the `AddOrUpdateProjectUser` operationId).

func (*ClientWithResponses) AttachRepositoryToProjectWithResponse

func (c *ClientWithResponses) AttachRepositoryToProjectWithResponse(ctx context.Context, repoName string, targetProjectKey string, params *AttachRepositoryToProjectParams, reqEditors ...RequestEditorFn) (*AttachRepositoryToProjectResponse, error)

AttachRepositoryToProjectWithResponse Assign a repository to a project

Makes targetProjectKey the owner of the repository, moving it from its current project when force is true. The assignment is visible synchronously: when the call returns, the repository's configuration (GET /artifactory/api/repositories/{key}) already carries projectKey. The repository key is not renamed. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/projects/_/attach/repositories/{repoName}/{targetProjectKey} (the `AttachRepositoryToProject` operationId).

func (*ClientWithResponses) ChangeUserPasswordWithBodyWithResponse

func (c *ClientWithResponses) ChangeUserPasswordWithBodyWithResponse(ctx context.Context, username Username, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChangeUserPasswordResponse, error)

ChangeUserPasswordWithBodyWithResponse Set a user's password

Replaces the user's internal password. A platform admin may set any user's password; any user may set their own. The new value must satisfy the password policy and, when the policy forbids reuse, differ from the current one. Answers 204 with no body.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/users/{username}/password (the `ChangeUserPassword` operationId).

func (*ClientWithResponses) ChangeUserPasswordWithResponse

func (c *ClientWithResponses) ChangeUserPasswordWithResponse(ctx context.Context, username Username, body ChangeUserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*ChangeUserPasswordResponse, error)

ChangeUserPasswordWithResponse Set a user's password

Replaces the user's internal password. A platform admin may set any user's password; any user may set their own. The new value must satisfy the password policy and, when the policy forbids reuse, differ from the current one. Answers 204 with no body.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/users/{username}/password (the `ChangeUserPassword` operationId).

func (*ClientWithResponses) ConfigureAccessUserLockPolicyWithBodyWithResponse

func (c *ClientWithResponses) ConfigureAccessUserLockPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfigureAccessUserLockPolicyResponse, error)

ConfigureAccessUserLockPolicyWithBodyWithResponse Replace the user lock policy

Replaces the user lock policy and returns what was stored. Send every field; an omitted field is stored as 0 or false, not as its default. To change one setting, read the policy and send it back with that field changed. Setting attempts to 0 unlocks every locked user. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/config/security/user_lock_policy (the `ConfigureAccessUserLockPolicy` operationId).

func (*ClientWithResponses) ConfigureAccessUserLockPolicyWithResponse

func (c *ClientWithResponses) ConfigureAccessUserLockPolicyWithResponse(ctx context.Context, body ConfigureAccessUserLockPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfigureAccessUserLockPolicyResponse, error)

ConfigureAccessUserLockPolicyWithResponse Replace the user lock policy

Replaces the user lock policy and returns what was stored. Send every field; an omitted field is stored as 0 or false, not as its default. To change one setting, read the policy and send it back with that field changed. Setting attempts to 0 unlocks every locked user. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/config/security/user_lock_policy (the `ConfigureAccessUserLockPolicy` operationId).

func (*ClientWithResponses) CreateGlobalEnvironmentWithBodyWithResponse

func (c *ClientWithResponses) CreateGlobalEnvironmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGlobalEnvironmentResponse, error)

CreateGlobalEnvironmentWithBodyWithResponse Create a global environment

Creates an environment and returns it with status 201. Names are case-insensitive and at most 32 characters; a name that differs from an existing one only by case answers 409. At most 10 global environments may exist by default, DEV and PROD among them; once that many exist, another answers 400. Admin only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/environments (the `CreateGlobalEnvironment` operationId).

func (*ClientWithResponses) CreateGlobalEnvironmentWithResponse

func (c *ClientWithResponses) CreateGlobalEnvironmentWithResponse(ctx context.Context, body CreateGlobalEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGlobalEnvironmentResponse, error)

CreateGlobalEnvironmentWithResponse Create a global environment

Creates an environment and returns it with status 201. Names are case-insensitive and at most 32 characters; a name that differs from an existing one only by case answers 409. At most 10 global environments may exist by default, DEV and PROD among them; once that many exist, another answers 400. Admin only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/environments (the `CreateGlobalEnvironment` operationId).

func (*ClientWithResponses) CreateGlobalRoleWithBodyWithResponse

func (c *ClientWithResponses) CreateGlobalRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGlobalRoleResponse, error)

CreateGlobalRoleWithBodyWithResponse Create a global role

Creates a CUSTOM_GLOBAL role that project admins can assign in any project. The response is 201 with {"code":"OK","message":"Role '<name>' created"}. Admin only. An existing name answers 409.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/roles (the `CreateGlobalRole` operationId).

func (*ClientWithResponses) CreateGlobalRoleWithResponse

func (c *ClientWithResponses) CreateGlobalRoleWithResponse(ctx context.Context, body CreateGlobalRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGlobalRoleResponse, error)

CreateGlobalRoleWithResponse Create a global role

Creates a CUSTOM_GLOBAL role that project admins can assign in any project. The response is 201 with {"code":"OK","message":"Role '<name>' created"}. Admin only. An existing name answers 409.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/roles (the `CreateGlobalRole` operationId).

func (*ClientWithResponses) CreateGroupWithBodyWithResponse

func (c *ClientWithResponses) CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)

CreateGroupWithBodyWithResponse Create a group

Creates a group and returns its details with status 201. members and import_from_ldap_group_setting are mutually exclusive: a group either lists its members or takes them from an LDAP group setting (LDAP import is not supported and answers 400). Admin only. An existing name answers 409.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/groups (the `CreateGroup` operationId).

func (*ClientWithResponses) CreateGroupWithResponse

func (c *ClientWithResponses) CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)

CreateGroupWithResponse Create a group

Creates a group and returns its details with status 201. members and import_from_ldap_group_setting are mutually exclusive: a group either lists its members or takes them from an LDAP group setting (LDAP import is not supported and answers 400). Admin only. An existing name answers 409.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/groups (the `CreateGroup` operationId).

func (*ClientWithResponses) CreateLdapGroupSettingsWithBodyWithResponse

func (c *ClientWithResponses) CreateLdapGroupSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLdapGroupSettingsResponse, error)

CreateLdapGroupSettingsWithBodyWithResponse Create an LDAP group setting

Defines how groups are read from the LDAP connection named in enabled_ldap and mapped to local groups. Answers 201 with the stored setting. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/ldap/groups (the `CreateLdapGroupSettings` operationId).

func (*ClientWithResponses) CreateLdapGroupSettingsWithResponse

func (c *ClientWithResponses) CreateLdapGroupSettingsWithResponse(ctx context.Context, body CreateLdapGroupSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLdapGroupSettingsResponse, error)

CreateLdapGroupSettingsWithResponse Create an LDAP group setting

Defines how groups are read from the LDAP connection named in enabled_ldap and mapped to local groups. Answers 201 with the stored setting. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/ldap/groups (the `CreateLdapGroupSettings` operationId).

func (*ClientWithResponses) CreateLdapSettingsWithBodyWithResponse

func (c *ClientWithResponses) CreateLdapSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLdapSettingsResponse, error)

CreateLdapSettingsWithBodyWithResponse Create an LDAP connection

Adds an LDAP server that login attempts are checked against, in addition to internal users. Answers 201 with the stored connection. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/ldap/settings (the `CreateLdapSettings` operationId).

func (*ClientWithResponses) CreateLdapSettingsWithResponse

func (c *ClientWithResponses) CreateLdapSettingsWithResponse(ctx context.Context, body CreateLdapSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLdapSettingsResponse, error)

CreateLdapSettingsWithResponse Create an LDAP connection

Adds an LDAP server that login attempts are checked against, in addition to internal users. Answers 201 with the stored connection. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/ldap/settings (the `CreateLdapSettings` operationId).

func (*ClientWithResponses) CreateOidcConfigurationWithBodyWithResponse

func (c *ClientWithResponses) CreateOidcConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOidcConfigurationResponse, error)

CreateOidcConfigurationWithBodyWithResponse Create an OIDC provider

Registers an external identity provider, typically a CI system, whose signed ID tokens may be exchanged for access tokens. Answers 200 with the stored configuration. A duplicate name or a GitHub provider type without organization is rejected with 400. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/oidc (the `CreateOidcConfiguration` operationId).

func (*ClientWithResponses) CreateOidcConfigurationWithResponse

func (c *ClientWithResponses) CreateOidcConfigurationWithResponse(ctx context.Context, body CreateOidcConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOidcConfigurationResponse, error)

CreateOidcConfigurationWithResponse Create an OIDC provider

Registers an external identity provider, typically a CI system, whose signed ID tokens may be exchanged for access tokens. Answers 200 with the stored configuration. A duplicate name or a GitHub provider type without organization is rejected with 400. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/oidc (the `CreateOidcConfiguration` operationId).

func (*ClientWithResponses) CreateOidcIdentityMappingWithBodyWithResponse

func (c *ClientWithResponses) CreateOidcIdentityMappingWithBodyWithResponse(ctx context.Context, providerName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOidcIdentityMappingResponse, error)

CreateOidcIdentityMappingWithBodyWithResponse Create an identity mapping

Adds a rule to a provider: when a presented ID token carries every claim in claims, the exchange issues a token described by token_spec. Answers 200 with the stored mapping, including the project_key derived from its scope. A scope that names project roles in more than one project is refused with 400. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/oidc/{provider_name}/identity_mappings (the `CreateOidcIdentityMapping` operationId).

func (*ClientWithResponses) CreateOidcIdentityMappingWithResponse

func (c *ClientWithResponses) CreateOidcIdentityMappingWithResponse(ctx context.Context, providerName string, body CreateOidcIdentityMappingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOidcIdentityMappingResponse, error)

CreateOidcIdentityMappingWithResponse Create an identity mapping

Adds a rule to a provider: when a presented ID token carries every claim in claims, the exchange issues a token described by token_spec. Answers 200 with the stored mapping, including the project_key derived from its scope. A scope that names project roles in more than one project is refused with 400. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/oidc/{provider_name}/identity_mappings (the `CreateOidcIdentityMapping` operationId).

func (*ClientWithResponses) CreatePairingTokenWithResponse

func (c *ClientWithResponses) CreatePairingTokenWithResponse(ctx context.Context, useCase CreatePairingTokenParamsUseCase, reqEditors ...RequestEditorFn) (*CreatePairingTokenResponse, error)

CreatePairingTokenWithResponse Create a pairing token

Issues a single-use pairing token on this instance so that another instance of this server can establish mutual trust with it over the peer protocol (decision 0021). Run it on the instance that is to be trusted, hand the token to the administrator of the other instance, who redeems it there, for example when adding this instance as a follower (POST /pfed/api/v1/jpd) or registering it as an Access federation target. Redeeming exchanges per-peer keys that are sealed at rest (decision 0017); the token itself is never stored in clear and stops working once redeemed or when it expires, 300 seconds after issue by default (configurable). Only the platform-federation use case is supported; mission-control and bridge answer 501. The peer must be another instance of this server. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/service_trust/pairing/{useCase} (the `CreatePairingToken` operationId).

func (*ClientWithResponses) CreatePasswordPolicyWithBodyWithResponse

func (c *ClientWithResponses) CreatePasswordPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePasswordPolicyResponse, error)

CreatePasswordPolicyWithBodyWithResponse Replace the password policy

Replaces the whole password policy that internal users' passwords must satisfy. Every field not supplied returns to its default, so an empty object resets the policy. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/config/security/password_policy (the `CreatePasswordPolicy` operationId).

func (*ClientWithResponses) CreatePasswordPolicyWithResponse

func (c *ClientWithResponses) CreatePasswordPolicyWithResponse(ctx context.Context, body CreatePasswordPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePasswordPolicyResponse, error)

CreatePasswordPolicyWithResponse Replace the password policy

Replaces the whole password policy that internal users' passwords must satisfy. Every field not supplied returns to its default, so an empty object resets the policy. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/config/security/password_policy (the `CreatePasswordPolicy` operationId).

func (*ClientWithResponses) CreatePermissionWithBodyWithResponse

func (c *ClientWithResponses) CreatePermissionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePermissionResponse, error)

CreatePermissionWithBodyWithResponse Create a permission

Creates a permission in the Access v2 model and returns it with status 201. The /artifactory/api/security/permissions and /artifactory/api/v2/security/permissions endpoints are views of the same record. Every principal, repository and build target named in the body must exist, except the special targets ANY, ANY LOCAL, ANY REMOTE and ANY DISTRIBUTION. Requires a platform admin or a Manage Resources holder. An existing name answers 409.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/permissions (the `CreatePermission` operationId).

func (*ClientWithResponses) CreatePermissionWithResponse

func (c *ClientWithResponses) CreatePermissionWithResponse(ctx context.Context, body CreatePermissionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePermissionResponse, error)

CreatePermissionWithResponse Create a permission

Creates a permission in the Access v2 model and returns it with status 201. The /artifactory/api/security/permissions and /artifactory/api/v2/security/permissions endpoints are views of the same record. Every principal, repository and build target named in the body must exist, except the special targets ANY, ANY LOCAL, ANY REMOTE and ANY DISTRIBUTION. Requires a platform admin or a Manage Resources holder. An existing name answers 409.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/permissions (the `CreatePermission` operationId).

func (*ClientWithResponses) CreateProjectEnvironmentWithBodyWithResponse

func (c *ClientWithResponses) CreateProjectEnvironmentWithBodyWithResponse(ctx context.Context, projectKey ProjectKey, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectEnvironmentResponse, error)

CreateProjectEnvironmentWithBodyWithResponse Create a project environment

Creates an environment scoped to the project and returns it with status 201. A project may hold at most ten environments by default. The name must not collide with a global environment. Requires a platform admin or an admin of the project.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/projects/{projectKey}/environments (the `CreateProjectEnvironment` operationId).

func (*ClientWithResponses) CreateProjectEnvironmentWithResponse

func (c *ClientWithResponses) CreateProjectEnvironmentWithResponse(ctx context.Context, projectKey ProjectKey, body CreateProjectEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectEnvironmentResponse, error)

CreateProjectEnvironmentWithResponse Create a project environment

Creates an environment scoped to the project and returns it with status 201. A project may hold at most ten environments by default. The name must not collide with a global environment. Requires a platform admin or an admin of the project.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/projects/{projectKey}/environments (the `CreateProjectEnvironment` operationId).

func (*ClientWithResponses) CreateProjectRoleWithBodyWithResponse

func (c *ClientWithResponses) CreateProjectRoleWithBodyWithResponse(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectRoleResponse, error)

CreateProjectRoleWithBodyWithResponse Create a custom project role

Defines a CUSTOM role in the project. Unknown actions and unknown environments are rejected with 400; a name already used in the project is rejected with 400. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/projects/{projectKey}/roles (the `CreateProjectRole` operationId).

func (*ClientWithResponses) CreateProjectRoleWithResponse

func (c *ClientWithResponses) CreateProjectRoleWithResponse(ctx context.Context, projectKey string, body CreateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectRoleResponse, error)

CreateProjectRoleWithResponse Create a custom project role

Defines a CUSTOM role in the project. Unknown actions and unknown environments are rejected with 400; a name already used in the project is rejected with 400. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/projects/{projectKey}/roles (the `CreateProjectRole` operationId).

func (*ClientWithResponses) CreateProjectWithBodyWithResponse

func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

CreateProjectWithBodyWithResponse Create a project

Creates a project with no members, the predefined roles and no repositories. The key is immutable afterwards. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/projects (the `CreateProject` operationId).

func (*ClientWithResponses) CreateProjectWithResponse

func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

CreateProjectWithResponse Create a project

Creates a project with no members, the predefined roles and no repositories. The key is immutable afterwards. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/projects (the `CreateProject` operationId).

func (*ClientWithResponses) CreateSamlSettingWithBodyWithResponse

func (c *ClientWithResponses) CreateSamlSettingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSamlSettingResponse, error)

CreateSamlSettingWithBodyWithResponse Create a SAML setting (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/saml (the `CreateSamlSetting` operationId).

func (*ClientWithResponses) CreateSamlSettingWithResponse

func (c *ClientWithResponses) CreateSamlSettingWithResponse(ctx context.Context, body CreateSamlSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSamlSettingResponse, error)

CreateSamlSettingWithResponse Create a SAML setting (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/saml (the `CreateSamlSetting` operationId).

func (*ClientWithResponses) CreateScimGroupWithApplicationScimPlusJSONBodyWithResponse

func (c *ClientWithResponses) CreateScimGroupWithApplicationScimPlusJSONBodyWithResponse(ctx context.Context, body CreateScimGroupApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateScimGroupResponse, error)

CreateScimGroupWithApplicationScimPlusJSONBodyWithResponse Create a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/scim+json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/scim/v2/Groups (the `CreateScimGroup` operationId).

func (*ClientWithResponses) CreateScimGroupWithBodyWithResponse

func (c *ClientWithResponses) CreateScimGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateScimGroupResponse, error)

CreateScimGroupWithBodyWithResponse Create a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/scim/v2/Groups (the `CreateScimGroup` operationId).

func (*ClientWithResponses) CreateScimUserWithApplicationScimPlusJSONBodyWithResponse

func (c *ClientWithResponses) CreateScimUserWithApplicationScimPlusJSONBodyWithResponse(ctx context.Context, body CreateScimUserApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateScimUserResponse, error)

CreateScimUserWithApplicationScimPlusJSONBodyWithResponse Create a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/scim+json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/scim/v2/Users (the `CreateScimUser` operationId).

func (*ClientWithResponses) CreateScimUserWithBodyWithResponse

func (c *ClientWithResponses) CreateScimUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateScimUserResponse, error)

CreateScimUserWithBodyWithResponse Create a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/scim/v2/Users (the `CreateScimUser` operationId).

func (*ClientWithResponses) CreateTokenWithBodyWithResponse

func (c *ClientWithResponses) CreateTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)

CreateTokenWithBodyWithResponse Create or refresh an access token

With grant_type client_credentials (the default) mints a new access token for username, or for the caller when username is omitted. With grant_type refresh_token exchanges refresh_token for a new access token with the same scope and audience. The body may be JSON or form-encoded. A non-admin may only mint identity tokens for themselves (scope applied-permissions/user). Admins may mint any scope that a user already holds; scopes only narrow. A transient user, the subject of a token minted for a name that is no stored user or of an OIDC exchange, mints for itself a token with its own token's scope that resolves to the same transient user. That token expires no later than the caller's own token, and may be refreshable only when the caller's own token is, or the request is refused with 403. A user name and password sent with Basic mint a token only while the token.allow_basic_auth setting is on, which it is not by default; an access or reference token, as Bearer or as the Basic password, always may. The response status is 200 and the body always carries token_id.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/tokens (the `CreateToken` operationId).

func (*ClientWithResponses) CreateTokenWithFormdataBodyWithResponse

func (c *ClientWithResponses) CreateTokenWithFormdataBodyWithResponse(ctx context.Context, body CreateTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)

CreateTokenWithFormdataBodyWithResponse Create or refresh an access token

With grant_type client_credentials (the default) mints a new access token for username, or for the caller when username is omitted. With grant_type refresh_token exchanges refresh_token for a new access token with the same scope and audience. The body may be JSON or form-encoded. A non-admin may only mint identity tokens for themselves (scope applied-permissions/user). Admins may mint any scope that a user already holds; scopes only narrow. A transient user, the subject of a token minted for a name that is no stored user or of an OIDC exchange, mints for itself a token with its own token's scope that resolves to the same transient user. That token expires no later than the caller's own token, and may be refreshable only when the caller's own token is, or the request is refused with 403. A user name and password sent with Basic mint a token only while the token.allow_basic_auth setting is on, which it is not by default; an access or reference token, as Bearer or as the Basic password, always may. The response status is 200 and the body always carries token_id.

Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/tokens (the `CreateToken` operationId).

func (*ClientWithResponses) CreateTokenWithResponse

func (c *ClientWithResponses) CreateTokenWithResponse(ctx context.Context, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)

CreateTokenWithResponse Create or refresh an access token

With grant_type client_credentials (the default) mints a new access token for username, or for the caller when username is omitted. With grant_type refresh_token exchanges refresh_token for a new access token with the same scope and audience. The body may be JSON or form-encoded. A non-admin may only mint identity tokens for themselves (scope applied-permissions/user). Admins may mint any scope that a user already holds; scopes only narrow. A transient user, the subject of a token minted for a name that is no stored user or of an OIDC exchange, mints for itself a token with its own token's scope that resolves to the same transient user. That token expires no later than the caller's own token, and may be refreshable only when the caller's own token is, or the request is refused with 403. A user name and password sent with Basic mint a token only while the token.allow_basic_auth setting is on, which it is not by default; an access or reference token, as Bearer or as the Basic password, always may. The response status is 200 and the body always carries token_id.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/tokens (the `CreateToken` operationId).

func (*ClientWithResponses) CreateUserWithBodyWithResponse

func (c *ClientWithResponses) CreateUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserResponse, error)

CreateUserWithBodyWithResponse Create a user

Creates an internal user and returns its details with status 201. The same internal user record backs the /artifactory/api/security/users endpoint. Admin only. A username that already exists answers 409.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/users (the `CreateUser` operationId).

func (*ClientWithResponses) CreateUserWithResponse

func (c *ClientWithResponses) CreateUserWithResponse(ctx context.Context, body CreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserResponse, error)

CreateUserWithResponse Create a user

Creates an internal user and returns its details with status 201. The same internal user record backs the /artifactory/api/security/users endpoint. Admin only. A username that already exists answers 409.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/users (the `CreateUser` operationId).

func (*ClientWithResponses) DeleteAccessFederationWithResponse

func (c *ClientWithResponses) DeleteAccessFederationWithResponse(ctx context.Context, serverName string, reqEditors ...RequestEditorFn) (*DeleteAccessFederationResponse, error)

DeleteAccessFederationWithResponse Unregister a federation target

Removes a federation target and discards changes still queued for it. Entities already replicated to the peer stay there; the peer's pairing with this instance is not revoked. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/system/federation/{serverName} (the `DeleteAccessFederation` operationId).

func (*ClientWithResponses) DeleteAwsIamRoleWithResponse

func (c *ClientWithResponses) DeleteAwsIamRoleWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*DeleteAwsIamRoleResponse, error)

DeleteAwsIamRoleWithResponse Remove a user's AWS IAM role (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/aws/iam_role/{username} (the `DeleteAwsIamRole` operationId).

func (*ClientWithResponses) DeleteGlobalEnvironmentWithResponse

func (c *ClientWithResponses) DeleteGlobalEnvironmentWithResponse(ctx context.Context, environmentName EnvironmentName, reqEditors ...RequestEditorFn) (*DeleteGlobalEnvironmentResponse, error)

DeleteGlobalEnvironmentWithResponse Delete a global environment

Removes an environment. DEV and PROD cannot be deleted, nor can an environment that repositories or global roles still name; both answer 400. Admin only. Answers 204 with no body.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/environments/{environmentName} (the `DeleteGlobalEnvironment` operationId).

func (*ClientWithResponses) DeleteGlobalRoleWithResponse

func (c *ClientWithResponses) DeleteGlobalRoleWithResponse(ctx context.Context, role RoleName, reqEditors ...RequestEditorFn) (*DeleteGlobalRoleResponse, error)

DeleteGlobalRoleWithResponse Delete a global role

Removes a CUSTOM_GLOBAL role and every assignment of it. Built-in roles answer 400. Admin only. Answers 204 with no body.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/roles/{role} (the `DeleteGlobalRole` operationId).

func (*ClientWithResponses) DeleteGroupWithResponse

func (c *ClientWithResponses) DeleteGroupWithResponse(ctx context.Context, name GroupName, reqEditors ...RequestEditorFn) (*DeleteGroupResponse, error)

DeleteGroupWithResponse Delete a group

Removes the group, its memberships and its entries in permission targets. The built-in readers group can be deleted; a group that is the sole admin grant for the last admin cannot. Admin only. Answers 204 with no body.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v2/groups/{name} (the `DeleteGroup` operationId).

func (*ClientWithResponses) DeleteLdapGroupSettingsWithResponse

func (c *ClientWithResponses) DeleteLdapGroupSettingsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteLdapGroupSettingsResponse, error)

DeleteLdapGroupSettingsWithResponse Delete an LDAP group setting

Removes the group setting. Groups already imported through it remain as local groups. Returns 204. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/ldap/groups/{name} (the `DeleteLdapGroupSettings` operationId).

func (*ClientWithResponses) DeleteLdapSettingsWithResponse

func (c *ClientWithResponses) DeleteLdapSettingsWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*DeleteLdapSettingsResponse, error)

DeleteLdapSettingsWithResponse Delete an LDAP connection

Removes the connection. Users created through it keep their local accounts but can no longer log in through it, and group settings that name it in enabled_ldap stop synchronising. Returns 204. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/ldap/settings/{key} (the `DeleteLdapSettings` operationId).

func (*ClientWithResponses) DeleteOidcConfigurationWithResponse

func (c *ClientWithResponses) DeleteOidcConfigurationWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteOidcConfigurationResponse, error)

DeleteOidcConfigurationWithResponse Delete an OIDC provider

Removes the provider and its identity mappings, so token exchanges that name it fail from then on. Tokens already issued through it stay valid until they expire or are revoked. Returns 204. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/oidc/{name} (the `DeleteOidcConfiguration` operationId).

func (*ClientWithResponses) DeleteOidcIdentityMappingWithResponse

func (c *ClientWithResponses) DeleteOidcIdentityMappingWithResponse(ctx context.Context, providerName string, mappingName string, reqEditors ...RequestEditorFn) (*DeleteOidcIdentityMappingResponse, error)

DeleteOidcIdentityMappingWithResponse Delete an identity mapping

Removes one identity mapping. Tokens already issued through it stay valid. Returns 204. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `DeleteOidcIdentityMapping` operationId).

func (*ClientWithResponses) DeletePermissionResourceWithResponse

func (c *ClientWithResponses) DeletePermissionResourceWithResponse(ctx context.Context, permissionName PermissionName, resourceType DeletePermissionResourceParamsResourceType, reqEditors ...RequestEditorFn) (*DeletePermissionResourceResponse, error)

DeletePermissionResourceWithResponse Delete one resource section

Removes the section for the resource type; the permission itself stays, even when it ends up with no sections. Requires a platform admin or a Manage Resources holder. Answers 204 with no body.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v2/permissions/{permissionName}/{resourceType} (the `DeletePermissionResource` operationId).

func (*ClientWithResponses) DeletePermissionWithResponse

func (c *ClientWithResponses) DeletePermissionWithResponse(ctx context.Context, permissionName PermissionName, reqEditors ...RequestEditorFn) (*DeletePermissionResponse, error)

DeletePermissionWithResponse Delete a permission

Removes the permission and every grant it carried. Requires a platform admin or a Manage Resources holder. Answers 204 with no body.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v2/permissions/{permissionName} (the `DeletePermission` operationId).

func (*ClientWithResponses) DeleteProjectEnvironmentWithResponse

func (c *ClientWithResponses) DeleteProjectEnvironmentWithResponse(ctx context.Context, projectKey ProjectKey, environmentName EnvironmentName, reqEditors ...RequestEditorFn) (*DeleteProjectEnvironmentResponse, error)

DeleteProjectEnvironmentWithResponse Delete a project environment

Removes a project environment that no repository in the project still uses. Requires a platform admin or an admin of the project. Answers 204 with no body.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/projects/{projectKey}/environments/{environmentName} (the `DeleteProjectEnvironment` operationId).

func (*ClientWithResponses) DeleteProjectGroupWithResponse

func (c *ClientWithResponses) DeleteProjectGroupWithResponse(ctx context.Context, projectKey string, group string, reqEditors ...RequestEditorFn) (*DeleteProjectGroupResponse, error)

DeleteProjectGroupWithResponse Remove a group from a project

Removes the group's roles in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/projects/{projectKey}/groups/{group} (the `DeleteProjectGroup` operationId).

func (*ClientWithResponses) DeleteProjectRoleWithResponse

func (c *ClientWithResponses) DeleteProjectRoleWithResponse(ctx context.Context, projectKey string, role string, reqEditors ...RequestEditorFn) (*DeleteProjectRoleResponse, error)

DeleteProjectRoleWithResponse Delete a custom project role

Deletes a CUSTOM role and removes it from every member that held it. Predefined roles cannot be deleted (400). Requires a platform admin, or a project admin of this project with the manage_members privilege.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/projects/{projectKey}/roles/{role} (the `DeleteProjectRole` operationId).

func (*ClientWithResponses) DeleteProjectUserWithResponse

func (c *ClientWithResponses) DeleteProjectUserWithResponse(ctx context.Context, projectKey string, user string, reqEditors ...RequestEditorFn) (*DeleteProjectUserResponse, error)

DeleteProjectUserWithResponse Remove a user from a project

Removes the user's direct roles in the project. Roles held through groups remain. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/projects/{projectKey}/users/{user} (the `DeleteProjectUser` operationId).

func (*ClientWithResponses) DeleteProjectWithResponse

func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)

DeleteProjectWithResponse Delete a project

Deletes the project, its custom roles and memberships. The project's repositories are not deleted: they are unassigned and keep their keys. Deleting a project that still owns repositories is allowed. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/projects/{projectKey} (the `DeleteProject` operationId).

func (*ClientWithResponses) DeleteSamlSettingWithResponse

func (c *ClientWithResponses) DeleteSamlSettingWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteSamlSettingResponse, error)

DeleteSamlSettingWithResponse Delete a SAML setting (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/saml/{name} (the `DeleteSamlSetting` operationId).

func (*ClientWithResponses) DeleteScimGroupWithResponse

func (c *ClientWithResponses) DeleteScimGroupWithResponse(ctx context.Context, groupName string, reqEditors ...RequestEditorFn) (*DeleteScimGroupResponse, error)

DeleteScimGroupWithResponse Delete a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/scim/v2/Groups/{groupName} (the `DeleteScimGroup` operationId).

func (*ClientWithResponses) DeleteScimUserWithResponse

func (c *ClientWithResponses) DeleteScimUserWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*DeleteScimUserResponse, error)

DeleteScimUserWithResponse Delete a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/scim/v2/Users/{username} (the `DeleteScimUser` operationId).

func (*ClientWithResponses) DeleteUserWithResponse

func (c *ClientWithResponses) DeleteUserWithResponse(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*DeleteUserResponse, error)

DeleteUserWithResponse Delete a user

Removes the user, its group memberships, its tokens and its entries in permission targets. The built-in admin and anonymous users cannot be deleted. Admin only. Answers 204 with no body.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v2/users/{username} (the `DeleteUser` operationId).

func (*ClientWithResponses) DeleteVaultConfigurationWithResponse

func (c *ClientWithResponses) DeleteVaultConfigurationWithResponse(ctx context.Context, vaultKey string, reqEditors ...RequestEditorFn) (*DeleteVaultConfigurationResponse, error)

DeleteVaultConfigurationWithResponse Delete a Vault connection

Removes the connection. Keypairs that name it can no longer sign until a connection with the same key is stored again. Returns 204. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/vault/configs/{vault_key} (the `DeleteVaultConfiguration` operationId).

func (*ClientWithResponses) EnableCloudLogCollectionWithBodyWithResponse

func (c *ClientWithResponses) EnableCloudLogCollectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnableCloudLogCollectionResponse, error)

EnableCloudLogCollectionWithBodyWithResponse Switch cloud log collection (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/logshipping/config (the `EnableCloudLogCollection` operationId).

func (*ClientWithResponses) EnableCloudLogCollectionWithResponse

func (c *ClientWithResponses) EnableCloudLogCollectionWithResponse(ctx context.Context, body EnableCloudLogCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*EnableCloudLogCollectionResponse, error)

EnableCloudLogCollectionWithResponse Switch cloud log collection (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/logshipping/config (the `EnableCloudLogCollection` operationId).

func (*ClientWithResponses) ExpirePasswordForAllUsersWithResponse

func (c *ClientWithResponses) ExpirePasswordForAllUsersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExpirePasswordForAllUsersResponse, error)

ExpirePasswordForAllUsersWithResponse Expire every internal password

Marks every internal user's password as expired so each user must set a new one at next login. Users with internal_password_disabled are unaffected. Admin only. Responds with a plain text confirmation.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/users/expire_password_for_all_users (the `ExpirePasswordForAllUsers` operationId).

func (*ClientWithResponses) ExpireUserPasswordWithResponse

func (c *ClientWithResponses) ExpireUserPasswordWithResponse(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*ExpireUserPasswordResponse, error)

ExpireUserPasswordWithResponse Expire a user's password

Marks the user's password as expired so they must change it at next login. Admin only. Answers 204 with no body.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/users/{username}/password/expire (the `ExpireUserPassword` operationId).

func (*ClientWithResponses) ExportAccessConfigurationWithResponse

func (c *ClientWithResponses) ExportAccessConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExportAccessConfigurationResponse, error)

ExportAccessConfigurationWithResponse Export the Access configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/system/backup/export (the `ExportAccessConfiguration` operationId).

func (*ClientWithResponses) FullBroadcastAccessFederationWithResponse

func (c *ClientWithResponses) FullBroadcastAccessFederationWithResponse(ctx context.Context, serverName string, reqEditors ...RequestEditorFn) (*FullBroadcastAccessFederationResponse, error)

FullBroadcastAccessFederationWithResponse Run a full broadcast to a target

Sends the complete current set of selected identity entities to the target, after which the target matches this instance for those entities (the full-sync fallback of decision 0021). Use it after a long outage or when the incremental outbox was discarded. The broadcast runs in the background; at most one runs per target. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/system/federation/{serverName}/full_broadcast (the `FullBroadcastAccessFederation` operationId).

func (*ClientWithResponses) GetAccessFederationWithResponse

func (c *ClientWithResponses) GetAccessFederationWithResponse(ctx context.Context, serverName string, reqEditors ...RequestEditorFn) (*GetAccessFederationResponse, error)

GetAccessFederationWithResponse Get a federation target

Returns one federation target by name. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/system/federation/{serverName} (the `GetAccessFederation` operationId).

func (*ClientWithResponses) GetAccessUserLockPolicyWithResponse

func (c *ClientWithResponses) GetAccessUserLockPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccessUserLockPolicyResponse, error)

GetAccessUserLockPolicyWithResponse Get the user lock policy

Returns the user lock policy. A setting never changed reports its default. Reads the same state as GET /artifactory/api/security/userLockPolicy and GET /artifactory/api/security/configuration/passwordExpirationPolicy. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/config/security/user_lock_policy (the `GetAccessUserLockPolicy` operationId).

func (*ClientWithResponses) GetAccessVersionWithResponse

func (c *ClientWithResponses) GetAccessVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccessVersionResponse, error)

GetAccessVersionWithResponse Access compatibility version

Returns the compatibility version in name and version, the same value as /artifactory/api/system/version reports.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/system/version (the `GetAccessVersion` operationId).

func (*ClientWithResponses) GetAllAccessFederationsWithResponse

func (c *ClientWithResponses) GetAllAccessFederationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllAccessFederationsResponse, error)

GetAllAccessFederationsWithResponse List federation targets

Returns every Access federation target registered on this instance, active or paused. Administrators only. A target is always another instance of this server; no other kind of federation peer is supported (decision 0025).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/system/federation (the `GetAllAccessFederations` operationId).

func (*ClientWithResponses) GetAllGlobalRolesWithResponse

func (c *ClientWithResponses) GetAllGlobalRolesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllGlobalRolesResponse, error)

GetAllGlobalRolesWithResponse List global roles

Returns every global role: the built-in ADMIN and PREDEFINED roles and the CUSTOM_GLOBAL roles created through this API. Admin only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/roles (the `GetAllGlobalRoles` operationId).

func (*ClientWithResponses) GetAllLdapGroupSettingsWithResponse

func (c *ClientWithResponses) GetAllLdapGroupSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllLdapGroupSettingsResponse, error)

GetAllLdapGroupSettingsWithResponse List LDAP group settings

Returns every LDAP group synchronisation setting. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/ldap/groups (the `GetAllLdapGroupSettings` operationId).

func (*ClientWithResponses) GetAllLdapSettingsWithResponse

func (c *ClientWithResponses) GetAllLdapSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllLdapSettingsResponse, error)

GetAllLdapSettingsWithResponse List LDAP connections

Returns every LDAP server connection that logins are checked against. Manager passwords are never returned. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/ldap/settings (the `GetAllLdapSettings` operationId).

func (*ClientWithResponses) GetAllOidcConfigurationsWithResponse

func (c *ClientWithResponses) GetAllOidcConfigurationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllOidcConfigurationsResponse, error)

GetAllOidcConfigurationsWithResponse List OIDC providers

Returns every OpenID Connect provider whose ID tokens the token exchange (POST /api/v1/oidc/token) trusts. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/oidc (the `GetAllOidcConfigurations` operationId).

func (*ClientWithResponses) GetAllSamlSettingsWithResponse

func (c *ClientWithResponses) GetAllSamlSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllSamlSettingsResponse, error)

GetAllSamlSettingsWithResponse List SAML settings (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/saml (the `GetAllSamlSettings` operationId).

func (*ClientWithResponses) GetAwsIamRoleWithResponse

func (c *ClientWithResponses) GetAwsIamRoleWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*GetAwsIamRoleResponse, error)

GetAwsIamRoleWithResponse Get a user's AWS IAM role (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/aws/iam_role/{username} (the `GetAwsIamRole` operationId).

func (*ClientWithResponses) GetBasicAuthenticationStatusWithResponse

func (c *ClientWithResponses) GetBasicAuthenticationStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBasicAuthenticationStatusResponse, error)

GetBasicAuthenticationStatusWithResponse Get the basic authentication switch

Returns whether usernames and passwords are accepted over HTTP Basic. When the switch is off, only access tokens and reference tokens authenticate (decision 0005). Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/config/security/authentication/basic_authentication_enabled (the `GetBasicAuthenticationStatus` operationId).

func (*ClientWithResponses) GetCaCertificateWithResponse

func (c *ClientWithResponses) GetCaCertificateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCaCertificateResponse, error)

GetCaCertificateWithResponse Get the CA certificate

Returns, as PEM text, the public certificate of the authority that signs the instance's internal service certificates. The server generates the authority on first start and keeps its key sealed (decision 0017). Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/cert/ca (the `GetCaCertificate` operationId).

func (*ClientWithResponses) GetCrowdConfigurationWithResponse

func (c *ClientWithResponses) GetCrowdConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCrowdConfigurationResponse, error)

GetCrowdConfigurationWithResponse Get the Crowd configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/crowd (the `GetCrowdConfiguration` operationId).

func (*ClientWithResponses) GetGlobalEnvironmentsWithResponse

func (c *ClientWithResponses) GetGlobalEnvironmentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGlobalEnvironmentsResponse, error)

GetGlobalEnvironmentsWithResponse List global environments

Returns every global environment, including the built-in DEV and PROD. Every repository belongs to exactly one environment (DEV by default). Admin only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/environments (the `GetGlobalEnvironments` operationId).

func (*ClientWithResponses) GetGlobalRoleWithResponse

func (c *ClientWithResponses) GetGlobalRoleWithResponse(ctx context.Context, role RoleName, reqEditors ...RequestEditorFn) (*GetGlobalRoleResponse, error)

GetGlobalRoleWithResponse Get a global role

Returns one global role by name. Admin only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/roles/{role} (the `GetGlobalRole` operationId).

func (*ClientWithResponses) GetGroupDetailsWithResponse

func (c *ClientWithResponses) GetGroupDetailsWithResponse(ctx context.Context, name GroupName, reqEditors ...RequestEditorFn) (*GetGroupDetailsResponse, error)

GetGroupDetailsWithResponse Get a group

Returns the group including its member usernames. Requires a platform admin or the system:identities:r scope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/groups/{name} (the `GetGroupDetails` operationId).

func (*ClientWithResponses) GetGroupListWithResponse

func (c *ClientWithResponses) GetGroupListWithResponse(ctx context.Context, params *GetGroupListParams, reqEditors ...RequestEditorFn) (*GetGroupListResponse, error)

GetGroupListWithResponse List groups

Returns one record per group as a cursor-paginated page. Requires a platform admin or the system:identities:r scope. Filters combine with AND.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/groups (the `GetGroupList` operationId).

func (*ClientWithResponses) GetHttpSsoConfigurationWithResponse

func (c *ClientWithResponses) GetHttpSsoConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHttpSsoConfigurationResponse, error)

GetHttpSsoConfigurationWithResponse Get the HTTP single sign-on configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/httpsso (the `GetHttpSsoConfiguration` operationId).

func (*ClientWithResponses) GetLdapGroupMappingStrategyWithResponse

func (c *ClientWithResponses) GetLdapGroupMappingStrategyWithResponse(ctx context.Context, params *GetLdapGroupMappingStrategyParams, reqEditors ...RequestEditorFn) (*GetLdapGroupMappingStrategyResponse, error)

GetLdapGroupMappingStrategyWithResponse Get a group mapping strategy

Returns the default filter and attribute names of one group mapping strategy, as a starting point for a new group setting. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/ldap/groups/strategy (the `GetLdapGroupMappingStrategy` operationId).

func (*ClientWithResponses) GetLdapGroupSettingsByNameWithResponse

func (c *ClientWithResponses) GetLdapGroupSettingsByNameWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetLdapGroupSettingsByNameResponse, error)

GetLdapGroupSettingsByNameWithResponse Get an LDAP group setting

Returns one LDAP group setting. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/ldap/groups/{name} (the `GetLdapGroupSettingsByName` operationId).

func (*ClientWithResponses) GetLdapSettingsByKeyWithResponse

func (c *ClientWithResponses) GetLdapSettingsByKeyWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetLdapSettingsByKeyResponse, error)

GetLdapSettingsByKeyWithResponse Get an LDAP connection

Returns one LDAP connection without its manager password. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/ldap/settings/{key} (the `GetLdapSettingsByKey` operationId).

func (*ClientWithResponses) GetOidcConfigurationWithResponse

func (c *ClientWithResponses) GetOidcConfigurationWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetOidcConfigurationResponse, error)

GetOidcConfigurationWithResponse Get an OIDC provider

Returns one provider configuration. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/oidc/{name} (the `GetOidcConfiguration` operationId).

func (*ClientWithResponses) GetOidcIdentityMappingByNameWithResponse

func (c *ClientWithResponses) GetOidcIdentityMappingByNameWithResponse(ctx context.Context, providerName string, mappingName string, reqEditors ...RequestEditorFn) (*GetOidcIdentityMappingByNameResponse, error)

GetOidcIdentityMappingByNameWithResponse Get an identity mapping

Returns one identity mapping of a provider. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `GetOidcIdentityMappingByName` operationId).

func (*ClientWithResponses) GetOidcIdentityMappingsWithResponse

func (c *ClientWithResponses) GetOidcIdentityMappingsWithResponse(ctx context.Context, providerName string, params *GetOidcIdentityMappingsParams, reqEditors ...RequestEditorFn) (*GetOidcIdentityMappingsResponse, error)

GetOidcIdentityMappingsWithResponse List identity mappings

Returns the identity mappings of one provider, optionally only those of one project. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/oidc/{provider_name}/identity_mappings (the `GetOidcIdentityMappings` operationId).

func (*ClientWithResponses) GetPermissionDetailsWithResponse

func (c *ClientWithResponses) GetPermissionDetailsWithResponse(ctx context.Context, permissionName PermissionName, reqEditors ...RequestEditorFn) (*GetPermissionDetailsResponse, error)

GetPermissionDetailsWithResponse Get a permission

Returns the full permission document. Requires a platform admin, a Manage Resources holder, the system:permissions:r scope, or MANAGE on every resource of the permission.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/permissions/{permissionName} (the `GetPermissionDetails` operationId).

func (*ClientWithResponses) GetPermissionResourceWithResponse

func (c *ClientWithResponses) GetPermissionResourceWithResponse(ctx context.Context, permissionName PermissionName, resourceType GetPermissionResourceParamsResourceType, reqEditors ...RequestEditorFn) (*GetPermissionResourceResponse, error)

GetPermissionResourceWithResponse Get one resource section of a permission

Returns the actions and targets of a single resource type within the permission. A permission that has no section for the type answers 404. Requires a platform admin or a Manage Resources holder.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/permissions/{permissionName}/{resourceType} (the `GetPermissionResource` operationId).

func (*ClientWithResponses) GetPermissionsWithResponse

func (c *ClientWithResponses) GetPermissionsWithResponse(ctx context.Context, params *GetPermissionsParams, reqEditors ...RequestEditorFn) (*GetPermissionsResponse, error)

GetPermissionsWithResponse List permissions

Returns permissions as a cursor-paginated page. Without filters the page holds name and uri per permission. With user or group filters it holds only permissions that grant something to those principals, and expand=true then returns the full PermissionDetails instead of the name and uri pair. Requires a platform admin, a holder of the Manage Resources role or the system:permissions:r scope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/permissions (the `GetPermissions` operationId).

func (*ClientWithResponses) GetProjectEnvironmentsWithResponse

func (c *ClientWithResponses) GetProjectEnvironmentsWithResponse(ctx context.Context, projectKey ProjectKey, reqEditors ...RequestEditorFn) (*GetProjectEnvironmentsResponse, error)

GetProjectEnvironmentsWithResponse List a project's environments

Returns the environments defined inside one project, which project roles and project repositories may reference in addition to the global ones. Requires a platform admin or an admin of the project.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/projects/{projectKey}/environments (the `GetProjectEnvironments` operationId).

func (*ClientWithResponses) GetProjectGroupWithResponse

func (c *ClientWithResponses) GetProjectGroupWithResponse(ctx context.Context, projectKey string, group string, reqEditors ...RequestEditorFn) (*GetProjectGroupResponse, error)

GetProjectGroupWithResponse Get a project group

Returns one group's roles in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/projects/{projectKey}/groups/{group} (the `GetProjectGroup` operationId).

func (*ClientWithResponses) GetProjectGroupsWithResponse

func (c *ClientWithResponses) GetProjectGroupsWithResponse(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*GetProjectGroupsResponse, error)

GetProjectGroupsWithResponse List project groups

Returns the groups holding a role in the project, with their roles. Requires a platform admin, or a project admin of this project with the manage_members privilege. A token scoped project:<key>/members/groups:r is also accepted.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/projects/{projectKey}/groups (the `GetProjectGroups` operationId).

func (*ClientWithResponses) GetProjectRepositoryStatusWithResponse

func (c *ClientWithResponses) GetProjectRepositoryStatusWithResponse(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*GetProjectRepositoryStatusResponse, error)

GetProjectRepositoryStatusWithResponse Get a repository's project status

Reports which project owns the repository and which projects it is shared with. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/projects/_/repositories/{repoName} (the `GetProjectRepositoryStatus` operationId).

func (*ClientWithResponses) GetProjectRoleWithResponse

func (c *ClientWithResponses) GetProjectRoleWithResponse(ctx context.Context, projectKey string, role string, reqEditors ...RequestEditorFn) (*GetProjectRoleResponse, error)

GetProjectRoleWithResponse Get a project role

Returns one role usable in the project. Requires a platform admin or an admin of the project.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/projects/{projectKey}/roles/{role} (the `GetProjectRole` operationId).

func (*ClientWithResponses) GetProjectRolesWithResponse

func (c *ClientWithResponses) GetProjectRolesWithResponse(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*GetProjectRolesResponse, error)

GetProjectRolesWithResponse List project roles

Returns every role usable in the project: the predefined roles, the project's custom roles and global custom roles. Requires a platform admin or an admin of the project. A token scoped project:<key>/roles:r is also accepted.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/projects/{projectKey}/roles (the `GetProjectRoles` operationId).

func (*ClientWithResponses) GetProjectUserWithResponse

func (c *ClientWithResponses) GetProjectUserWithResponse(ctx context.Context, projectKey string, user string, reqEditors ...RequestEditorFn) (*GetProjectUserResponse, error)

GetProjectUserWithResponse Get a project user

Returns one user's roles in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/projects/{projectKey}/users/{user} (the `GetProjectUser` operationId).

func (*ClientWithResponses) GetProjectUsersWithResponse

func (c *ClientWithResponses) GetProjectUsersWithResponse(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*GetProjectUsersResponse, error)

GetProjectUsersWithResponse List project users

Returns the users holding a direct role in the project, with their roles. Requires a platform admin, or a project admin of this project with the manage_members privilege. A token scoped project:<key>/members/users:r is also accepted.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/projects/{projectKey}/users (the `GetProjectUsers` operationId).

func (*ClientWithResponses) GetProjectWithResponse

func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)

GetProjectWithResponse Get a project

Returns one project. Requires a platform admin or an admin of the project.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/projects/{projectKey} (the `GetProject` operationId).

func (*ClientWithResponses) GetProjectsForRoleWithResponse

func (c *ClientWithResponses) GetProjectsForRoleWithResponse(ctx context.Context, params *GetProjectsForRoleParams, reqEditors ...RequestEditorFn) (*GetProjectsForRoleResponse, error)

GetProjectsForRoleWithResponse List projects that use a global role

Returns, one cursor page at a time, the projects in which the named global role is assigned to a member. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/projects (the `GetProjectsForRole` operationId).

func (*ClientWithResponses) GetProjectsListWithResponse

func (c *ClientWithResponses) GetProjectsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetProjectsListResponse, error)

GetProjectsListWithResponse List projects

Returns every project for a platform admin, and only the projects they administer for a project admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/projects (the `GetProjectsList` operationId).

func (*ClientWithResponses) GetRootCertificateWithResponse

func (c *ClientWithResponses) GetRootCertificateWithResponse(ctx context.Context, params *GetRootCertificateParams, reqEditors ...RequestEditorFn) (*GetRootCertificateResponse, error)

GetRootCertificateWithResponse Get the root certificate

Returns the certificate whose key signs the instance's access tokens, so that other services can verify them. By default the body is the base64 certificate on one line; with formatted=true it is a PEM block with header, footer and line breaks. Any authenticated caller may read it.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/cert/root (the `GetRootCertificate` operationId).

func (*ClientWithResponses) GetSamlGeneralSettingsWithResponse

func (c *ClientWithResponses) GetSamlGeneralSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSamlGeneralSettingsResponse, error)

GetSamlGeneralSettingsWithResponse Get the SAML switch (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/saml/general_settings (the `GetSamlGeneralSettings` operationId).

func (*ClientWithResponses) GetSamlSettingByNameWithResponse

func (c *ClientWithResponses) GetSamlSettingByNameWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetSamlSettingByNameResponse, error)

GetSamlSettingByNameWithResponse Get a SAML setting (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/saml/{name} (the `GetSamlSettingByName` operationId).

func (*ClientWithResponses) GetScimGroupByNameWithResponse

func (c *ClientWithResponses) GetScimGroupByNameWithResponse(ctx context.Context, groupName string, params *GetScimGroupByNameParams, reqEditors ...RequestEditorFn) (*GetScimGroupByNameResponse, error)

GetScimGroupByNameWithResponse Get a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/scim/v2/Groups/{groupName} (the `GetScimGroupByName` operationId).

func (*ClientWithResponses) GetScimGroupsWithResponse

func (c *ClientWithResponses) GetScimGroupsWithResponse(ctx context.Context, params *GetScimGroupsParams, reqEditors ...RequestEditorFn) (*GetScimGroupsResponse, error)

GetScimGroupsWithResponse List SCIM groups (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/scim/v2/Groups (the `GetScimGroups` operationId).

func (*ClientWithResponses) GetScimResourceTypesWithResponse

func (c *ClientWithResponses) GetScimResourceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScimResourceTypesResponse, error)

GetScimResourceTypesWithResponse List SCIM resource types (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/scim/v2/ResourceTypes (the `GetScimResourceTypes` operationId).

func (*ClientWithResponses) GetScimSchemaByIdWithResponse

func (c *ClientWithResponses) GetScimSchemaByIdWithResponse(ctx context.Context, schemaId string, reqEditors ...RequestEditorFn) (*GetScimSchemaByIdResponse, error)

GetScimSchemaByIdWithResponse Get a SCIM schema (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/scim/v2/Schemas/{schemaId} (the `GetScimSchemaById` operationId).

func (*ClientWithResponses) GetScimSchemasWithResponse

func (c *ClientWithResponses) GetScimSchemasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScimSchemasResponse, error)

GetScimSchemasWithResponse List SCIM schemas (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/scim/v2/Schemas (the `GetScimSchemas` operationId).

func (*ClientWithResponses) GetScimServiceProviderConfigWithResponse

func (c *ClientWithResponses) GetScimServiceProviderConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScimServiceProviderConfigResponse, error)

GetScimServiceProviderConfigWithResponse Get the SCIM service provider configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/scim/v2/ServiceProviderConfig (the `GetScimServiceProviderConfig` operationId).

func (*ClientWithResponses) GetScimUserByUsernameWithResponse

func (c *ClientWithResponses) GetScimUserByUsernameWithResponse(ctx context.Context, username string, params *GetScimUserByUsernameParams, reqEditors ...RequestEditorFn) (*GetScimUserByUsernameResponse, error)

GetScimUserByUsernameWithResponse Get a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/scim/v2/Users/{username} (the `GetScimUserByUsername` operationId).

func (*ClientWithResponses) GetScimUsersWithResponse

func (c *ClientWithResponses) GetScimUsersWithResponse(ctx context.Context, params *GetScimUsersParams, reqEditors ...RequestEditorFn) (*GetScimUsersResponse, error)

GetScimUsersWithResponse List SCIM users (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/scim/v2/Users (the `GetScimUsers` operationId).

func (*ClientWithResponses) GetTokenByIdWithResponse

func (c *ClientWithResponses) GetTokenByIdWithResponse(ctx context.Context, tokenId TokenId, reqEditors ...RequestEditorFn) (*GetTokenByIdResponse, error)

GetTokenByIdWithResponse Get a token's metadata

Returns the metadata of one token. The id me stands for the token used to authenticate the call. A non-admin may only read their own tokens.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/tokens/{tokenId} (the `GetTokenById` operationId).

func (*ClientWithResponses) GetTokenDefaultExpiryWithResponse

func (c *ClientWithResponses) GetTokenDefaultExpiryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTokenDefaultExpiryResponse, error)

GetTokenDefaultExpiryWithResponse Get the default token lifetime

Returns the lifetime, in seconds, that POST /api/v1/tokens gives to tokens created without expires_in. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/config/token/default_expiry (the `GetTokenDefaultExpiry` operationId).

func (*ClientWithResponses) GetTokensWithResponse

func (c *ClientWithResponses) GetTokensWithResponse(ctx context.Context, params *GetTokensParams, reqEditors ...RequestEditorFn) (*GetTokensResponse, error)

GetTokensWithResponse List access tokens

A platform admin sees every token; any other caller sees only tokens whose subject is their own user. Expired tokens and tokens that are not revocable are omitted. The token values themselves are never returned, only their metadata. A token issued with a reference token is listed like any other.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/tokens (the `GetTokens` operationId).

func (*ClientWithResponses) GetUserDetailsWithResponse

func (c *ClientWithResponses) GetUserDetailsWithResponse(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*GetUserDetailsResponse, error)

GetUserDetailsWithResponse Get a user

Returns the stored user record. Requires a platform admin or the system:identities:r scope; a user may always read their own record.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/users/{username} (the `GetUserDetails` operationId).

func (*ClientWithResponses) GetUserListWithResponse

func (c *ClientWithResponses) GetUserListWithResponse(ctx context.Context, params *GetUserListParams, reqEditors ...RequestEditorFn) (*GetUserListResponse, error)

GetUserListWithResponse List users

Returns one record per user, newest first unless descendingOrder is false, as a cursor-paginated page. Requires a platform admin or a token carrying the system:identities:r scope. Every query parameter is a filter; filters combine with AND.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/users (the `GetUserList` operationId).

func (*ClientWithResponses) GetVaultConfigurationsWithResponse

func (c *ClientWithResponses) GetVaultConfigurationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVaultConfigurationsResponse, error)

GetVaultConfigurationsWithResponse List Vault connections

Returns every HashiCorp Vault connection. Keypairs whose vaultKey names a connection read their private key from Vault instead of the database. Secrets are never returned. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/vault/configs (the `GetVaultConfigurations` operationId).

func (*ClientWithResponses) ImportAccessConfigurationWithResponse

func (c *ClientWithResponses) ImportAccessConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ImportAccessConfigurationResponse, error)

ImportAccessConfigurationWithResponse Import the Access configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/system/backup/import (the `ImportAccessConfiguration` operationId).

func (*ClientWithResponses) ImportLdapGroupsWithBodyWithResponse

func (c *ClientWithResponses) ImportLdapGroupsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportLdapGroupsResponse, error)

ImportLdapGroupsWithBodyWithResponse Import LDAP groups

Creates local groups, or updates existing ones, for the listed LDAP groups through the given group setting, so that permissions can be granted to them. Returns 204. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/ldap/groups/import (the `ImportLdapGroups` operationId).

func (*ClientWithResponses) ImportLdapGroupsWithResponse

func (c *ClientWithResponses) ImportLdapGroupsWithResponse(ctx context.Context, body ImportLdapGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportLdapGroupsResponse, error)

ImportLdapGroupsWithResponse Import LDAP groups

Creates local groups, or updates existing ones, for the listed LDAP groups through the given group setting, so that permissions can be granted to them. Returns 204. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/ldap/groups/import (the `ImportLdapGroups` operationId).

func (*ClientWithResponses) OidcTokenExchangeWithBodyWithResponse

func (c *ClientWithResponses) OidcTokenExchangeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OidcTokenExchangeResponse, error)

OidcTokenExchangeWithBodyWithResponse Exchange an ID token for an access token

Implements the OAuth 2.0 token exchange of RFC 8693 for CI workload identity. The caller presents an ID token signed by a registered provider; the server verifies its signature, issuer and audience, tries the provider's identity mappings in priority order, and issues an access token shaped by the token_spec of the first mapping whose claims all match. Needs no authentication: the subject token is the credential. Answers 400 when the request is malformed, when no mapping matches, or when the matching mapping's patterns do not accept the token's claims, and 401 when the subject token does not verify.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/oidc/token (the `OidcTokenExchange` operationId).

func (*ClientWithResponses) OidcTokenExchangeWithResponse

func (c *ClientWithResponses) OidcTokenExchangeWithResponse(ctx context.Context, body OidcTokenExchangeJSONRequestBody, reqEditors ...RequestEditorFn) (*OidcTokenExchangeResponse, error)

OidcTokenExchangeWithResponse Exchange an ID token for an access token

Implements the OAuth 2.0 token exchange of RFC 8693 for CI workload identity. The caller presents an ID token signed by a registered provider; the server verifies its signature, issuer and audience, tries the provider's identity mappings in priority order, and issues an access token shaped by the token_spec of the first mapping whose claims all match. Needs no authentication: the subject token is the credential. Answers 400 when the request is malformed, when no mapping matches, or when the matching mapping's patterns do not accept the token's claims, and 401 when the subject token does not verify.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/oidc/token (the `OidcTokenExchange` operationId).

func (*ClientWithResponses) PatchScimGroupWithApplicationScimPlusJSONBodyWithResponse

func (c *ClientWithResponses) PatchScimGroupWithApplicationScimPlusJSONBodyWithResponse(ctx context.Context, groupName string, body PatchScimGroupApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScimGroupResponse, error)

PatchScimGroupWithApplicationScimPlusJSONBodyWithResponse Patch a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/scim+json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v1/scim/v2/Groups/{groupName} (the `PatchScimGroup` operationId).

func (*ClientWithResponses) PatchScimGroupWithBodyWithResponse

func (c *ClientWithResponses) PatchScimGroupWithBodyWithResponse(ctx context.Context, groupName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScimGroupResponse, error)

PatchScimGroupWithBodyWithResponse Patch a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v1/scim/v2/Groups/{groupName} (the `PatchScimGroup` operationId).

func (*ClientWithResponses) PatchScimUserWithApplicationScimPlusJSONBodyWithResponse

func (c *ClientWithResponses) PatchScimUserWithApplicationScimPlusJSONBodyWithResponse(ctx context.Context, username string, body PatchScimUserApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScimUserResponse, error)

PatchScimUserWithApplicationScimPlusJSONBodyWithResponse Patch a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/scim+json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v1/scim/v2/Users/{username} (the `PatchScimUser` operationId).

func (*ClientWithResponses) PatchScimUserWithBodyWithResponse

func (c *ClientWithResponses) PatchScimUserWithBodyWithResponse(ctx context.Context, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScimUserResponse, error)

PatchScimUserWithBodyWithResponse Patch a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v1/scim/v2/Users/{username} (the `PatchScimUser` operationId).

func (*ClientWithResponses) PutAwsIamRoleWithBodyWithResponse

func (c *ClientWithResponses) PutAwsIamRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAwsIamRoleResponse, error)

PutAwsIamRoleWithBodyWithResponse Assign an AWS IAM role (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/aws/iam_role (the `PutAwsIamRole` operationId).

func (*ClientWithResponses) PutAwsIamRoleWithResponse

func (c *ClientWithResponses) PutAwsIamRoleWithResponse(ctx context.Context, body PutAwsIamRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAwsIamRoleResponse, error)

PutAwsIamRoleWithResponse Assign an AWS IAM role (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/aws/iam_role (the `PutAwsIamRole` operationId).

func (*ClientWithResponses) RefreshLdapGroupSettingsWithResponse

func (c *ClientWithResponses) RefreshLdapGroupSettingsWithResponse(ctx context.Context, name string, params *RefreshLdapGroupSettingsParams, reqEditors ...RequestEditorFn) (*RefreshLdapGroupSettingsResponse, error)

RefreshLdapGroupSettingsWithResponse Refresh LDAP groups

Re-reads the LDAP groups of the named setting. operation chooses whether to update the memberships of groups already imported, import the groups not yet present, or both. With username, only that user's memberships are refreshed. Returns a plain-text summary that includes the number of groups imported. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/ldap/groups/{name}/refresh (the `RefreshLdapGroupSettings` operationId).

func (*ClientWithResponses) RegisterAccessFederationWithBodyWithResponse

func (c *ClientWithResponses) RegisterAccessFederationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterAccessFederationResponse, error)

RegisterAccessFederationWithBodyWithResponse Register a federation target

Registers a peer instance as a target of Access federation. From then on every create, update and delete of the selected identity entities on this instance is queued in the peer outbox and delivered to the target in order, with retries, over the peer protocol (decision 0021); changes made on the target are not sent back unless the target also registers this instance. Registration requires an existing pairing with the peer. A full broadcast runs once after registration so the target starts from this instance's current state. Administrators only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/system/federation (the `RegisterAccessFederation` operationId).

func (*ClientWithResponses) RegisterAccessFederationWithResponse

func (c *ClientWithResponses) RegisterAccessFederationWithResponse(ctx context.Context, body RegisterAccessFederationJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterAccessFederationResponse, error)

RegisterAccessFederationWithResponse Register a federation target

Registers a peer instance as a target of Access federation. From then on every create, update and delete of the selected identity entities on this instance is queued in the peer outbox and delivered to the target in order, with retries, over the peer protocol (decision 0021); changes made on the target are not sent back unless the target also registers this instance. Registration requires an existing pairing with the peer. A full broadcast runs once after registration so the target starts from this instance's current state. Administrators only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/system/federation (the `RegisterAccessFederation` operationId).

func (*ClientWithResponses) RenameGlobalEnvironmentWithBodyWithResponse

func (c *ClientWithResponses) RenameGlobalEnvironmentWithBodyWithResponse(ctx context.Context, environmentName EnvironmentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameGlobalEnvironmentResponse, error)

RenameGlobalEnvironmentWithBodyWithResponse Rename a global environment

Renames the environment and updates every repository and role that references it. The built-in DEV and PROD cannot be renamed. Admin only. Answers 200 with the environment under its new name.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/environments/{environmentName}/rename (the `RenameGlobalEnvironment` operationId).

func (*ClientWithResponses) RenameGlobalEnvironmentWithResponse

func (c *ClientWithResponses) RenameGlobalEnvironmentWithResponse(ctx context.Context, environmentName EnvironmentName, body RenameGlobalEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameGlobalEnvironmentResponse, error)

RenameGlobalEnvironmentWithResponse Rename a global environment

Renames the environment and updates every repository and role that references it. The built-in DEV and PROD cannot be renamed. Admin only. Answers 200 with the environment under its new name.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/environments/{environmentName}/rename (the `RenameGlobalEnvironment` operationId).

func (*ClientWithResponses) RenameProjectEnvironmentWithBodyWithResponse

func (c *ClientWithResponses) RenameProjectEnvironmentWithBodyWithResponse(ctx context.Context, projectKey ProjectKey, environmentName EnvironmentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameProjectEnvironmentResponse, error)

RenameProjectEnvironmentWithBodyWithResponse Rename a project environment

Renames a project environment and updates the project's repositories and roles that reference it. Requires a platform admin or an admin of the project.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/projects/{projectKey}/environments/{environmentName}/rename (the `RenameProjectEnvironment` operationId).

func (*ClientWithResponses) RenameProjectEnvironmentWithResponse

func (c *ClientWithResponses) RenameProjectEnvironmentWithResponse(ctx context.Context, projectKey ProjectKey, environmentName EnvironmentName, body RenameProjectEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameProjectEnvironmentResponse, error)

RenameProjectEnvironmentWithResponse Rename a project environment

Renames a project environment and updates the project's repositories and roles that reference it. Requires a platform admin or an admin of the project.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/projects/{projectKey}/environments/{environmentName}/rename (the `RenameProjectEnvironment` operationId).

func (*ClientWithResponses) ReplacePermissionResourceWithBodyWithResponse

func (c *ClientWithResponses) ReplacePermissionResourceWithBodyWithResponse(ctx context.Context, permissionName PermissionName, resourceType ReplacePermissionResourceParamsResourceType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplacePermissionResourceResponse, error)

ReplacePermissionResourceWithBodyWithResponse Replace one resource section

Replaces the whole actions and targets section for the resource type, creating the section when the permission did not have one. Grants and targets not in the body are dropped. Requires a platform admin or a Manage Resources holder.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/permissions/{permissionName}/{resourceType} (the `ReplacePermissionResource` operationId).

func (*ClientWithResponses) ReplacePermissionResourceWithResponse

ReplacePermissionResourceWithResponse Replace one resource section

Replaces the whole actions and targets section for the resource type, creating the section when the permission did not have one. Grants and targets not in the body are dropped. Requires a platform admin or a Manage Resources holder.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/permissions/{permissionName}/{resourceType} (the `ReplacePermissionResource` operationId).

func (*ClientWithResponses) RevokeTokenByIdWithResponse

func (c *ClientWithResponses) RevokeTokenByIdWithResponse(ctx context.Context, tokenId TokenId, reqEditors ...RequestEditorFn) (*RevokeTokenByIdResponse, error)

RevokeTokenByIdWithResponse Revoke a token by id

Revokes the token with this id; me revokes the caller's own token. A token is revocable on the same terms as for revocation by value; any other token answers 400. A non-admin may only revoke their own tokens. Answers 200 with no body.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/tokens/{tokenId} (the `RevokeTokenById` operationId).

func (*ClientWithResponses) RevokeTokenByValueWithBodyWithResponse

func (c *ClientWithResponses) RevokeTokenByValueWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevokeTokenByValueResponse, error)

RevokeTokenByValueWithBodyWithResponse Revoke a token by its value

Revokes the token whose JWT or reference token is given in the body and returns its id. A token is revocable when it never expires, its lifetime is at least the revocable threshold (21600 seconds), or it was created with force_revocable or refreshable; any other token answers 404, as an unknown one does. Admin only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/tokens/revoke (the `RevokeTokenByValue` operationId).

func (*ClientWithResponses) RevokeTokenByValueWithResponse

func (c *ClientWithResponses) RevokeTokenByValueWithResponse(ctx context.Context, body RevokeTokenByValueJSONRequestBody, reqEditors ...RequestEditorFn) (*RevokeTokenByValueResponse, error)

RevokeTokenByValueWithResponse Revoke a token by its value

Revokes the token whose JWT or reference token is given in the body and returns its id. A token is revocable when it never expires, its lifetime is at least the revocable threshold (21600 seconds), or it was created with force_revocable or refreshable; any other token answers 404, as an unknown one does. Admin only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/tokens/revoke (the `RevokeTokenByValue` operationId).

func (*ClientWithResponses) SearchLdapGroupsWithBodyWithResponse

func (c *ClientWithResponses) SearchLdapGroupsWithBodyWithResponse(ctx context.Context, params *SearchLdapGroupsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchLdapGroupsResponse, error)

SearchLdapGroupsWithBodyWithResponse Search LDAP groups

Runs the group search described by the body against its LDAP connection and returns the groups found, each with its distinguished name and local status. With username, returns only that user's groups. Nothing is stored. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/ldap/groups/search (the `SearchLdapGroups` operationId).

func (*ClientWithResponses) SearchLdapGroupsWithResponse

func (c *ClientWithResponses) SearchLdapGroupsWithResponse(ctx context.Context, params *SearchLdapGroupsParams, body SearchLdapGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchLdapGroupsResponse, error)

SearchLdapGroupsWithResponse Search LDAP groups

Runs the group search described by the body against its LDAP connection and returns the groups found, each with its distinguished name and local status. With username, returns only that user's groups. Nothing is stored. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/ldap/groups/search (the `SearchLdapGroups` operationId).

func (*ClientWithResponses) SetBasicAuthenticationStatusWithBodyWithResponse

func (c *ClientWithResponses) SetBasicAuthenticationStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBasicAuthenticationStatusResponse, error)

SetBasicAuthenticationStatusWithBodyWithResponse Set the basic authentication switch

Turns acceptance of usernames and passwords over HTTP Basic on or off for the whole instance, from the next request on. Returns 200 with no body. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/config/security/authentication/basic_authentication_enabled (the `SetBasicAuthenticationStatus` operationId).

func (*ClientWithResponses) SetBasicAuthenticationStatusWithResponse

func (c *ClientWithResponses) SetBasicAuthenticationStatusWithResponse(ctx context.Context, body SetBasicAuthenticationStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBasicAuthenticationStatusResponse, error)

SetBasicAuthenticationStatusWithResponse Set the basic authentication switch

Turns acceptance of usernames and passwords over HTTP Basic on or off for the whole instance, from the next request on. Returns 200 with no body. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/config/security/authentication/basic_authentication_enabled (the `SetBasicAuthenticationStatus` operationId).

func (*ClientWithResponses) SetTokenDefaultExpiryWithBodyWithResponse

func (c *ClientWithResponses) SetTokenDefaultExpiryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTokenDefaultExpiryResponse, error)

SetTokenDefaultExpiryWithBodyWithResponse Set the default token lifetime

Changes the lifetime given to access tokens created without expires_in. Tokens already issued keep their expiry. Returns 200 with no body. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/config/token/default_expiry (the `SetTokenDefaultExpiry` operationId).

func (*ClientWithResponses) SetTokenDefaultExpiryWithResponse

func (c *ClientWithResponses) SetTokenDefaultExpiryWithResponse(ctx context.Context, body SetTokenDefaultExpiryJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTokenDefaultExpiryResponse, error)

SetTokenDefaultExpiryWithResponse Set the default token lifetime

Changes the lifetime given to access tokens created without expires_in. Tokens already issued keep their expiry. Returns 200 with no body. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/config/token/default_expiry (the `SetTokenDefaultExpiry` operationId).

func (*ClientWithResponses) SetVaultConfigurationWithBodyWithResponse

func (c *ClientWithResponses) SetVaultConfigurationWithBodyWithResponse(ctx context.Context, vaultKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetVaultConfigurationResponse, error)

SetVaultConfigurationWithBodyWithResponse Create or replace a Vault connection

Stores the connection under vault_key, replacing any connection with that key, and returns it without secrets. Vault must be reached over TLS. A body that is not application/json answers 415. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/vault/configs/{vault_key} (the `SetVaultConfiguration` operationId).

func (*ClientWithResponses) SetVaultConfigurationWithResponse

func (c *ClientWithResponses) SetVaultConfigurationWithResponse(ctx context.Context, vaultKey string, body SetVaultConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*SetVaultConfigurationResponse, error)

SetVaultConfigurationWithResponse Create or replace a Vault connection

Stores the connection under vault_key, replacing any connection with that key, and returns it without secrets. Vault must be reached over TLS. A body that is not application/json answers 415. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/vault/configs/{vault_key} (the `SetVaultConfiguration` operationId).

func (*ClientWithResponses) ShareRepositoryWithAllProjectsWithResponse

func (c *ClientWithResponses) ShareRepositoryWithAllProjectsWithResponse(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*ShareRepositoryWithAllProjectsResponse, error)

ShareRepositoryWithAllProjectsWithResponse Share a repository with every project

Lets members of every project use the local or remote repository according to their roles in their own project. The owning project is unchanged. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/projects/_/share/repositories/{repoName} (the `ShareRepositoryWithAllProjects` operationId).

func (*ClientWithResponses) ShareRepositoryWithTargetProjectWithResponse

func (c *ClientWithResponses) ShareRepositoryWithTargetProjectWithResponse(ctx context.Context, repoName string, targetProjectKey string, params *ShareRepositoryWithTargetProjectParams, reqEditors ...RequestEditorFn) (*ShareRepositoryWithTargetProjectResponse, error)

ShareRepositoryWithTargetProjectWithResponse Share a repository with one project

Lets members of the target project use the local or remote repository according to their roles there, read-only when readOnly is true. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/projects/_/share/repositories/{repoName}/{targetProjectKey} (the `ShareRepositoryWithTargetProject` operationId).

func (*ClientWithResponses) TestLdapConnectionWithBodyWithResponse

func (c *ClientWithResponses) TestLdapConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestLdapConnectionResponse, error)

TestLdapConnectionWithBodyWithResponse Test an LDAP connection

Binds to the server described by the body, without storing anything, and answers 204 when the bind and any configured search succeed. A failing test answers 400 with the server's error. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/ldap/settings/test (the `TestLdapConnection` operationId).

func (*ClientWithResponses) TestLdapConnectionWithResponse

func (c *ClientWithResponses) TestLdapConnectionWithResponse(ctx context.Context, body TestLdapConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TestLdapConnectionResponse, error)

TestLdapConnectionWithResponse Test an LDAP connection

Binds to the server described by the body, without storing anything, and answers 204 when the bind and any configured search succeed. A failing test answers 400 with the server's error. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/ldap/settings/test (the `TestLdapConnection` operationId).

func (*ClientWithResponses) TestVaultConfigurationWithBodyWithResponse

func (c *ClientWithResponses) TestVaultConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestVaultConfigurationResponse, error)

TestVaultConfigurationWithBodyWithResponse Test a Vault connection

Authenticates to the Vault server described by the body, without storing anything, and answers 204 on success. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/vault/configs/test (the `TestVaultConfiguration` operationId).

func (*ClientWithResponses) TestVaultConfigurationWithResponse

func (c *ClientWithResponses) TestVaultConfigurationWithResponse(ctx context.Context, body TestVaultConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*TestVaultConfigurationResponse, error)

TestVaultConfigurationWithResponse Test a Vault connection

Authenticates to the Vault server described by the body, without storing anything, and answers 204 on success. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/vault/configs/test (the `TestVaultConfiguration` operationId).

func (*ClientWithResponses) UnassignProjectFromRepositoryWithResponse

func (c *ClientWithResponses) UnassignProjectFromRepositoryWithResponse(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*UnassignProjectFromRepositoryResponse, error)

UnassignProjectFromRepositoryWithResponse Unassign a repository from its project

Removes the repository from the project that owns it. Sharing with other projects is kept. The repository's projectKey is cleared synchronously. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/projects/_/attach/repositories/{repoName} (the `UnassignProjectFromRepository` operationId).

func (*ClientWithResponses) UnexpirePasswordForAllUsersWithResponse

func (c *ClientWithResponses) UnexpirePasswordForAllUsersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UnexpirePasswordForAllUsersResponse, error)

UnexpirePasswordForAllUsersWithResponse Clear the expired flag on every password

Reverses expire_password_for_all_users: every internal password becomes valid again without the user changing it. Admin only. Responds with a plain text confirmation.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/users/unexpire_password_for_all_users (the `UnexpirePasswordForAllUsers` operationId).

func (*ClientWithResponses) UnlockUserWithResponse

func (c *ClientWithResponses) UnlockUserWithResponse(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*UnlockUserResponse, error)

UnlockUserWithResponse Unlock a user

Clears the lock that the user lock policy applied after too many failed logins and resets the failure counter. Unlocking an unlocked user succeeds. Admin only. Answers 204 with no body.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/users/{username}/unlock (the `UnlockUser` operationId).

func (*ClientWithResponses) UnshareRepositoryWithAllProjectsWithResponse

func (c *ClientWithResponses) UnshareRepositoryWithAllProjectsWithResponse(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*UnshareRepositoryWithAllProjectsResponse, error)

UnshareRepositoryWithAllProjectsWithResponse Stop sharing a repository with every project

Removes the share-with-all setting. Shares with individual projects remain. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/projects/_/share/repositories/{repoName} (the `UnshareRepositoryWithAllProjects` operationId).

func (*ClientWithResponses) UnshareRepositoryWithTargetProjectWithResponse

func (c *ClientWithResponses) UnshareRepositoryWithTargetProjectWithResponse(ctx context.Context, repoName string, targetProjectKey string, reqEditors ...RequestEditorFn) (*UnshareRepositoryWithTargetProjectResponse, error)

UnshareRepositoryWithTargetProjectWithResponse Stop sharing a repository with one project

Removes the share with the target project. Requires a platform admin.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/projects/_/share/repositories/{repoName}/{targetProjectKey} (the `UnshareRepositoryWithTargetProject` operationId).

func (*ClientWithResponses) UpdateAccessFederationWithApplicationMergePatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) UpdateAccessFederationWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, serverName string, body UpdateAccessFederationApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccessFederationResponse, error)

UpdateAccessFederationWithApplicationMergePatchPlusJSONBodyWithResponse Update a federation target

Changes the replicated entity types, the filters or the active flag of a target. Fields that are omitted keep their values; name and url are immutable. Narrowing the entities or filters affects future changes only; nothing already replicated is removed from the peer. Accepts plain JSON or a JSON merge patch with the same fields. Administrators only.

Takes a body of the `application/merge-patch+json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v1/system/federation/{serverName} (the `UpdateAccessFederation` operationId).

func (*ClientWithResponses) UpdateAccessFederationWithBodyWithResponse

func (c *ClientWithResponses) UpdateAccessFederationWithBodyWithResponse(ctx context.Context, serverName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAccessFederationResponse, error)

UpdateAccessFederationWithBodyWithResponse Update a federation target

Changes the replicated entity types, the filters or the active flag of a target. Fields that are omitted keep their values; name and url are immutable. Narrowing the entities or filters affects future changes only; nothing already replicated is removed from the peer. Accepts plain JSON or a JSON merge patch with the same fields. Administrators only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v1/system/federation/{serverName} (the `UpdateAccessFederation` operationId).

func (*ClientWithResponses) UpdateAccessFederationWithResponse

func (c *ClientWithResponses) UpdateAccessFederationWithResponse(ctx context.Context, serverName string, body UpdateAccessFederationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccessFederationResponse, error)

UpdateAccessFederationWithResponse Update a federation target

Changes the replicated entity types, the filters or the active flag of a target. Fields that are omitted keep their values; name and url are immutable. Narrowing the entities or filters affects future changes only; nothing already replicated is removed from the peer. Accepts plain JSON or a JSON merge patch with the same fields. Administrators only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v1/system/federation/{serverName} (the `UpdateAccessFederation` operationId).

func (*ClientWithResponses) UpdateGlobalRoleWithBodyWithResponse

func (c *ClientWithResponses) UpdateGlobalRoleWithBodyWithResponse(ctx context.Context, role RoleName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGlobalRoleResponse, error)

UpdateGlobalRoleWithBodyWithResponse Replace a global role

Replaces the description, environments and actions of a CUSTOM_GLOBAL role, or the environments and actions of a PREDEFINED one. The name in the body must equal the path name and the type must stay the same; the ADMIN role cannot be changed. Each of these answers 400. Admin only. Answers 200 with no body.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/roles/{role} (the `UpdateGlobalRole` operationId).

func (*ClientWithResponses) UpdateGlobalRoleWithResponse

func (c *ClientWithResponses) UpdateGlobalRoleWithResponse(ctx context.Context, role RoleName, body UpdateGlobalRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGlobalRoleResponse, error)

UpdateGlobalRoleWithResponse Replace a global role

Replaces the description, environments and actions of a CUSTOM_GLOBAL role, or the environments and actions of a PREDEFINED one. The name in the body must equal the path name and the type must stay the same; the ADMIN role cannot be changed. Each of these answers 400. Admin only. Answers 200 with no body.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/roles/{role} (the `UpdateGlobalRole` operationId).

func (*ClientWithResponses) UpdateGroupMembersWithBodyWithResponse

func (c *ClientWithResponses) UpdateGroupMembersWithBodyWithResponse(ctx context.Context, name GroupName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGroupMembersResponse, error)

UpdateGroupMembersWithBodyWithResponse Add or remove members

Applies the add list then the remove list to the group's members and returns the resulting full member list. Unknown usernames in add answer 404; names already present or already absent are ignored. Admin only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v2/groups/{name}/members (the `UpdateGroupMembers` operationId).

func (*ClientWithResponses) UpdateGroupMembersWithResponse

func (c *ClientWithResponses) UpdateGroupMembersWithResponse(ctx context.Context, name GroupName, body UpdateGroupMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGroupMembersResponse, error)

UpdateGroupMembersWithResponse Add or remove members

Applies the add list then the remove list to the group's members and returns the resulting full member list. Unknown usernames in add answer 404; names already present or already absent are ignored. Admin only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v2/groups/{name}/members (the `UpdateGroupMembers` operationId).

func (*ClientWithResponses) UpdateGroupWithBodyWithResponse

func (c *ClientWithResponses) UpdateGroupWithBodyWithResponse(ctx context.Context, name GroupName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)

UpdateGroupWithBodyWithResponse Update a group

Partial update of the group's attributes. Omitted fields keep their values. The name, realm, realm_attributes and members cannot be changed here; members go through the members sub-resource. The body may be empty, which changes nothing and returns the current group. Admin only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v2/groups/{name} (the `UpdateGroup` operationId).

func (*ClientWithResponses) UpdateGroupWithResponse

func (c *ClientWithResponses) UpdateGroupWithResponse(ctx context.Context, name GroupName, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)

UpdateGroupWithResponse Update a group

Partial update of the group's attributes. Omitted fields keep their values. The name, realm, realm_attributes and members cannot be changed here; members go through the members sub-resource. The body may be empty, which changes nothing and returns the current group. Admin only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v2/groups/{name} (the `UpdateGroup` operationId).

func (*ClientWithResponses) UpdateLdapGroupSettingsWithBodyWithResponse

func (c *ClientWithResponses) UpdateLdapGroupSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLdapGroupSettingsResponse, error)

UpdateLdapGroupSettingsWithBodyWithResponse Replace an LDAP group setting

Replaces the group setting whose name matches the body's name. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/ldap/groups (the `UpdateLdapGroupSettings` operationId).

func (*ClientWithResponses) UpdateLdapGroupSettingsWithResponse

func (c *ClientWithResponses) UpdateLdapGroupSettingsWithResponse(ctx context.Context, body UpdateLdapGroupSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLdapGroupSettingsResponse, error)

UpdateLdapGroupSettingsWithResponse Replace an LDAP group setting

Replaces the group setting whose name matches the body's name. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/ldap/groups (the `UpdateLdapGroupSettings` operationId).

func (*ClientWithResponses) UpdateLdapSettingsWithBodyWithResponse

func (c *ClientWithResponses) UpdateLdapSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLdapSettingsResponse, error)

UpdateLdapSettingsWithBodyWithResponse Replace an LDAP connection

Replaces the connection whose key matches the body's key. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/ldap/settings (the `UpdateLdapSettings` operationId).

func (*ClientWithResponses) UpdateLdapSettingsWithResponse

func (c *ClientWithResponses) UpdateLdapSettingsWithResponse(ctx context.Context, body UpdateLdapSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLdapSettingsResponse, error)

UpdateLdapSettingsWithResponse Replace an LDAP connection

Replaces the connection whose key matches the body's key. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/ldap/settings (the `UpdateLdapSettings` operationId).

func (*ClientWithResponses) UpdateOidcConfigurationWithBodyWithResponse

func (c *ClientWithResponses) UpdateOidcConfigurationWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOidcConfigurationResponse, error)

UpdateOidcConfigurationWithBodyWithResponse Replace an OIDC provider

Replaces the named provider's configuration with the body. The path names the provider; a name in the body must match it. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/oidc/{name} (the `UpdateOidcConfiguration` operationId).

func (*ClientWithResponses) UpdateOidcConfigurationWithResponse

func (c *ClientWithResponses) UpdateOidcConfigurationWithResponse(ctx context.Context, name string, body UpdateOidcConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOidcConfigurationResponse, error)

UpdateOidcConfigurationWithResponse Replace an OIDC provider

Replaces the named provider's configuration with the body. The path names the provider; a name in the body must match it. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/oidc/{name} (the `UpdateOidcConfiguration` operationId).

func (*ClientWithResponses) UpdateOidcIdentityMappingWithBodyWithResponse

func (c *ClientWithResponses) UpdateOidcIdentityMappingWithBodyWithResponse(ctx context.Context, providerName string, mappingName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOidcIdentityMappingResponse, error)

UpdateOidcIdentityMappingWithBodyWithResponse Replace an identity mapping

Replaces the named mapping with the body. The mapping's project, which the project roles in token_spec.scope imply, cannot change, so a scope that implies another project, none for a project's mapping or one for a global mapping is refused with 400, as is a scope that names project roles in more than one project. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `UpdateOidcIdentityMapping` operationId).

func (*ClientWithResponses) UpdateOidcIdentityMappingWithResponse

func (c *ClientWithResponses) UpdateOidcIdentityMappingWithResponse(ctx context.Context, providerName string, mappingName string, body UpdateOidcIdentityMappingJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOidcIdentityMappingResponse, error)

UpdateOidcIdentityMappingWithResponse Replace an identity mapping

Replaces the named mapping with the body. The mapping's project, which the project roles in token_spec.scope imply, cannot change, so a scope that implies another project, none for a project's mapping or one for a global mapping is refused with 400, as is a scope that names project roles in more than one project. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `UpdateOidcIdentityMapping` operationId).

func (*ClientWithResponses) UpdatePasswordPolicyWithBodyWithResponse

func (c *ClientWithResponses) UpdatePasswordPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePasswordPolicyResponse, error)

UpdatePasswordPolicyWithBodyWithResponse Update the password policy

Merges the supplied fields into the password policy; omitted fields keep their current values. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v1/config/security/password_policy (the `UpdatePasswordPolicy` operationId).

func (*ClientWithResponses) UpdatePasswordPolicyWithResponse

func (c *ClientWithResponses) UpdatePasswordPolicyWithResponse(ctx context.Context, body UpdatePasswordPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePasswordPolicyResponse, error)

UpdatePasswordPolicyWithResponse Update the password policy

Merges the supplied fields into the password policy; omitted fields keep their current values. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v1/config/security/password_policy (the `UpdatePasswordPolicy` operationId).

func (*ClientWithResponses) UpdatePermissionResourceWithBodyWithResponse

func (c *ClientWithResponses) UpdatePermissionResourceWithBodyWithResponse(ctx context.Context, permissionName PermissionName, resourceType UpdatePermissionResourceParamsResourceType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePermissionResourceResponse, error)

UpdatePermissionResourceWithBodyWithResponse Merge into one resource section

Merges the body into the existing section: principals and targets present in the body replace their stored counterparts, others stay. To remove a principal or target use PUT with the full section. Requires a platform admin or a Manage Resources holder.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v2/permissions/{permissionName}/{resourceType} (the `UpdatePermissionResource` operationId).

func (*ClientWithResponses) UpdatePermissionResourceWithResponse

UpdatePermissionResourceWithResponse Merge into one resource section

Merges the body into the existing section: principals and targets present in the body replace their stored counterparts, others stay. To remove a principal or target use PUT with the full section. Requires a platform admin or a Manage Resources holder.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v2/permissions/{permissionName}/{resourceType} (the `UpdatePermissionResource` operationId).

func (*ClientWithResponses) UpdateProjectGroupWithBodyWithResponse

func (c *ClientWithResponses) UpdateProjectGroupWithBodyWithResponse(ctx context.Context, projectKey string, group string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectGroupResponse, error)

UpdateProjectGroupWithBodyWithResponse Add a group to a project or set its roles

Adds the group to the project with the given roles, or replaces the roles of a member group. The group must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/projects/{projectKey}/groups/{group} (the `UpdateProjectGroup` operationId).

func (*ClientWithResponses) UpdateProjectGroupWithResponse

func (c *ClientWithResponses) UpdateProjectGroupWithResponse(ctx context.Context, projectKey string, group string, body UpdateProjectGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectGroupResponse, error)

UpdateProjectGroupWithResponse Add a group to a project or set its roles

Adds the group to the project with the given roles, or replaces the roles of a member group. The group must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/projects/{projectKey}/groups/{group} (the `UpdateProjectGroup` operationId).

func (*ClientWithResponses) UpdateProjectRoleWithBodyWithResponse

func (c *ClientWithResponses) UpdateProjectRoleWithBodyWithResponse(ctx context.Context, projectKey string, role string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectRoleResponse, error)

UpdateProjectRoleWithBodyWithResponse Replace a custom project role

Replaces the role's description, environments and actions. Only CUSTOM roles can be changed; members holding the role get the new actions at once. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/projects/{projectKey}/roles/{role} (the `UpdateProjectRole` operationId).

func (*ClientWithResponses) UpdateProjectRoleWithResponse

func (c *ClientWithResponses) UpdateProjectRoleWithResponse(ctx context.Context, projectKey string, role string, body UpdateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectRoleResponse, error)

UpdateProjectRoleWithResponse Replace a custom project role

Replaces the role's description, environments and actions. Only CUSTOM roles can be changed; members holding the role get the new actions at once. Requires a platform admin, or a project admin of this project with the manage_members privilege.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/projects/{projectKey}/roles/{role} (the `UpdateProjectRole` operationId).

func (*ClientWithResponses) UpdateProjectWithBodyWithResponse

func (c *ClientWithResponses) UpdateProjectWithBodyWithResponse(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

UpdateProjectWithBodyWithResponse Update a project

Changes the project's display name, description, quota and admin privileges. The key cannot change. Lowering the quota below current usage is accepted and blocks further deployments until usage drops (unless soft_limit is true). Requires a platform admin.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/projects/{projectKey} (the `UpdateProject` operationId).

func (*ClientWithResponses) UpdateProjectWithResponse

func (c *ClientWithResponses) UpdateProjectWithResponse(ctx context.Context, projectKey string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

UpdateProjectWithResponse Update a project

Changes the project's display name, description, quota and admin privileges. The key cannot change. Lowering the quota below current usage is accepted and blocks further deployments until usage drops (unless soft_limit is true). Requires a platform admin.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/projects/{projectKey} (the `UpdateProject` operationId).

func (*ClientWithResponses) UpdateSamlGeneralSettingsWithBodyWithResponse

func (c *ClientWithResponses) UpdateSamlGeneralSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSamlGeneralSettingsResponse, error)

UpdateSamlGeneralSettingsWithBodyWithResponse Set the SAML switch (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/saml/general_settings (the `UpdateSamlGeneralSettings` operationId).

func (*ClientWithResponses) UpdateSamlGeneralSettingsWithResponse

func (c *ClientWithResponses) UpdateSamlGeneralSettingsWithResponse(ctx context.Context, body UpdateSamlGeneralSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSamlGeneralSettingsResponse, error)

UpdateSamlGeneralSettingsWithResponse Set the SAML switch (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/saml/general_settings (the `UpdateSamlGeneralSettings` operationId).

func (*ClientWithResponses) UpdateSamlSettingWithBodyWithResponse

func (c *ClientWithResponses) UpdateSamlSettingWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSamlSettingResponse, error)

UpdateSamlSettingWithBodyWithResponse Replace a SAML setting (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/saml/{name} (the `UpdateSamlSetting` operationId).

func (*ClientWithResponses) UpdateSamlSettingWithResponse

func (c *ClientWithResponses) UpdateSamlSettingWithResponse(ctx context.Context, name string, body UpdateSamlSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSamlSettingResponse, error)

UpdateSamlSettingWithResponse Replace a SAML setting (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/saml/{name} (the `UpdateSamlSetting` operationId).

func (*ClientWithResponses) UpdateScimGroupWithApplicationScimPlusJSONBodyWithResponse

func (c *ClientWithResponses) UpdateScimGroupWithApplicationScimPlusJSONBodyWithResponse(ctx context.Context, groupName string, body UpdateScimGroupApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateScimGroupResponse, error)

UpdateScimGroupWithApplicationScimPlusJSONBodyWithResponse Replace a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/scim+json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/scim/v2/Groups/{groupName} (the `UpdateScimGroup` operationId).

func (*ClientWithResponses) UpdateScimGroupWithBodyWithResponse

func (c *ClientWithResponses) UpdateScimGroupWithBodyWithResponse(ctx context.Context, groupName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateScimGroupResponse, error)

UpdateScimGroupWithBodyWithResponse Replace a SCIM group (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/scim/v2/Groups/{groupName} (the `UpdateScimGroup` operationId).

func (*ClientWithResponses) UpdateScimUserWithApplicationScimPlusJSONBodyWithResponse

func (c *ClientWithResponses) UpdateScimUserWithApplicationScimPlusJSONBodyWithResponse(ctx context.Context, username string, body UpdateScimUserApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateScimUserResponse, error)

UpdateScimUserWithApplicationScimPlusJSONBodyWithResponse Replace a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/scim+json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/scim/v2/Users/{username} (the `UpdateScimUser` operationId).

func (*ClientWithResponses) UpdateScimUserWithBodyWithResponse

func (c *ClientWithResponses) UpdateScimUserWithBodyWithResponse(ctx context.Context, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateScimUserResponse, error)

UpdateScimUserWithBodyWithResponse Replace a SCIM user (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/scim/v2/Users/{username} (the `UpdateScimUser` operationId).

func (*ClientWithResponses) UpdateUserGroupsWithBodyWithResponse

func (c *ClientWithResponses) UpdateUserGroupsWithBodyWithResponse(ctx context.Context, username Username, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserGroupsResponse, error)

UpdateUserGroupsWithBodyWithResponse Add or remove group memberships

Applies the add list then the remove list to the user's memberships and returns the resulting full membership. Names that are already present (add) or already absent (remove) are ignored; a name in both lists ends up removed. Admin only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v2/users/{username}/groups (the `UpdateUserGroups` operationId).

func (*ClientWithResponses) UpdateUserGroupsWithResponse

func (c *ClientWithResponses) UpdateUserGroupsWithResponse(ctx context.Context, username Username, body UpdateUserGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserGroupsResponse, error)

UpdateUserGroupsWithResponse Add or remove group memberships

Applies the add list then the remove list to the user's memberships and returns the resulting full membership. Names that are already present (add) or already absent (remove) are ignored; a name in both lists ends up removed. Admin only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v2/users/{username}/groups (the `UpdateUserGroups` operationId).

func (*ClientWithResponses) UpdateUserWithBodyWithResponse

func (c *ClientWithResponses) UpdateUserWithBodyWithResponse(ctx context.Context, username Username, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)

UpdateUserWithBodyWithResponse Update a user

Partial update: only the fields present in the body change, omitted fields keep their stored values, and the username cannot be changed. Group membership is not updated here; use the groups sub-resource. Setting internal_password_disabled to false on a user that has no password requires a password in the same request. Admin only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v2/users/{username} (the `UpdateUser` operationId).

func (*ClientWithResponses) UpdateUserWithResponse

func (c *ClientWithResponses) UpdateUserWithResponse(ctx context.Context, username Username, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)

UpdateUserWithResponse Update a user

Partial update: only the fields present in the body change, omitted fields keep their stored values, and the username cannot be changed. Group membership is not updated here; use the groups sub-resource. Setting internal_password_disabled to false on a user that has no password requires a password in the same request. Admin only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v2/users/{username} (the `UpdateUser` operationId).

func (*ClientWithResponses) UpsertCrowdConfigurationWithBodyWithResponse

func (c *ClientWithResponses) UpsertCrowdConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertCrowdConfigurationResponse, error)

UpsertCrowdConfigurationWithBodyWithResponse Set the Crowd configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/crowd (the `UpsertCrowdConfiguration` operationId).

func (*ClientWithResponses) UpsertCrowdConfigurationWithResponse

func (c *ClientWithResponses) UpsertCrowdConfigurationWithResponse(ctx context.Context, body UpsertCrowdConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertCrowdConfigurationResponse, error)

UpsertCrowdConfigurationWithResponse Set the Crowd configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/crowd (the `UpsertCrowdConfiguration` operationId).

func (*ClientWithResponses) UpsertHttpSsoConfigurationWithBodyWithResponse

func (c *ClientWithResponses) UpsertHttpSsoConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertHttpSsoConfigurationResponse, error)

UpsertHttpSsoConfigurationWithBodyWithResponse Set the HTTP single sign-on configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/httpsso (the `UpsertHttpSsoConfiguration` operationId).

func (*ClientWithResponses) UpsertHttpSsoConfigurationWithResponse

func (c *ClientWithResponses) UpsertHttpSsoConfigurationWithResponse(ctx context.Context, body UpsertHttpSsoConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertHttpSsoConfigurationResponse, error)

UpsertHttpSsoConfigurationWithResponse Set the HTTP single sign-on configuration (not supported)

Not implemented; answers 501 in the Access error envelope.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/httpsso (the `UpsertHttpSsoConfiguration` operationId).

func (*ClientWithResponses) ValidateFederationTargetWithBodyWithResponse

func (c *ClientWithResponses) ValidateFederationTargetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValidateFederationTargetResponse, error)

ValidateFederationTargetWithBodyWithResponse Validate a candidate federation target

Checks, without registering anything, that the peer at url is reachable, is an instance of this server speaking a compatible peer protocol version, and trusts this instance through an existing pairing. Use it before registration to get a precise error. Administrators only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/system/federation/validate_server (the `ValidateFederationTarget` operationId).

func (*ClientWithResponses) ValidateFederationTargetWithResponse

func (c *ClientWithResponses) ValidateFederationTargetWithResponse(ctx context.Context, body ValidateFederationTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidateFederationTargetResponse, error)

ValidateFederationTargetWithResponse Validate a candidate federation target

Checks, without registering anything, that the peer at url is reachable, is an instance of this server speaking a compatible peer protocol version, and trusts this instance through an existing pairing. Use it before registration to get a precise error. Administrators only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/system/federation/validate_server (the `ValidateFederationTarget` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// PutAwsIamRoleWithBodyWithResponse Assign an AWS IAM role (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/aws/iam_role (the `PutAwsIamRole` operationId).
	PutAwsIamRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAwsIamRoleResponse, error)

	// PutAwsIamRoleWithResponse Assign an AWS IAM role (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/aws/iam_role (the `PutAwsIamRole` operationId).
	PutAwsIamRoleWithResponse(ctx context.Context, body PutAwsIamRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAwsIamRoleResponse, error)

	// DeleteAwsIamRoleWithResponse Remove a user's AWS IAM role (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/aws/iam_role/{username} (the `DeleteAwsIamRole` operationId).
	DeleteAwsIamRoleWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*DeleteAwsIamRoleResponse, error)

	// GetAwsIamRoleWithResponse Get a user's AWS IAM role (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/aws/iam_role/{username} (the `GetAwsIamRole` operationId).
	GetAwsIamRoleWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*GetAwsIamRoleResponse, error)

	// GetCaCertificateWithResponse Get the CA certificate
	//
	// Returns, as PEM text, the public certificate of the authority that signs the instance's internal service certificates. The server generates the authority on first start and keeps its key sealed (decision 0017). Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/cert/ca (the `GetCaCertificate` operationId).
	GetCaCertificateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCaCertificateResponse, error)

	// GetRootCertificateWithResponse Get the root certificate
	//
	// Returns the certificate whose key signs the instance's access tokens, so that other services can verify them. By default the body is the base64 certificate on one line; with formatted=true it is a PEM block with header, footer and line breaks. Any authenticated caller may read it.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/cert/root (the `GetRootCertificate` operationId).
	GetRootCertificateWithResponse(ctx context.Context, params *GetRootCertificateParams, reqEditors ...RequestEditorFn) (*GetRootCertificateResponse, error)

	// GetBasicAuthenticationStatusWithResponse Get the basic authentication switch
	//
	// Returns whether usernames and passwords are accepted over HTTP Basic. When the switch is off, only access tokens and reference tokens authenticate (decision 0005). Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/config/security/authentication/basic_authentication_enabled (the `GetBasicAuthenticationStatus` operationId).
	GetBasicAuthenticationStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBasicAuthenticationStatusResponse, error)

	// SetBasicAuthenticationStatusWithBodyWithResponse Set the basic authentication switch
	//
	// Turns acceptance of usernames and passwords over HTTP Basic on or off for the whole instance, from the next request on. Returns 200 with no body. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/config/security/authentication/basic_authentication_enabled (the `SetBasicAuthenticationStatus` operationId).
	SetBasicAuthenticationStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBasicAuthenticationStatusResponse, error)

	// SetBasicAuthenticationStatusWithResponse Set the basic authentication switch
	//
	// Turns acceptance of usernames and passwords over HTTP Basic on or off for the whole instance, from the next request on. Returns 200 with no body. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/config/security/authentication/basic_authentication_enabled (the `SetBasicAuthenticationStatus` operationId).
	SetBasicAuthenticationStatusWithResponse(ctx context.Context, body SetBasicAuthenticationStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBasicAuthenticationStatusResponse, error)

	// UpdatePasswordPolicyWithBodyWithResponse Update the password policy
	//
	// Merges the supplied fields into the password policy; omitted fields keep their current values. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/config/security/password_policy (the `UpdatePasswordPolicy` operationId).
	UpdatePasswordPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePasswordPolicyResponse, error)

	// UpdatePasswordPolicyWithResponse Update the password policy
	//
	// Merges the supplied fields into the password policy; omitted fields keep their current values. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/config/security/password_policy (the `UpdatePasswordPolicy` operationId).
	UpdatePasswordPolicyWithResponse(ctx context.Context, body UpdatePasswordPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePasswordPolicyResponse, error)

	// CreatePasswordPolicyWithBodyWithResponse Replace the password policy
	//
	// Replaces the whole password policy that internal users' passwords must satisfy. Every field not supplied returns to its default, so an empty object resets the policy. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/config/security/password_policy (the `CreatePasswordPolicy` operationId).
	CreatePasswordPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePasswordPolicyResponse, error)

	// CreatePasswordPolicyWithResponse Replace the password policy
	//
	// Replaces the whole password policy that internal users' passwords must satisfy. Every field not supplied returns to its default, so an empty object resets the policy. The policy applies when a password is set or changed, not to existing passwords. Returns 204 with no body. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/config/security/password_policy (the `CreatePasswordPolicy` operationId).
	CreatePasswordPolicyWithResponse(ctx context.Context, body CreatePasswordPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePasswordPolicyResponse, error)

	// GetAccessUserLockPolicyWithResponse Get the user lock policy
	//
	// Returns the user lock policy. A setting never changed reports its default. Reads the same state as GET /artifactory/api/security/userLockPolicy and GET /artifactory/api/security/configuration/passwordExpirationPolicy. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/config/security/user_lock_policy (the `GetAccessUserLockPolicy` operationId).
	GetAccessUserLockPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccessUserLockPolicyResponse, error)

	// ConfigureAccessUserLockPolicyWithBodyWithResponse Replace the user lock policy
	//
	// Replaces the user lock policy and returns what was stored. Send every field; an omitted field is stored as 0 or false, not as its default. To change one setting, read the policy and send it back with that field changed. Setting attempts to 0 unlocks every locked user. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/config/security/user_lock_policy (the `ConfigureAccessUserLockPolicy` operationId).
	ConfigureAccessUserLockPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfigureAccessUserLockPolicyResponse, error)

	// ConfigureAccessUserLockPolicyWithResponse Replace the user lock policy
	//
	// Replaces the user lock policy and returns what was stored. Send every field; an omitted field is stored as 0 or false, not as its default. To change one setting, read the policy and send it back with that field changed. Setting attempts to 0 unlocks every locked user. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/config/security/user_lock_policy (the `ConfigureAccessUserLockPolicy` operationId).
	ConfigureAccessUserLockPolicyWithResponse(ctx context.Context, body ConfigureAccessUserLockPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfigureAccessUserLockPolicyResponse, error)

	// GetTokenDefaultExpiryWithResponse Get the default token lifetime
	//
	// Returns the lifetime, in seconds, that POST /api/v1/tokens gives to tokens created without expires_in. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/config/token/default_expiry (the `GetTokenDefaultExpiry` operationId).
	GetTokenDefaultExpiryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTokenDefaultExpiryResponse, error)

	// SetTokenDefaultExpiryWithBodyWithResponse Set the default token lifetime
	//
	// Changes the lifetime given to access tokens created without expires_in. Tokens already issued keep their expiry. Returns 200 with no body. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/config/token/default_expiry (the `SetTokenDefaultExpiry` operationId).
	SetTokenDefaultExpiryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTokenDefaultExpiryResponse, error)

	// SetTokenDefaultExpiryWithResponse Set the default token lifetime
	//
	// Changes the lifetime given to access tokens created without expires_in. Tokens already issued keep their expiry. Returns 200 with no body. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/config/token/default_expiry (the `SetTokenDefaultExpiry` operationId).
	SetTokenDefaultExpiryWithResponse(ctx context.Context, body SetTokenDefaultExpiryJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTokenDefaultExpiryResponse, error)

	// GetCrowdConfigurationWithResponse Get the Crowd configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/crowd (the `GetCrowdConfiguration` operationId).
	GetCrowdConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCrowdConfigurationResponse, error)

	// UpsertCrowdConfigurationWithBodyWithResponse Set the Crowd configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/crowd (the `UpsertCrowdConfiguration` operationId).
	UpsertCrowdConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertCrowdConfigurationResponse, error)

	// UpsertCrowdConfigurationWithResponse Set the Crowd configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/crowd (the `UpsertCrowdConfiguration` operationId).
	UpsertCrowdConfigurationWithResponse(ctx context.Context, body UpsertCrowdConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertCrowdConfigurationResponse, error)

	// GetGlobalEnvironmentsWithResponse List global environments
	//
	// Returns every global environment, including the built-in DEV and PROD. Every repository belongs to exactly one environment (DEV by default). Admin only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/environments (the `GetGlobalEnvironments` operationId).
	GetGlobalEnvironmentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGlobalEnvironmentsResponse, error)

	// CreateGlobalEnvironmentWithBodyWithResponse Create a global environment
	//
	// Creates an environment and returns it with status 201. Names are case-insensitive and at most 32 characters; a name that differs from an existing one only by case answers 409. At most 10 global environments may exist by default, DEV and PROD among them; once that many exist, another answers 400. Admin only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/environments (the `CreateGlobalEnvironment` operationId).
	CreateGlobalEnvironmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGlobalEnvironmentResponse, error)

	// CreateGlobalEnvironmentWithResponse Create a global environment
	//
	// Creates an environment and returns it with status 201. Names are case-insensitive and at most 32 characters; a name that differs from an existing one only by case answers 409. At most 10 global environments may exist by default, DEV and PROD among them; once that many exist, another answers 400. Admin only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/environments (the `CreateGlobalEnvironment` operationId).
	CreateGlobalEnvironmentWithResponse(ctx context.Context, body CreateGlobalEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGlobalEnvironmentResponse, error)

	// DeleteGlobalEnvironmentWithResponse Delete a global environment
	//
	// Removes an environment. DEV and PROD cannot be deleted, nor can an environment that repositories or global roles still name; both answer 400. Admin only. Answers 204 with no body.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/environments/{environmentName} (the `DeleteGlobalEnvironment` operationId).
	DeleteGlobalEnvironmentWithResponse(ctx context.Context, environmentName EnvironmentName, reqEditors ...RequestEditorFn) (*DeleteGlobalEnvironmentResponse, error)

	// RenameGlobalEnvironmentWithBodyWithResponse Rename a global environment
	//
	// Renames the environment and updates every repository and role that references it. The built-in DEV and PROD cannot be renamed. Admin only. Answers 200 with the environment under its new name.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/environments/{environmentName}/rename (the `RenameGlobalEnvironment` operationId).
	RenameGlobalEnvironmentWithBodyWithResponse(ctx context.Context, environmentName EnvironmentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameGlobalEnvironmentResponse, error)

	// RenameGlobalEnvironmentWithResponse Rename a global environment
	//
	// Renames the environment and updates every repository and role that references it. The built-in DEV and PROD cannot be renamed. Admin only. Answers 200 with the environment under its new name.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/environments/{environmentName}/rename (the `RenameGlobalEnvironment` operationId).
	RenameGlobalEnvironmentWithResponse(ctx context.Context, environmentName EnvironmentName, body RenameGlobalEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameGlobalEnvironmentResponse, error)

	// GetHttpSsoConfigurationWithResponse Get the HTTP single sign-on configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/httpsso (the `GetHttpSsoConfiguration` operationId).
	GetHttpSsoConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHttpSsoConfigurationResponse, error)

	// UpsertHttpSsoConfigurationWithBodyWithResponse Set the HTTP single sign-on configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/httpsso (the `UpsertHttpSsoConfiguration` operationId).
	UpsertHttpSsoConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertHttpSsoConfigurationResponse, error)

	// UpsertHttpSsoConfigurationWithResponse Set the HTTP single sign-on configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/httpsso (the `UpsertHttpSsoConfiguration` operationId).
	UpsertHttpSsoConfigurationWithResponse(ctx context.Context, body UpsertHttpSsoConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertHttpSsoConfigurationResponse, error)

	// GetAllLdapGroupSettingsWithResponse List LDAP group settings
	//
	// Returns every LDAP group synchronisation setting. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/ldap/groups (the `GetAllLdapGroupSettings` operationId).
	GetAllLdapGroupSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllLdapGroupSettingsResponse, error)

	// CreateLdapGroupSettingsWithBodyWithResponse Create an LDAP group setting
	//
	// Defines how groups are read from the LDAP connection named in enabled_ldap and mapped to local groups. Answers 201 with the stored setting. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/ldap/groups (the `CreateLdapGroupSettings` operationId).
	CreateLdapGroupSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLdapGroupSettingsResponse, error)

	// CreateLdapGroupSettingsWithResponse Create an LDAP group setting
	//
	// Defines how groups are read from the LDAP connection named in enabled_ldap and mapped to local groups. Answers 201 with the stored setting. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/ldap/groups (the `CreateLdapGroupSettings` operationId).
	CreateLdapGroupSettingsWithResponse(ctx context.Context, body CreateLdapGroupSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLdapGroupSettingsResponse, error)

	// UpdateLdapGroupSettingsWithBodyWithResponse Replace an LDAP group setting
	//
	// Replaces the group setting whose name matches the body's name. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/ldap/groups (the `UpdateLdapGroupSettings` operationId).
	UpdateLdapGroupSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLdapGroupSettingsResponse, error)

	// UpdateLdapGroupSettingsWithResponse Replace an LDAP group setting
	//
	// Replaces the group setting whose name matches the body's name. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/ldap/groups (the `UpdateLdapGroupSettings` operationId).
	UpdateLdapGroupSettingsWithResponse(ctx context.Context, body UpdateLdapGroupSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLdapGroupSettingsResponse, error)

	// ImportLdapGroupsWithBodyWithResponse Import LDAP groups
	//
	// Creates local groups, or updates existing ones, for the listed LDAP groups through the given group setting, so that permissions can be granted to them. Returns 204. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/ldap/groups/import (the `ImportLdapGroups` operationId).
	ImportLdapGroupsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportLdapGroupsResponse, error)

	// ImportLdapGroupsWithResponse Import LDAP groups
	//
	// Creates local groups, or updates existing ones, for the listed LDAP groups through the given group setting, so that permissions can be granted to them. Returns 204. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/ldap/groups/import (the `ImportLdapGroups` operationId).
	ImportLdapGroupsWithResponse(ctx context.Context, body ImportLdapGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportLdapGroupsResponse, error)

	// SearchLdapGroupsWithBodyWithResponse Search LDAP groups
	//
	// Runs the group search described by the body against its LDAP connection and returns the groups found, each with its distinguished name and local status. With username, returns only that user's groups. Nothing is stored. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/ldap/groups/search (the `SearchLdapGroups` operationId).
	SearchLdapGroupsWithBodyWithResponse(ctx context.Context, params *SearchLdapGroupsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchLdapGroupsResponse, error)

	// SearchLdapGroupsWithResponse Search LDAP groups
	//
	// Runs the group search described by the body against its LDAP connection and returns the groups found, each with its distinguished name and local status. With username, returns only that user's groups. Nothing is stored. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/ldap/groups/search (the `SearchLdapGroups` operationId).
	SearchLdapGroupsWithResponse(ctx context.Context, params *SearchLdapGroupsParams, body SearchLdapGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchLdapGroupsResponse, error)

	// GetLdapGroupMappingStrategyWithResponse Get a group mapping strategy
	//
	// Returns the default filter and attribute names of one group mapping strategy, as a starting point for a new group setting. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/ldap/groups/strategy (the `GetLdapGroupMappingStrategy` operationId).
	GetLdapGroupMappingStrategyWithResponse(ctx context.Context, params *GetLdapGroupMappingStrategyParams, reqEditors ...RequestEditorFn) (*GetLdapGroupMappingStrategyResponse, error)

	// DeleteLdapGroupSettingsWithResponse Delete an LDAP group setting
	//
	// Removes the group setting. Groups already imported through it remain as local groups. Returns 204. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/ldap/groups/{name} (the `DeleteLdapGroupSettings` operationId).
	DeleteLdapGroupSettingsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteLdapGroupSettingsResponse, error)

	// GetLdapGroupSettingsByNameWithResponse Get an LDAP group setting
	//
	// Returns one LDAP group setting. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/ldap/groups/{name} (the `GetLdapGroupSettingsByName` operationId).
	GetLdapGroupSettingsByNameWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetLdapGroupSettingsByNameResponse, error)

	// RefreshLdapGroupSettingsWithResponse Refresh LDAP groups
	//
	// Re-reads the LDAP groups of the named setting. operation chooses whether to update the memberships of groups already imported, import the groups not yet present, or both. With username, only that user's memberships are refreshed. Returns a plain-text summary that includes the number of groups imported. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/ldap/groups/{name}/refresh (the `RefreshLdapGroupSettings` operationId).
	RefreshLdapGroupSettingsWithResponse(ctx context.Context, name string, params *RefreshLdapGroupSettingsParams, reqEditors ...RequestEditorFn) (*RefreshLdapGroupSettingsResponse, error)

	// GetAllLdapSettingsWithResponse List LDAP connections
	//
	// Returns every LDAP server connection that logins are checked against. Manager passwords are never returned. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/ldap/settings (the `GetAllLdapSettings` operationId).
	GetAllLdapSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllLdapSettingsResponse, error)

	// CreateLdapSettingsWithBodyWithResponse Create an LDAP connection
	//
	// Adds an LDAP server that login attempts are checked against, in addition to internal users. Answers 201 with the stored connection. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/ldap/settings (the `CreateLdapSettings` operationId).
	CreateLdapSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLdapSettingsResponse, error)

	// CreateLdapSettingsWithResponse Create an LDAP connection
	//
	// Adds an LDAP server that login attempts are checked against, in addition to internal users. Answers 201 with the stored connection. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/ldap/settings (the `CreateLdapSettings` operationId).
	CreateLdapSettingsWithResponse(ctx context.Context, body CreateLdapSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLdapSettingsResponse, error)

	// UpdateLdapSettingsWithBodyWithResponse Replace an LDAP connection
	//
	// Replaces the connection whose key matches the body's key. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/ldap/settings (the `UpdateLdapSettings` operationId).
	UpdateLdapSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLdapSettingsResponse, error)

	// UpdateLdapSettingsWithResponse Replace an LDAP connection
	//
	// Replaces the connection whose key matches the body's key. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/ldap/settings (the `UpdateLdapSettings` operationId).
	UpdateLdapSettingsWithResponse(ctx context.Context, body UpdateLdapSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLdapSettingsResponse, error)

	// TestLdapConnectionWithBodyWithResponse Test an LDAP connection
	//
	// Binds to the server described by the body, without storing anything, and answers 204 when the bind and any configured search succeed. A failing test answers 400 with the server's error. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/ldap/settings/test (the `TestLdapConnection` operationId).
	TestLdapConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestLdapConnectionResponse, error)

	// TestLdapConnectionWithResponse Test an LDAP connection
	//
	// Binds to the server described by the body, without storing anything, and answers 204 when the bind and any configured search succeed. A failing test answers 400 with the server's error. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/ldap/settings/test (the `TestLdapConnection` operationId).
	TestLdapConnectionWithResponse(ctx context.Context, body TestLdapConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TestLdapConnectionResponse, error)

	// DeleteLdapSettingsWithResponse Delete an LDAP connection
	//
	// Removes the connection. Users created through it keep their local accounts but can no longer log in through it, and group settings that name it in enabled_ldap stop synchronising. Returns 204. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/ldap/settings/{key} (the `DeleteLdapSettings` operationId).
	DeleteLdapSettingsWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*DeleteLdapSettingsResponse, error)

	// GetLdapSettingsByKeyWithResponse Get an LDAP connection
	//
	// Returns one LDAP connection without its manager password. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/ldap/settings/{key} (the `GetLdapSettingsByKey` operationId).
	GetLdapSettingsByKeyWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetLdapSettingsByKeyResponse, error)

	// EnableCloudLogCollectionWithBodyWithResponse Switch cloud log collection (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/logshipping/config (the `EnableCloudLogCollection` operationId).
	EnableCloudLogCollectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnableCloudLogCollectionResponse, error)

	// EnableCloudLogCollectionWithResponse Switch cloud log collection (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/logshipping/config (the `EnableCloudLogCollection` operationId).
	EnableCloudLogCollectionWithResponse(ctx context.Context, body EnableCloudLogCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*EnableCloudLogCollectionResponse, error)

	// GetAllOidcConfigurationsWithResponse List OIDC providers
	//
	// Returns every OpenID Connect provider whose ID tokens the token exchange (POST /api/v1/oidc/token) trusts. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/oidc (the `GetAllOidcConfigurations` operationId).
	GetAllOidcConfigurationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllOidcConfigurationsResponse, error)

	// CreateOidcConfigurationWithBodyWithResponse Create an OIDC provider
	//
	// Registers an external identity provider, typically a CI system, whose signed ID tokens may be exchanged for access tokens. Answers 200 with the stored configuration. A duplicate name or a GitHub provider type without organization is rejected with 400. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/oidc (the `CreateOidcConfiguration` operationId).
	CreateOidcConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOidcConfigurationResponse, error)

	// CreateOidcConfigurationWithResponse Create an OIDC provider
	//
	// Registers an external identity provider, typically a CI system, whose signed ID tokens may be exchanged for access tokens. Answers 200 with the stored configuration. A duplicate name or a GitHub provider type without organization is rejected with 400. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/oidc (the `CreateOidcConfiguration` operationId).
	CreateOidcConfigurationWithResponse(ctx context.Context, body CreateOidcConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOidcConfigurationResponse, error)

	// OidcTokenExchangeWithBodyWithResponse Exchange an ID token for an access token
	//
	// Implements the OAuth 2.0 token exchange of RFC 8693 for CI workload identity. The caller presents an ID token signed by a registered provider; the server verifies its signature, issuer and audience, tries the provider's identity mappings in priority order, and issues an access token shaped by the token_spec of the first mapping whose claims all match. Needs no authentication: the subject token is the credential. Answers 400 when the request is malformed, when no mapping matches, or when the matching mapping's patterns do not accept the token's claims, and 401 when the subject token does not verify.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/oidc/token (the `OidcTokenExchange` operationId).
	OidcTokenExchangeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OidcTokenExchangeResponse, error)

	// OidcTokenExchangeWithResponse Exchange an ID token for an access token
	//
	// Implements the OAuth 2.0 token exchange of RFC 8693 for CI workload identity. The caller presents an ID token signed by a registered provider; the server verifies its signature, issuer and audience, tries the provider's identity mappings in priority order, and issues an access token shaped by the token_spec of the first mapping whose claims all match. Needs no authentication: the subject token is the credential. Answers 400 when the request is malformed, when no mapping matches, or when the matching mapping's patterns do not accept the token's claims, and 401 when the subject token does not verify.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/oidc/token (the `OidcTokenExchange` operationId).
	OidcTokenExchangeWithResponse(ctx context.Context, body OidcTokenExchangeJSONRequestBody, reqEditors ...RequestEditorFn) (*OidcTokenExchangeResponse, error)

	// DeleteOidcConfigurationWithResponse Delete an OIDC provider
	//
	// Removes the provider and its identity mappings, so token exchanges that name it fail from then on. Tokens already issued through it stay valid until they expire or are revoked. Returns 204. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/oidc/{name} (the `DeleteOidcConfiguration` operationId).
	DeleteOidcConfigurationWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteOidcConfigurationResponse, error)

	// GetOidcConfigurationWithResponse Get an OIDC provider
	//
	// Returns one provider configuration. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/oidc/{name} (the `GetOidcConfiguration` operationId).
	GetOidcConfigurationWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetOidcConfigurationResponse, error)

	// UpdateOidcConfigurationWithBodyWithResponse Replace an OIDC provider
	//
	// Replaces the named provider's configuration with the body. The path names the provider; a name in the body must match it. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/oidc/{name} (the `UpdateOidcConfiguration` operationId).
	UpdateOidcConfigurationWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOidcConfigurationResponse, error)

	// UpdateOidcConfigurationWithResponse Replace an OIDC provider
	//
	// Replaces the named provider's configuration with the body. The path names the provider; a name in the body must match it. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/oidc/{name} (the `UpdateOidcConfiguration` operationId).
	UpdateOidcConfigurationWithResponse(ctx context.Context, name string, body UpdateOidcConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOidcConfigurationResponse, error)

	// GetOidcIdentityMappingsWithResponse List identity mappings
	//
	// Returns the identity mappings of one provider, optionally only those of one project. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/oidc/{provider_name}/identity_mappings (the `GetOidcIdentityMappings` operationId).
	GetOidcIdentityMappingsWithResponse(ctx context.Context, providerName string, params *GetOidcIdentityMappingsParams, reqEditors ...RequestEditorFn) (*GetOidcIdentityMappingsResponse, error)

	// CreateOidcIdentityMappingWithBodyWithResponse Create an identity mapping
	//
	// Adds a rule to a provider: when a presented ID token carries every claim in claims, the exchange issues a token described by token_spec. Answers 200 with the stored mapping, including the project_key derived from its scope. A scope that names project roles in more than one project is refused with 400. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/oidc/{provider_name}/identity_mappings (the `CreateOidcIdentityMapping` operationId).
	CreateOidcIdentityMappingWithBodyWithResponse(ctx context.Context, providerName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOidcIdentityMappingResponse, error)

	// CreateOidcIdentityMappingWithResponse Create an identity mapping
	//
	// Adds a rule to a provider: when a presented ID token carries every claim in claims, the exchange issues a token described by token_spec. Answers 200 with the stored mapping, including the project_key derived from its scope. A scope that names project roles in more than one project is refused with 400. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/oidc/{provider_name}/identity_mappings (the `CreateOidcIdentityMapping` operationId).
	CreateOidcIdentityMappingWithResponse(ctx context.Context, providerName string, body CreateOidcIdentityMappingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOidcIdentityMappingResponse, error)

	// DeleteOidcIdentityMappingWithResponse Delete an identity mapping
	//
	// Removes one identity mapping. Tokens already issued through it stay valid. Returns 204. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `DeleteOidcIdentityMapping` operationId).
	DeleteOidcIdentityMappingWithResponse(ctx context.Context, providerName string, mappingName string, reqEditors ...RequestEditorFn) (*DeleteOidcIdentityMappingResponse, error)

	// GetOidcIdentityMappingByNameWithResponse Get an identity mapping
	//
	// Returns one identity mapping of a provider. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `GetOidcIdentityMappingByName` operationId).
	GetOidcIdentityMappingByNameWithResponse(ctx context.Context, providerName string, mappingName string, reqEditors ...RequestEditorFn) (*GetOidcIdentityMappingByNameResponse, error)

	// UpdateOidcIdentityMappingWithBodyWithResponse Replace an identity mapping
	//
	// Replaces the named mapping with the body. The mapping's project, which the project roles in token_spec.scope imply, cannot change, so a scope that implies another project, none for a project's mapping or one for a global mapping is refused with 400, as is a scope that names project roles in more than one project. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `UpdateOidcIdentityMapping` operationId).
	UpdateOidcIdentityMappingWithBodyWithResponse(ctx context.Context, providerName string, mappingName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOidcIdentityMappingResponse, error)

	// UpdateOidcIdentityMappingWithResponse Replace an identity mapping
	//
	// Replaces the named mapping with the body. The mapping's project, which the project roles in token_spec.scope imply, cannot change, so a scope that implies another project, none for a project's mapping or one for a global mapping is refused with 400, as is a scope that names project roles in more than one project. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/oidc/{provider_name}/identity_mappings/{mapping_name} (the `UpdateOidcIdentityMapping` operationId).
	UpdateOidcIdentityMappingWithResponse(ctx context.Context, providerName string, mappingName string, body UpdateOidcIdentityMappingJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOidcIdentityMappingResponse, error)

	// GetProjectsListWithResponse List projects
	//
	// Returns every project for a platform admin, and only the projects they administer for a project admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/projects (the `GetProjectsList` operationId).
	GetProjectsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetProjectsListResponse, error)

	// CreateProjectWithBodyWithResponse Create a project
	//
	// Creates a project with no members, the predefined roles and no repositories. The key is immutable afterwards. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/projects (the `CreateProject` operationId).
	CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

	// CreateProjectWithResponse Create a project
	//
	// Creates a project with no members, the predefined roles and no repositories. The key is immutable afterwards. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/projects (the `CreateProject` operationId).
	CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

	// UnassignProjectFromRepositoryWithResponse Unassign a repository from its project
	//
	// Removes the repository from the project that owns it. Sharing with other projects is kept. The repository's projectKey is cleared synchronously. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/projects/_/attach/repositories/{repoName} (the `UnassignProjectFromRepository` operationId).
	UnassignProjectFromRepositoryWithResponse(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*UnassignProjectFromRepositoryResponse, error)

	// AttachRepositoryToProjectWithResponse Assign a repository to a project
	//
	// Makes targetProjectKey the owner of the repository, moving it from its current project when force is true. The assignment is visible synchronously: when the call returns, the repository's configuration (GET /artifactory/api/repositories/{key}) already carries projectKey. The repository key is not renamed. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/projects/_/attach/repositories/{repoName}/{targetProjectKey} (the `AttachRepositoryToProject` operationId).
	AttachRepositoryToProjectWithResponse(ctx context.Context, repoName string, targetProjectKey string, params *AttachRepositoryToProjectParams, reqEditors ...RequestEditorFn) (*AttachRepositoryToProjectResponse, error)

	// GetProjectRepositoryStatusWithResponse Get a repository's project status
	//
	// Reports which project owns the repository and which projects it is shared with. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/projects/_/repositories/{repoName} (the `GetProjectRepositoryStatus` operationId).
	GetProjectRepositoryStatusWithResponse(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*GetProjectRepositoryStatusResponse, error)

	// UnshareRepositoryWithAllProjectsWithResponse Stop sharing a repository with every project
	//
	// Removes the share-with-all setting. Shares with individual projects remain. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/projects/_/share/repositories/{repoName} (the `UnshareRepositoryWithAllProjects` operationId).
	UnshareRepositoryWithAllProjectsWithResponse(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*UnshareRepositoryWithAllProjectsResponse, error)

	// ShareRepositoryWithAllProjectsWithResponse Share a repository with every project
	//
	// Lets members of every project use the local or remote repository according to their roles in their own project. The owning project is unchanged. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/projects/_/share/repositories/{repoName} (the `ShareRepositoryWithAllProjects` operationId).
	ShareRepositoryWithAllProjectsWithResponse(ctx context.Context, repoName string, reqEditors ...RequestEditorFn) (*ShareRepositoryWithAllProjectsResponse, error)

	// UnshareRepositoryWithTargetProjectWithResponse Stop sharing a repository with one project
	//
	// Removes the share with the target project. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/projects/_/share/repositories/{repoName}/{targetProjectKey} (the `UnshareRepositoryWithTargetProject` operationId).
	UnshareRepositoryWithTargetProjectWithResponse(ctx context.Context, repoName string, targetProjectKey string, reqEditors ...RequestEditorFn) (*UnshareRepositoryWithTargetProjectResponse, error)

	// ShareRepositoryWithTargetProjectWithResponse Share a repository with one project
	//
	// Lets members of the target project use the local or remote repository according to their roles there, read-only when readOnly is true. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/projects/_/share/repositories/{repoName}/{targetProjectKey} (the `ShareRepositoryWithTargetProject` operationId).
	ShareRepositoryWithTargetProjectWithResponse(ctx context.Context, repoName string, targetProjectKey string, params *ShareRepositoryWithTargetProjectParams, reqEditors ...RequestEditorFn) (*ShareRepositoryWithTargetProjectResponse, error)

	// DeleteProjectWithResponse Delete a project
	//
	// Deletes the project, its custom roles and memberships. The project's repositories are not deleted: they are unassigned and keep their keys. Deleting a project that still owns repositories is allowed. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/projects/{projectKey} (the `DeleteProject` operationId).
	DeleteProjectWithResponse(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)

	// GetProjectWithResponse Get a project
	//
	// Returns one project. Requires a platform admin or an admin of the project.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/projects/{projectKey} (the `GetProject` operationId).
	GetProjectWithResponse(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)

	// UpdateProjectWithBodyWithResponse Update a project
	//
	// Changes the project's display name, description, quota and admin privileges. The key cannot change. Lowering the quota below current usage is accepted and blocks further deployments until usage drops (unless soft_limit is true). Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/projects/{projectKey} (the `UpdateProject` operationId).
	UpdateProjectWithBodyWithResponse(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

	// UpdateProjectWithResponse Update a project
	//
	// Changes the project's display name, description, quota and admin privileges. The key cannot change. Lowering the quota below current usage is accepted and blocks further deployments until usage drops (unless soft_limit is true). Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/projects/{projectKey} (the `UpdateProject` operationId).
	UpdateProjectWithResponse(ctx context.Context, projectKey string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

	// GetProjectEnvironmentsWithResponse List a project's environments
	//
	// Returns the environments defined inside one project, which project roles and project repositories may reference in addition to the global ones. Requires a platform admin or an admin of the project.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/projects/{projectKey}/environments (the `GetProjectEnvironments` operationId).
	GetProjectEnvironmentsWithResponse(ctx context.Context, projectKey ProjectKey, reqEditors ...RequestEditorFn) (*GetProjectEnvironmentsResponse, error)

	// CreateProjectEnvironmentWithBodyWithResponse Create a project environment
	//
	// Creates an environment scoped to the project and returns it with status 201. A project may hold at most ten environments by default. The name must not collide with a global environment. Requires a platform admin or an admin of the project.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/projects/{projectKey}/environments (the `CreateProjectEnvironment` operationId).
	CreateProjectEnvironmentWithBodyWithResponse(ctx context.Context, projectKey ProjectKey, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectEnvironmentResponse, error)

	// CreateProjectEnvironmentWithResponse Create a project environment
	//
	// Creates an environment scoped to the project and returns it with status 201. A project may hold at most ten environments by default. The name must not collide with a global environment. Requires a platform admin or an admin of the project.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/projects/{projectKey}/environments (the `CreateProjectEnvironment` operationId).
	CreateProjectEnvironmentWithResponse(ctx context.Context, projectKey ProjectKey, body CreateProjectEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectEnvironmentResponse, error)

	// DeleteProjectEnvironmentWithResponse Delete a project environment
	//
	// Removes a project environment that no repository in the project still uses. Requires a platform admin or an admin of the project. Answers 204 with no body.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/projects/{projectKey}/environments/{environmentName} (the `DeleteProjectEnvironment` operationId).
	DeleteProjectEnvironmentWithResponse(ctx context.Context, projectKey ProjectKey, environmentName EnvironmentName, reqEditors ...RequestEditorFn) (*DeleteProjectEnvironmentResponse, error)

	// RenameProjectEnvironmentWithBodyWithResponse Rename a project environment
	//
	// Renames a project environment and updates the project's repositories and roles that reference it. Requires a platform admin or an admin of the project.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/projects/{projectKey}/environments/{environmentName}/rename (the `RenameProjectEnvironment` operationId).
	RenameProjectEnvironmentWithBodyWithResponse(ctx context.Context, projectKey ProjectKey, environmentName EnvironmentName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameProjectEnvironmentResponse, error)

	// RenameProjectEnvironmentWithResponse Rename a project environment
	//
	// Renames a project environment and updates the project's repositories and roles that reference it. Requires a platform admin or an admin of the project.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/projects/{projectKey}/environments/{environmentName}/rename (the `RenameProjectEnvironment` operationId).
	RenameProjectEnvironmentWithResponse(ctx context.Context, projectKey ProjectKey, environmentName EnvironmentName, body RenameProjectEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameProjectEnvironmentResponse, error)

	// GetProjectGroupsWithResponse List project groups
	//
	// Returns the groups holding a role in the project, with their roles. Requires a platform admin, or a project admin of this project with the manage_members privilege. A token scoped project:<key>/members/groups:r is also accepted.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/projects/{projectKey}/groups (the `GetProjectGroups` operationId).
	GetProjectGroupsWithResponse(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*GetProjectGroupsResponse, error)

	// DeleteProjectGroupWithResponse Remove a group from a project
	//
	// Removes the group's roles in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/projects/{projectKey}/groups/{group} (the `DeleteProjectGroup` operationId).
	DeleteProjectGroupWithResponse(ctx context.Context, projectKey string, group string, reqEditors ...RequestEditorFn) (*DeleteProjectGroupResponse, error)

	// GetProjectGroupWithResponse Get a project group
	//
	// Returns one group's roles in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/projects/{projectKey}/groups/{group} (the `GetProjectGroup` operationId).
	GetProjectGroupWithResponse(ctx context.Context, projectKey string, group string, reqEditors ...RequestEditorFn) (*GetProjectGroupResponse, error)

	// UpdateProjectGroupWithBodyWithResponse Add a group to a project or set its roles
	//
	// Adds the group to the project with the given roles, or replaces the roles of a member group. The group must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/projects/{projectKey}/groups/{group} (the `UpdateProjectGroup` operationId).
	UpdateProjectGroupWithBodyWithResponse(ctx context.Context, projectKey string, group string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectGroupResponse, error)

	// UpdateProjectGroupWithResponse Add a group to a project or set its roles
	//
	// Adds the group to the project with the given roles, or replaces the roles of a member group. The group must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/projects/{projectKey}/groups/{group} (the `UpdateProjectGroup` operationId).
	UpdateProjectGroupWithResponse(ctx context.Context, projectKey string, group string, body UpdateProjectGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectGroupResponse, error)

	// GetProjectRolesWithResponse List project roles
	//
	// Returns every role usable in the project: the predefined roles, the project's custom roles and global custom roles. Requires a platform admin or an admin of the project. A token scoped project:<key>/roles:r is also accepted.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/projects/{projectKey}/roles (the `GetProjectRoles` operationId).
	GetProjectRolesWithResponse(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*GetProjectRolesResponse, error)

	// CreateProjectRoleWithBodyWithResponse Create a custom project role
	//
	// Defines a CUSTOM role in the project. Unknown actions and unknown environments are rejected with 400; a name already used in the project is rejected with 400. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/projects/{projectKey}/roles (the `CreateProjectRole` operationId).
	CreateProjectRoleWithBodyWithResponse(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectRoleResponse, error)

	// CreateProjectRoleWithResponse Create a custom project role
	//
	// Defines a CUSTOM role in the project. Unknown actions and unknown environments are rejected with 400; a name already used in the project is rejected with 400. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/projects/{projectKey}/roles (the `CreateProjectRole` operationId).
	CreateProjectRoleWithResponse(ctx context.Context, projectKey string, body CreateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectRoleResponse, error)

	// DeleteProjectRoleWithResponse Delete a custom project role
	//
	// Deletes a CUSTOM role and removes it from every member that held it. Predefined roles cannot be deleted (400). Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/projects/{projectKey}/roles/{role} (the `DeleteProjectRole` operationId).
	DeleteProjectRoleWithResponse(ctx context.Context, projectKey string, role string, reqEditors ...RequestEditorFn) (*DeleteProjectRoleResponse, error)

	// GetProjectRoleWithResponse Get a project role
	//
	// Returns one role usable in the project. Requires a platform admin or an admin of the project.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/projects/{projectKey}/roles/{role} (the `GetProjectRole` operationId).
	GetProjectRoleWithResponse(ctx context.Context, projectKey string, role string, reqEditors ...RequestEditorFn) (*GetProjectRoleResponse, error)

	// UpdateProjectRoleWithBodyWithResponse Replace a custom project role
	//
	// Replaces the role's description, environments and actions. Only CUSTOM roles can be changed; members holding the role get the new actions at once. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/projects/{projectKey}/roles/{role} (the `UpdateProjectRole` operationId).
	UpdateProjectRoleWithBodyWithResponse(ctx context.Context, projectKey string, role string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectRoleResponse, error)

	// UpdateProjectRoleWithResponse Replace a custom project role
	//
	// Replaces the role's description, environments and actions. Only CUSTOM roles can be changed; members holding the role get the new actions at once. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/projects/{projectKey}/roles/{role} (the `UpdateProjectRole` operationId).
	UpdateProjectRoleWithResponse(ctx context.Context, projectKey string, role string, body UpdateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectRoleResponse, error)

	// GetProjectUsersWithResponse List project users
	//
	// Returns the users holding a direct role in the project, with their roles. Requires a platform admin, or a project admin of this project with the manage_members privilege. A token scoped project:<key>/members/users:r is also accepted.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/projects/{projectKey}/users (the `GetProjectUsers` operationId).
	GetProjectUsersWithResponse(ctx context.Context, projectKey string, reqEditors ...RequestEditorFn) (*GetProjectUsersResponse, error)

	// DeleteProjectUserWithResponse Remove a user from a project
	//
	// Removes the user's direct roles in the project. Roles held through groups remain. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/projects/{projectKey}/users/{user} (the `DeleteProjectUser` operationId).
	DeleteProjectUserWithResponse(ctx context.Context, projectKey string, user string, reqEditors ...RequestEditorFn) (*DeleteProjectUserResponse, error)

	// GetProjectUserWithResponse Get a project user
	//
	// Returns one user's roles in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/projects/{projectKey}/users/{user} (the `GetProjectUser` operationId).
	GetProjectUserWithResponse(ctx context.Context, projectKey string, user string, reqEditors ...RequestEditorFn) (*GetProjectUserResponse, error)

	// AddOrUpdateProjectUserWithBodyWithResponse Add a user to a project or set their roles
	//
	// Adds the user to the project with the given roles, or replaces the roles of an existing member. The user must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/projects/{projectKey}/users/{user} (the `AddOrUpdateProjectUser` operationId).
	AddOrUpdateProjectUserWithBodyWithResponse(ctx context.Context, projectKey string, user string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddOrUpdateProjectUserResponse, error)

	// AddOrUpdateProjectUserWithResponse Add a user to a project or set their roles
	//
	// Adds the user to the project with the given roles, or replaces the roles of an existing member. The user must exist; every role must exist in the project. Requires a platform admin, or a project admin of this project with the manage_members privilege.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/projects/{projectKey}/users/{user} (the `AddOrUpdateProjectUser` operationId).
	AddOrUpdateProjectUserWithResponse(ctx context.Context, projectKey string, user string, body AddOrUpdateProjectUserJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOrUpdateProjectUserResponse, error)

	// GetAllGlobalRolesWithResponse List global roles
	//
	// Returns every global role: the built-in ADMIN and PREDEFINED roles and the CUSTOM_GLOBAL roles created through this API. Admin only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/roles (the `GetAllGlobalRoles` operationId).
	GetAllGlobalRolesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllGlobalRolesResponse, error)

	// CreateGlobalRoleWithBodyWithResponse Create a global role
	//
	// Creates a CUSTOM_GLOBAL role that project admins can assign in any project. The response is 201 with {"code":"OK","message":"Role '<name>' created"}. Admin only. An existing name answers 409.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/roles (the `CreateGlobalRole` operationId).
	CreateGlobalRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGlobalRoleResponse, error)

	// CreateGlobalRoleWithResponse Create a global role
	//
	// Creates a CUSTOM_GLOBAL role that project admins can assign in any project. The response is 201 with {"code":"OK","message":"Role '<name>' created"}. Admin only. An existing name answers 409.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/roles (the `CreateGlobalRole` operationId).
	CreateGlobalRoleWithResponse(ctx context.Context, body CreateGlobalRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGlobalRoleResponse, error)

	// DeleteGlobalRoleWithResponse Delete a global role
	//
	// Removes a CUSTOM_GLOBAL role and every assignment of it. Built-in roles answer 400. Admin only. Answers 204 with no body.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/roles/{role} (the `DeleteGlobalRole` operationId).
	DeleteGlobalRoleWithResponse(ctx context.Context, role RoleName, reqEditors ...RequestEditorFn) (*DeleteGlobalRoleResponse, error)

	// GetGlobalRoleWithResponse Get a global role
	//
	// Returns one global role by name. Admin only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/roles/{role} (the `GetGlobalRole` operationId).
	GetGlobalRoleWithResponse(ctx context.Context, role RoleName, reqEditors ...RequestEditorFn) (*GetGlobalRoleResponse, error)

	// UpdateGlobalRoleWithBodyWithResponse Replace a global role
	//
	// Replaces the description, environments and actions of a CUSTOM_GLOBAL role, or the environments and actions of a PREDEFINED one. The name in the body must equal the path name and the type must stay the same; the ADMIN role cannot be changed. Each of these answers 400. Admin only. Answers 200 with no body.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/roles/{role} (the `UpdateGlobalRole` operationId).
	UpdateGlobalRoleWithBodyWithResponse(ctx context.Context, role RoleName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGlobalRoleResponse, error)

	// UpdateGlobalRoleWithResponse Replace a global role
	//
	// Replaces the description, environments and actions of a CUSTOM_GLOBAL role, or the environments and actions of a PREDEFINED one. The name in the body must equal the path name and the type must stay the same; the ADMIN role cannot be changed. Each of these answers 400. Admin only. Answers 200 with no body.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/roles/{role} (the `UpdateGlobalRole` operationId).
	UpdateGlobalRoleWithResponse(ctx context.Context, role RoleName, body UpdateGlobalRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGlobalRoleResponse, error)

	// GetAllSamlSettingsWithResponse List SAML settings (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/saml (the `GetAllSamlSettings` operationId).
	GetAllSamlSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllSamlSettingsResponse, error)

	// CreateSamlSettingWithBodyWithResponse Create a SAML setting (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/saml (the `CreateSamlSetting` operationId).
	CreateSamlSettingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSamlSettingResponse, error)

	// CreateSamlSettingWithResponse Create a SAML setting (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/saml (the `CreateSamlSetting` operationId).
	CreateSamlSettingWithResponse(ctx context.Context, body CreateSamlSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSamlSettingResponse, error)

	// GetSamlGeneralSettingsWithResponse Get the SAML switch (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/saml/general_settings (the `GetSamlGeneralSettings` operationId).
	GetSamlGeneralSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSamlGeneralSettingsResponse, error)

	// UpdateSamlGeneralSettingsWithBodyWithResponse Set the SAML switch (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/saml/general_settings (the `UpdateSamlGeneralSettings` operationId).
	UpdateSamlGeneralSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSamlGeneralSettingsResponse, error)

	// UpdateSamlGeneralSettingsWithResponse Set the SAML switch (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/saml/general_settings (the `UpdateSamlGeneralSettings` operationId).
	UpdateSamlGeneralSettingsWithResponse(ctx context.Context, body UpdateSamlGeneralSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSamlGeneralSettingsResponse, error)

	// DeleteSamlSettingWithResponse Delete a SAML setting (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/saml/{name} (the `DeleteSamlSetting` operationId).
	DeleteSamlSettingWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteSamlSettingResponse, error)

	// GetSamlSettingByNameWithResponse Get a SAML setting (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/saml/{name} (the `GetSamlSettingByName` operationId).
	GetSamlSettingByNameWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetSamlSettingByNameResponse, error)

	// UpdateSamlSettingWithBodyWithResponse Replace a SAML setting (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/saml/{name} (the `UpdateSamlSetting` operationId).
	UpdateSamlSettingWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSamlSettingResponse, error)

	// UpdateSamlSettingWithResponse Replace a SAML setting (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/saml/{name} (the `UpdateSamlSetting` operationId).
	UpdateSamlSettingWithResponse(ctx context.Context, name string, body UpdateSamlSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSamlSettingResponse, error)

	// GetScimGroupsWithResponse List SCIM groups (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/scim/v2/Groups (the `GetScimGroups` operationId).
	GetScimGroupsWithResponse(ctx context.Context, params *GetScimGroupsParams, reqEditors ...RequestEditorFn) (*GetScimGroupsResponse, error)

	// CreateScimGroupWithBodyWithResponse Create a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/scim/v2/Groups (the `CreateScimGroup` operationId).
	CreateScimGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateScimGroupResponse, error)

	// CreateScimGroupWithApplicationScimPlusJSONBodyWithResponse Create a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/scim+json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/scim/v2/Groups (the `CreateScimGroup` operationId).
	CreateScimGroupWithApplicationScimPlusJSONBodyWithResponse(ctx context.Context, body CreateScimGroupApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateScimGroupResponse, error)

	// DeleteScimGroupWithResponse Delete a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/scim/v2/Groups/{groupName} (the `DeleteScimGroup` operationId).
	DeleteScimGroupWithResponse(ctx context.Context, groupName string, reqEditors ...RequestEditorFn) (*DeleteScimGroupResponse, error)

	// GetScimGroupByNameWithResponse Get a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/scim/v2/Groups/{groupName} (the `GetScimGroupByName` operationId).
	GetScimGroupByNameWithResponse(ctx context.Context, groupName string, params *GetScimGroupByNameParams, reqEditors ...RequestEditorFn) (*GetScimGroupByNameResponse, error)

	// PatchScimGroupWithBodyWithResponse Patch a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/scim/v2/Groups/{groupName} (the `PatchScimGroup` operationId).
	PatchScimGroupWithBodyWithResponse(ctx context.Context, groupName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScimGroupResponse, error)

	// PatchScimGroupWithApplicationScimPlusJSONBodyWithResponse Patch a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/scim+json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/scim/v2/Groups/{groupName} (the `PatchScimGroup` operationId).
	PatchScimGroupWithApplicationScimPlusJSONBodyWithResponse(ctx context.Context, groupName string, body PatchScimGroupApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScimGroupResponse, error)

	// UpdateScimGroupWithBodyWithResponse Replace a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/scim/v2/Groups/{groupName} (the `UpdateScimGroup` operationId).
	UpdateScimGroupWithBodyWithResponse(ctx context.Context, groupName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateScimGroupResponse, error)

	// UpdateScimGroupWithApplicationScimPlusJSONBodyWithResponse Replace a SCIM group (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/scim+json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/scim/v2/Groups/{groupName} (the `UpdateScimGroup` operationId).
	UpdateScimGroupWithApplicationScimPlusJSONBodyWithResponse(ctx context.Context, groupName string, body UpdateScimGroupApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateScimGroupResponse, error)

	// GetScimResourceTypesWithResponse List SCIM resource types (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/scim/v2/ResourceTypes (the `GetScimResourceTypes` operationId).
	GetScimResourceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScimResourceTypesResponse, error)

	// GetScimSchemasWithResponse List SCIM schemas (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/scim/v2/Schemas (the `GetScimSchemas` operationId).
	GetScimSchemasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScimSchemasResponse, error)

	// GetScimSchemaByIdWithResponse Get a SCIM schema (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/scim/v2/Schemas/{schemaId} (the `GetScimSchemaById` operationId).
	GetScimSchemaByIdWithResponse(ctx context.Context, schemaId string, reqEditors ...RequestEditorFn) (*GetScimSchemaByIdResponse, error)

	// GetScimServiceProviderConfigWithResponse Get the SCIM service provider configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/scim/v2/ServiceProviderConfig (the `GetScimServiceProviderConfig` operationId).
	GetScimServiceProviderConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScimServiceProviderConfigResponse, error)

	// GetScimUsersWithResponse List SCIM users (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/scim/v2/Users (the `GetScimUsers` operationId).
	GetScimUsersWithResponse(ctx context.Context, params *GetScimUsersParams, reqEditors ...RequestEditorFn) (*GetScimUsersResponse, error)

	// CreateScimUserWithBodyWithResponse Create a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/scim/v2/Users (the `CreateScimUser` operationId).
	CreateScimUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateScimUserResponse, error)

	// CreateScimUserWithApplicationScimPlusJSONBodyWithResponse Create a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/scim+json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/scim/v2/Users (the `CreateScimUser` operationId).
	CreateScimUserWithApplicationScimPlusJSONBodyWithResponse(ctx context.Context, body CreateScimUserApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateScimUserResponse, error)

	// DeleteScimUserWithResponse Delete a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/scim/v2/Users/{username} (the `DeleteScimUser` operationId).
	DeleteScimUserWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*DeleteScimUserResponse, error)

	// GetScimUserByUsernameWithResponse Get a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/scim/v2/Users/{username} (the `GetScimUserByUsername` operationId).
	GetScimUserByUsernameWithResponse(ctx context.Context, username string, params *GetScimUserByUsernameParams, reqEditors ...RequestEditorFn) (*GetScimUserByUsernameResponse, error)

	// PatchScimUserWithBodyWithResponse Patch a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/scim/v2/Users/{username} (the `PatchScimUser` operationId).
	PatchScimUserWithBodyWithResponse(ctx context.Context, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScimUserResponse, error)

	// PatchScimUserWithApplicationScimPlusJSONBodyWithResponse Patch a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/scim+json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/scim/v2/Users/{username} (the `PatchScimUser` operationId).
	PatchScimUserWithApplicationScimPlusJSONBodyWithResponse(ctx context.Context, username string, body PatchScimUserApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScimUserResponse, error)

	// UpdateScimUserWithBodyWithResponse Replace a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/scim/v2/Users/{username} (the `UpdateScimUser` operationId).
	UpdateScimUserWithBodyWithResponse(ctx context.Context, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateScimUserResponse, error)

	// UpdateScimUserWithApplicationScimPlusJSONBodyWithResponse Replace a SCIM user (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Takes a body of the `application/scim+json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/scim/v2/Users/{username} (the `UpdateScimUser` operationId).
	UpdateScimUserWithApplicationScimPlusJSONBodyWithResponse(ctx context.Context, username string, body UpdateScimUserApplicationScimPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateScimUserResponse, error)

	// CreatePairingTokenWithResponse Create a pairing token
	//
	// Issues a single-use pairing token on this instance so that another instance of this server can establish mutual trust with it over the peer protocol (decision 0021). Run it on the instance that is to be trusted, hand the token to the administrator of the other instance, who redeems it there, for example when adding this instance as a follower (POST /pfed/api/v1/jpd) or registering it as an Access federation target. Redeeming exchanges per-peer keys that are sealed at rest (decision 0017); the token itself is never stored in clear and stops working once redeemed or when it expires, 300 seconds after issue by default (configurable). Only the platform-federation use case is supported; mission-control and bridge answer 501. The peer must be another instance of this server. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/service_trust/pairing/{useCase} (the `CreatePairingToken` operationId).
	CreatePairingTokenWithResponse(ctx context.Context, useCase CreatePairingTokenParamsUseCase, reqEditors ...RequestEditorFn) (*CreatePairingTokenResponse, error)

	// ExportAccessConfigurationWithResponse Export the Access configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/system/backup/export (the `ExportAccessConfiguration` operationId).
	ExportAccessConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExportAccessConfigurationResponse, error)

	// ImportAccessConfigurationWithResponse Import the Access configuration (not supported)
	//
	// Not implemented; answers 501 in the Access error envelope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/system/backup/import (the `ImportAccessConfiguration` operationId).
	ImportAccessConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ImportAccessConfigurationResponse, error)

	// GetAllAccessFederationsWithResponse List federation targets
	//
	// Returns every Access federation target registered on this instance, active or paused. Administrators only. A target is always another instance of this server; no other kind of federation peer is supported (decision 0025).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/system/federation (the `GetAllAccessFederations` operationId).
	GetAllAccessFederationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllAccessFederationsResponse, error)

	// RegisterAccessFederationWithBodyWithResponse Register a federation target
	//
	// Registers a peer instance as a target of Access federation. From then on every create, update and delete of the selected identity entities on this instance is queued in the peer outbox and delivered to the target in order, with retries, over the peer protocol (decision 0021); changes made on the target are not sent back unless the target also registers this instance. Registration requires an existing pairing with the peer. A full broadcast runs once after registration so the target starts from this instance's current state. Administrators only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/system/federation (the `RegisterAccessFederation` operationId).
	RegisterAccessFederationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterAccessFederationResponse, error)

	// RegisterAccessFederationWithResponse Register a federation target
	//
	// Registers a peer instance as a target of Access federation. From then on every create, update and delete of the selected identity entities on this instance is queued in the peer outbox and delivered to the target in order, with retries, over the peer protocol (decision 0021); changes made on the target are not sent back unless the target also registers this instance. Registration requires an existing pairing with the peer. A full broadcast runs once after registration so the target starts from this instance's current state. Administrators only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/system/federation (the `RegisterAccessFederation` operationId).
	RegisterAccessFederationWithResponse(ctx context.Context, body RegisterAccessFederationJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterAccessFederationResponse, error)

	// ValidateFederationTargetWithBodyWithResponse Validate a candidate federation target
	//
	// Checks, without registering anything, that the peer at url is reachable, is an instance of this server speaking a compatible peer protocol version, and trusts this instance through an existing pairing. Use it before registration to get a precise error. Administrators only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/system/federation/validate_server (the `ValidateFederationTarget` operationId).
	ValidateFederationTargetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValidateFederationTargetResponse, error)

	// ValidateFederationTargetWithResponse Validate a candidate federation target
	//
	// Checks, without registering anything, that the peer at url is reachable, is an instance of this server speaking a compatible peer protocol version, and trusts this instance through an existing pairing. Use it before registration to get a precise error. Administrators only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/system/federation/validate_server (the `ValidateFederationTarget` operationId).
	ValidateFederationTargetWithResponse(ctx context.Context, body ValidateFederationTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidateFederationTargetResponse, error)

	// DeleteAccessFederationWithResponse Unregister a federation target
	//
	// Removes a federation target and discards changes still queued for it. Entities already replicated to the peer stay there; the peer's pairing with this instance is not revoked. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/system/federation/{serverName} (the `DeleteAccessFederation` operationId).
	DeleteAccessFederationWithResponse(ctx context.Context, serverName string, reqEditors ...RequestEditorFn) (*DeleteAccessFederationResponse, error)

	// GetAccessFederationWithResponse Get a federation target
	//
	// Returns one federation target by name. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/system/federation/{serverName} (the `GetAccessFederation` operationId).
	GetAccessFederationWithResponse(ctx context.Context, serverName string, reqEditors ...RequestEditorFn) (*GetAccessFederationResponse, error)

	// UpdateAccessFederationWithBodyWithResponse Update a federation target
	//
	// Changes the replicated entity types, the filters or the active flag of a target. Fields that are omitted keep their values; name and url are immutable. Narrowing the entities or filters affects future changes only; nothing already replicated is removed from the peer. Accepts plain JSON or a JSON merge patch with the same fields. Administrators only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/system/federation/{serverName} (the `UpdateAccessFederation` operationId).
	UpdateAccessFederationWithBodyWithResponse(ctx context.Context, serverName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAccessFederationResponse, error)

	// UpdateAccessFederationWithResponse Update a federation target
	//
	// Changes the replicated entity types, the filters or the active flag of a target. Fields that are omitted keep their values; name and url are immutable. Narrowing the entities or filters affects future changes only; nothing already replicated is removed from the peer. Accepts plain JSON or a JSON merge patch with the same fields. Administrators only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/system/federation/{serverName} (the `UpdateAccessFederation` operationId).
	UpdateAccessFederationWithResponse(ctx context.Context, serverName string, body UpdateAccessFederationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccessFederationResponse, error)

	// UpdateAccessFederationWithApplicationMergePatchPlusJSONBodyWithResponse Update a federation target
	//
	// Changes the replicated entity types, the filters or the active flag of a target. Fields that are omitted keep their values; name and url are immutable. Narrowing the entities or filters affects future changes only; nothing already replicated is removed from the peer. Accepts plain JSON or a JSON merge patch with the same fields. Administrators only.
	//
	// Takes a body of the `application/merge-patch+json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/system/federation/{serverName} (the `UpdateAccessFederation` operationId).
	UpdateAccessFederationWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, serverName string, body UpdateAccessFederationApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccessFederationResponse, error)

	// FullBroadcastAccessFederationWithResponse Run a full broadcast to a target
	//
	// Sends the complete current set of selected identity entities to the target, after which the target matches this instance for those entities (the full-sync fallback of decision 0021). Use it after a long outage or when the incremental outbox was discarded. The broadcast runs in the background; at most one runs per target. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/system/federation/{serverName}/full_broadcast (the `FullBroadcastAccessFederation` operationId).
	FullBroadcastAccessFederationWithResponse(ctx context.Context, serverName string, reqEditors ...RequestEditorFn) (*FullBroadcastAccessFederationResponse, error)

	// GetAccessVersionWithResponse Access compatibility version
	//
	// Returns the compatibility version in name and version, the same value as /artifactory/api/system/version reports.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/system/version (the `GetAccessVersion` operationId).
	GetAccessVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccessVersionResponse, error)

	// GetTokensWithResponse List access tokens
	//
	// A platform admin sees every token; any other caller sees only tokens whose subject is their own user. Expired tokens and tokens that are not revocable are omitted. The token values themselves are never returned, only their metadata. A token issued with a reference token is listed like any other.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/tokens (the `GetTokens` operationId).
	GetTokensWithResponse(ctx context.Context, params *GetTokensParams, reqEditors ...RequestEditorFn) (*GetTokensResponse, error)

	// CreateTokenWithBodyWithResponse Create or refresh an access token
	//
	// With grant_type client_credentials (the default) mints a new access token for username, or for the caller when username is omitted. With grant_type refresh_token exchanges refresh_token for a new access token with the same scope and audience. The body may be JSON or form-encoded. A non-admin may only mint identity tokens for themselves (scope applied-permissions/user). Admins may mint any scope that a user already holds; scopes only narrow. A transient user, the subject of a token minted for a name that is no stored user or of an OIDC exchange, mints for itself a token with its own token's scope that resolves to the same transient user. That token expires no later than the caller's own token, and may be refreshable only when the caller's own token is, or the request is refused with 403. A user name and password sent with Basic mint a token only while the token.allow_basic_auth setting is on, which it is not by default; an access or reference token, as Bearer or as the Basic password, always may. The response status is 200 and the body always carries token_id.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/tokens (the `CreateToken` operationId).
	CreateTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)

	// CreateTokenWithResponse Create or refresh an access token
	//
	// With grant_type client_credentials (the default) mints a new access token for username, or for the caller when username is omitted. With grant_type refresh_token exchanges refresh_token for a new access token with the same scope and audience. The body may be JSON or form-encoded. A non-admin may only mint identity tokens for themselves (scope applied-permissions/user). Admins may mint any scope that a user already holds; scopes only narrow. A transient user, the subject of a token minted for a name that is no stored user or of an OIDC exchange, mints for itself a token with its own token's scope that resolves to the same transient user. That token expires no later than the caller's own token, and may be refreshable only when the caller's own token is, or the request is refused with 403. A user name and password sent with Basic mint a token only while the token.allow_basic_auth setting is on, which it is not by default; an access or reference token, as Bearer or as the Basic password, always may. The response status is 200 and the body always carries token_id.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/tokens (the `CreateToken` operationId).
	CreateTokenWithResponse(ctx context.Context, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)

	// CreateTokenWithFormdataBodyWithResponse Create or refresh an access token
	//
	// With grant_type client_credentials (the default) mints a new access token for username, or for the caller when username is omitted. With grant_type refresh_token exchanges refresh_token for a new access token with the same scope and audience. The body may be JSON or form-encoded. A non-admin may only mint identity tokens for themselves (scope applied-permissions/user). Admins may mint any scope that a user already holds; scopes only narrow. A transient user, the subject of a token minted for a name that is no stored user or of an OIDC exchange, mints for itself a token with its own token's scope that resolves to the same transient user. That token expires no later than the caller's own token, and may be refreshable only when the caller's own token is, or the request is refused with 403. A user name and password sent with Basic mint a token only while the token.allow_basic_auth setting is on, which it is not by default; an access or reference token, as Bearer or as the Basic password, always may. The response status is 200 and the body always carries token_id.
	//
	// Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/tokens (the `CreateToken` operationId).
	CreateTokenWithFormdataBodyWithResponse(ctx context.Context, body CreateTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)

	// RevokeTokenByValueWithBodyWithResponse Revoke a token by its value
	//
	// Revokes the token whose JWT or reference token is given in the body and returns its id. A token is revocable when it never expires, its lifetime is at least the revocable threshold (21600 seconds), or it was created with force_revocable or refreshable; any other token answers 404, as an unknown one does. Admin only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/tokens/revoke (the `RevokeTokenByValue` operationId).
	RevokeTokenByValueWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevokeTokenByValueResponse, error)

	// RevokeTokenByValueWithResponse Revoke a token by its value
	//
	// Revokes the token whose JWT or reference token is given in the body and returns its id. A token is revocable when it never expires, its lifetime is at least the revocable threshold (21600 seconds), or it was created with force_revocable or refreshable; any other token answers 404, as an unknown one does. Admin only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/tokens/revoke (the `RevokeTokenByValue` operationId).
	RevokeTokenByValueWithResponse(ctx context.Context, body RevokeTokenByValueJSONRequestBody, reqEditors ...RequestEditorFn) (*RevokeTokenByValueResponse, error)

	// RevokeTokenByIdWithResponse Revoke a token by id
	//
	// Revokes the token with this id; me revokes the caller's own token. A token is revocable on the same terms as for revocation by value; any other token answers 400. A non-admin may only revoke their own tokens. Answers 200 with no body.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/tokens/{tokenId} (the `RevokeTokenById` operationId).
	RevokeTokenByIdWithResponse(ctx context.Context, tokenId TokenId, reqEditors ...RequestEditorFn) (*RevokeTokenByIdResponse, error)

	// GetTokenByIdWithResponse Get a token's metadata
	//
	// Returns the metadata of one token. The id me stands for the token used to authenticate the call. A non-admin may only read their own tokens.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/tokens/{tokenId} (the `GetTokenById` operationId).
	GetTokenByIdWithResponse(ctx context.Context, tokenId TokenId, reqEditors ...RequestEditorFn) (*GetTokenByIdResponse, error)

	// GetVaultConfigurationsWithResponse List Vault connections
	//
	// Returns every HashiCorp Vault connection. Keypairs whose vaultKey names a connection read their private key from Vault instead of the database. Secrets are never returned. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/vault/configs (the `GetVaultConfigurations` operationId).
	GetVaultConfigurationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVaultConfigurationsResponse, error)

	// TestVaultConfigurationWithBodyWithResponse Test a Vault connection
	//
	// Authenticates to the Vault server described by the body, without storing anything, and answers 204 on success. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/vault/configs/test (the `TestVaultConfiguration` operationId).
	TestVaultConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestVaultConfigurationResponse, error)

	// TestVaultConfigurationWithResponse Test a Vault connection
	//
	// Authenticates to the Vault server described by the body, without storing anything, and answers 204 on success. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/vault/configs/test (the `TestVaultConfiguration` operationId).
	TestVaultConfigurationWithResponse(ctx context.Context, body TestVaultConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*TestVaultConfigurationResponse, error)

	// DeleteVaultConfigurationWithResponse Delete a Vault connection
	//
	// Removes the connection. Keypairs that name it can no longer sign until a connection with the same key is stored again. Returns 204. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/vault/configs/{vault_key} (the `DeleteVaultConfiguration` operationId).
	DeleteVaultConfigurationWithResponse(ctx context.Context, vaultKey string, reqEditors ...RequestEditorFn) (*DeleteVaultConfigurationResponse, error)

	// SetVaultConfigurationWithBodyWithResponse Create or replace a Vault connection
	//
	// Stores the connection under vault_key, replacing any connection with that key, and returns it without secrets. Vault must be reached over TLS. A body that is not application/json answers 415. Requires a platform admin.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/vault/configs/{vault_key} (the `SetVaultConfiguration` operationId).
	SetVaultConfigurationWithBodyWithResponse(ctx context.Context, vaultKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetVaultConfigurationResponse, error)

	// SetVaultConfigurationWithResponse Create or replace a Vault connection
	//
	// Stores the connection under vault_key, replacing any connection with that key, and returns it without secrets. Vault must be reached over TLS. A body that is not application/json answers 415. Requires a platform admin.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/vault/configs/{vault_key} (the `SetVaultConfiguration` operationId).
	SetVaultConfigurationWithResponse(ctx context.Context, vaultKey string, body SetVaultConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*SetVaultConfigurationResponse, error)

	// GetGroupListWithResponse List groups
	//
	// Returns one record per group as a cursor-paginated page. Requires a platform admin or the system:identities:r scope. Filters combine with AND.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/groups (the `GetGroupList` operationId).
	GetGroupListWithResponse(ctx context.Context, params *GetGroupListParams, reqEditors ...RequestEditorFn) (*GetGroupListResponse, error)

	// CreateGroupWithBodyWithResponse Create a group
	//
	// Creates a group and returns its details with status 201. members and import_from_ldap_group_setting are mutually exclusive: a group either lists its members or takes them from an LDAP group setting (LDAP import is not supported and answers 400). Admin only. An existing name answers 409.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/groups (the `CreateGroup` operationId).
	CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)

	// CreateGroupWithResponse Create a group
	//
	// Creates a group and returns its details with status 201. members and import_from_ldap_group_setting are mutually exclusive: a group either lists its members or takes them from an LDAP group setting (LDAP import is not supported and answers 400). Admin only. An existing name answers 409.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/groups (the `CreateGroup` operationId).
	CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)

	// DeleteGroupWithResponse Delete a group
	//
	// Removes the group, its memberships and its entries in permission targets. The built-in readers group can be deleted; a group that is the sole admin grant for the last admin cannot. Admin only. Answers 204 with no body.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v2/groups/{name} (the `DeleteGroup` operationId).
	DeleteGroupWithResponse(ctx context.Context, name GroupName, reqEditors ...RequestEditorFn) (*DeleteGroupResponse, error)

	// GetGroupDetailsWithResponse Get a group
	//
	// Returns the group including its member usernames. Requires a platform admin or the system:identities:r scope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/groups/{name} (the `GetGroupDetails` operationId).
	GetGroupDetailsWithResponse(ctx context.Context, name GroupName, reqEditors ...RequestEditorFn) (*GetGroupDetailsResponse, error)

	// UpdateGroupWithBodyWithResponse Update a group
	//
	// Partial update of the group's attributes. Omitted fields keep their values. The name, realm, realm_attributes and members cannot be changed here; members go through the members sub-resource. The body may be empty, which changes nothing and returns the current group. Admin only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v2/groups/{name} (the `UpdateGroup` operationId).
	UpdateGroupWithBodyWithResponse(ctx context.Context, name GroupName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)

	// UpdateGroupWithResponse Update a group
	//
	// Partial update of the group's attributes. Omitted fields keep their values. The name, realm, realm_attributes and members cannot be changed here; members go through the members sub-resource. The body may be empty, which changes nothing and returns the current group. Admin only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v2/groups/{name} (the `UpdateGroup` operationId).
	UpdateGroupWithResponse(ctx context.Context, name GroupName, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)

	// UpdateGroupMembersWithBodyWithResponse Add or remove members
	//
	// Applies the add list then the remove list to the group's members and returns the resulting full member list. Unknown usernames in add answer 404; names already present or already absent are ignored. Admin only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v2/groups/{name}/members (the `UpdateGroupMembers` operationId).
	UpdateGroupMembersWithBodyWithResponse(ctx context.Context, name GroupName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGroupMembersResponse, error)

	// UpdateGroupMembersWithResponse Add or remove members
	//
	// Applies the add list then the remove list to the group's members and returns the resulting full member list. Unknown usernames in add answer 404; names already present or already absent are ignored. Admin only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v2/groups/{name}/members (the `UpdateGroupMembers` operationId).
	UpdateGroupMembersWithResponse(ctx context.Context, name GroupName, body UpdateGroupMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGroupMembersResponse, error)

	// GetPermissionsWithResponse List permissions
	//
	// Returns permissions as a cursor-paginated page. Without filters the page holds name and uri per permission. With user or group filters it holds only permissions that grant something to those principals, and expand=true then returns the full PermissionDetails instead of the name and uri pair. Requires a platform admin, a holder of the Manage Resources role or the system:permissions:r scope.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/permissions (the `GetPermissions` operationId).
	GetPermissionsWithResponse(ctx context.Context, params *GetPermissionsParams, reqEditors ...RequestEditorFn) (*GetPermissionsResponse, error)

	// CreatePermissionWithBodyWithResponse Create a permission
	//
	// Creates a permission in the Access v2 model and returns it with status 201. The /artifactory/api/security/permissions and /artifactory/api/v2/security/permissions endpoints are views of the same record. Every principal, repository and build target named in the body must exist, except the special targets ANY, ANY LOCAL, ANY REMOTE and ANY DISTRIBUTION. Requires a platform admin or a Manage Resources holder. An existing name answers 409.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/permissions (the `CreatePermission` operationId).
	CreatePermissionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePermissionResponse, error)

	// CreatePermissionWithResponse Create a permission
	//
	// Creates a permission in the Access v2 model and returns it with status 201. The /artifactory/api/security/permissions and /artifactory/api/v2/security/permissions endpoints are views of the same record. Every principal, repository and build target named in the body must exist, except the special targets ANY, ANY LOCAL, ANY REMOTE and ANY DISTRIBUTION. Requires a platform admin or a Manage Resources holder. An existing name answers 409.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/permissions (the `CreatePermission` operationId).
	CreatePermissionWithResponse(ctx context.Context, body CreatePermissionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePermissionResponse, error)

	// DeletePermissionWithResponse Delete a permission
	//
	// Removes the permission and every grant it carried. Requires a platform admin or a Manage Resources holder. Answers 204 with no body.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v2/permissions/{permissionName} (the `DeletePermission` operationId).
	DeletePermissionWithResponse(ctx context.Context, permissionName PermissionName, reqEditors ...RequestEditorFn) (*DeletePermissionResponse, error)

	// GetPermissionDetailsWithResponse Get a permission
	//
	// Returns the full permission document. Requires a platform admin, a Manage Resources holder, the system:permissions:r scope, or MANAGE on every resource of the permission.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/permissions/{permissionName} (the `GetPermissionDetails` operationId).
	GetPermissionDetailsWithResponse(ctx context.Context, permissionName PermissionName, reqEditors ...RequestEditorFn) (*GetPermissionDetailsResponse, error)

	// DeletePermissionResourceWithResponse Delete one resource section
	//
	// Removes the section for the resource type; the permission itself stays, even when it ends up with no sections. Requires a platform admin or a Manage Resources holder. Answers 204 with no body.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v2/permissions/{permissionName}/{resourceType} (the `DeletePermissionResource` operationId).
	DeletePermissionResourceWithResponse(ctx context.Context, permissionName PermissionName, resourceType DeletePermissionResourceParamsResourceType, reqEditors ...RequestEditorFn) (*DeletePermissionResourceResponse, error)

	// GetPermissionResourceWithResponse Get one resource section of a permission
	//
	// Returns the actions and targets of a single resource type within the permission. A permission that has no section for the type answers 404. Requires a platform admin or a Manage Resources holder.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/permissions/{permissionName}/{resourceType} (the `GetPermissionResource` operationId).
	GetPermissionResourceWithResponse(ctx context.Context, permissionName PermissionName, resourceType GetPermissionResourceParamsResourceType, reqEditors ...RequestEditorFn) (*GetPermissionResourceResponse, error)

	// UpdatePermissionResourceWithBodyWithResponse Merge into one resource section
	//
	// Merges the body into the existing section: principals and targets present in the body replace their stored counterparts, others stay. To remove a principal or target use PUT with the full section. Requires a platform admin or a Manage Resources holder.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v2/permissions/{permissionName}/{resourceType} (the `UpdatePermissionResource` operationId).
	UpdatePermissionResourceWithBodyWithResponse(ctx context.Context, permissionName PermissionName, resourceType UpdatePermissionResourceParamsResourceType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePermissionResourceResponse, error)

	// UpdatePermissionResourceWithResponse Merge into one resource section
	//
	// Merges the body into the existing section: principals and targets present in the body replace their stored counterparts, others stay. To remove a principal or target use PUT with the full section. Requires a platform admin or a Manage Resources holder.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v2/permissions/{permissionName}/{resourceType} (the `UpdatePermissionResource` operationId).
	UpdatePermissionResourceWithResponse(ctx context.Context, permissionName PermissionName, resourceType UpdatePermissionResourceParamsResourceType, body UpdatePermissionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePermissionResourceResponse, error)

	// ReplacePermissionResourceWithBodyWithResponse Replace one resource section
	//
	// Replaces the whole actions and targets section for the resource type, creating the section when the permission did not have one. Grants and targets not in the body are dropped. Requires a platform admin or a Manage Resources holder.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/permissions/{permissionName}/{resourceType} (the `ReplacePermissionResource` operationId).
	ReplacePermissionResourceWithBodyWithResponse(ctx context.Context, permissionName PermissionName, resourceType ReplacePermissionResourceParamsResourceType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplacePermissionResourceResponse, error)

	// ReplacePermissionResourceWithResponse Replace one resource section
	//
	// Replaces the whole actions and targets section for the resource type, creating the section when the permission did not have one. Grants and targets not in the body are dropped. Requires a platform admin or a Manage Resources holder.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/permissions/{permissionName}/{resourceType} (the `ReplacePermissionResource` operationId).
	ReplacePermissionResourceWithResponse(ctx context.Context, permissionName PermissionName, resourceType ReplacePermissionResourceParamsResourceType, body ReplacePermissionResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplacePermissionResourceResponse, error)

	// GetProjectsForRoleWithResponse List projects that use a global role
	//
	// Returns, one cursor page at a time, the projects in which the named global role is assigned to a member. Requires a platform admin.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/projects (the `GetProjectsForRole` operationId).
	GetProjectsForRoleWithResponse(ctx context.Context, params *GetProjectsForRoleParams, reqEditors ...RequestEditorFn) (*GetProjectsForRoleResponse, error)

	// GetUserListWithResponse List users
	//
	// Returns one record per user, newest first unless descendingOrder is false, as a cursor-paginated page. Requires a platform admin or a token carrying the system:identities:r scope. Every query parameter is a filter; filters combine with AND.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/users (the `GetUserList` operationId).
	GetUserListWithResponse(ctx context.Context, params *GetUserListParams, reqEditors ...RequestEditorFn) (*GetUserListResponse, error)

	// CreateUserWithBodyWithResponse Create a user
	//
	// Creates an internal user and returns its details with status 201. The same internal user record backs the /artifactory/api/security/users endpoint. Admin only. A username that already exists answers 409.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/users (the `CreateUser` operationId).
	CreateUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserResponse, error)

	// CreateUserWithResponse Create a user
	//
	// Creates an internal user and returns its details with status 201. The same internal user record backs the /artifactory/api/security/users endpoint. Admin only. A username that already exists answers 409.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/users (the `CreateUser` operationId).
	CreateUserWithResponse(ctx context.Context, body CreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserResponse, error)

	// ExpirePasswordForAllUsersWithResponse Expire every internal password
	//
	// Marks every internal user's password as expired so each user must set a new one at next login. Users with internal_password_disabled are unaffected. Admin only. Responds with a plain text confirmation.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/users/expire_password_for_all_users (the `ExpirePasswordForAllUsers` operationId).
	ExpirePasswordForAllUsersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExpirePasswordForAllUsersResponse, error)

	// UnexpirePasswordForAllUsersWithResponse Clear the expired flag on every password
	//
	// Reverses expire_password_for_all_users: every internal password becomes valid again without the user changing it. Admin only. Responds with a plain text confirmation.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/users/unexpire_password_for_all_users (the `UnexpirePasswordForAllUsers` operationId).
	UnexpirePasswordForAllUsersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UnexpirePasswordForAllUsersResponse, error)

	// DeleteUserWithResponse Delete a user
	//
	// Removes the user, its group memberships, its tokens and its entries in permission targets. The built-in admin and anonymous users cannot be deleted. Admin only. Answers 204 with no body.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v2/users/{username} (the `DeleteUser` operationId).
	DeleteUserWithResponse(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*DeleteUserResponse, error)

	// GetUserDetailsWithResponse Get a user
	//
	// Returns the stored user record. Requires a platform admin or the system:identities:r scope; a user may always read their own record.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/users/{username} (the `GetUserDetails` operationId).
	GetUserDetailsWithResponse(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*GetUserDetailsResponse, error)

	// UpdateUserWithBodyWithResponse Update a user
	//
	// Partial update: only the fields present in the body change, omitted fields keep their stored values, and the username cannot be changed. Group membership is not updated here; use the groups sub-resource. Setting internal_password_disabled to false on a user that has no password requires a password in the same request. Admin only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v2/users/{username} (the `UpdateUser` operationId).
	UpdateUserWithBodyWithResponse(ctx context.Context, username Username, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)

	// UpdateUserWithResponse Update a user
	//
	// Partial update: only the fields present in the body change, omitted fields keep their stored values, and the username cannot be changed. Group membership is not updated here; use the groups sub-resource. Setting internal_password_disabled to false on a user that has no password requires a password in the same request. Admin only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v2/users/{username} (the `UpdateUser` operationId).
	UpdateUserWithResponse(ctx context.Context, username Username, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)

	// UpdateUserGroupsWithBodyWithResponse Add or remove group memberships
	//
	// Applies the add list then the remove list to the user's memberships and returns the resulting full membership. Names that are already present (add) or already absent (remove) are ignored; a name in both lists ends up removed. Admin only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v2/users/{username}/groups (the `UpdateUserGroups` operationId).
	UpdateUserGroupsWithBodyWithResponse(ctx context.Context, username Username, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserGroupsResponse, error)

	// UpdateUserGroupsWithResponse Add or remove group memberships
	//
	// Applies the add list then the remove list to the user's memberships and returns the resulting full membership. Names that are already present (add) or already absent (remove) are ignored; a name in both lists ends up removed. Admin only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v2/users/{username}/groups (the `UpdateUserGroups` operationId).
	UpdateUserGroupsWithResponse(ctx context.Context, username Username, body UpdateUserGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserGroupsResponse, error)

	// ChangeUserPasswordWithBodyWithResponse Set a user's password
	//
	// Replaces the user's internal password. A platform admin may set any user's password; any user may set their own. The new value must satisfy the password policy and, when the policy forbids reuse, differ from the current one. Answers 204 with no body.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/users/{username}/password (the `ChangeUserPassword` operationId).
	ChangeUserPasswordWithBodyWithResponse(ctx context.Context, username Username, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChangeUserPasswordResponse, error)

	// ChangeUserPasswordWithResponse Set a user's password
	//
	// Replaces the user's internal password. A platform admin may set any user's password; any user may set their own. The new value must satisfy the password policy and, when the policy forbids reuse, differ from the current one. Answers 204 with no body.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/users/{username}/password (the `ChangeUserPassword` operationId).
	ChangeUserPasswordWithResponse(ctx context.Context, username Username, body ChangeUserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*ChangeUserPasswordResponse, error)

	// ExpireUserPasswordWithResponse Expire a user's password
	//
	// Marks the user's password as expired so they must change it at next login. Admin only. Answers 204 with no body.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/users/{username}/password/expire (the `ExpireUserPassword` operationId).
	ExpireUserPasswordWithResponse(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*ExpireUserPasswordResponse, error)

	// UnlockUserWithResponse Unlock a user
	//
	// Clears the lock that the user lock policy applied after too many failed logins and resets the failure counter. Unlocking an unlocked user succeeds. Admin only. Answers 204 with no body.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/users/{username}/unlock (the `UnlockUser` operationId).
	UnlockUserWithResponse(ctx context.Context, username Username, reqEditors ...RequestEditorFn) (*UnlockUserResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ConfigureAccessUserLockPolicyJSONRequestBody

type ConfigureAccessUserLockPolicyJSONRequestBody = UserLockPolicyConfig

ConfigureAccessUserLockPolicyJSONRequestBody defines body for ConfigureAccessUserLockPolicy for application/json ContentType.

type ConfigureAccessUserLockPolicyResponse

type ConfigureAccessUserLockPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserLockPolicyConfig
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseConfigureAccessUserLockPolicyResponse

func ParseConfigureAccessUserLockPolicyResponse(rsp *http.Response) (*ConfigureAccessUserLockPolicyResponse, error)

ParseConfigureAccessUserLockPolicyResponse parses an HTTP response from a ConfigureAccessUserLockPolicyWithResponse call

func (ConfigureAccessUserLockPolicyResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConfigureAccessUserLockPolicyResponse) GetBody

GetBody returns the raw response body bytes

func (ConfigureAccessUserLockPolicyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConfigureAccessUserLockPolicyResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ConfigureAccessUserLockPolicyResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ConfigureAccessUserLockPolicyResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ConfigureAccessUserLockPolicyResponse) Status

Status returns HTTPResponse.Status

func (ConfigureAccessUserLockPolicyResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateGlobalEnvironmentJSONRequestBody

type CreateGlobalEnvironmentJSONRequestBody = EnvironmentCreate

CreateGlobalEnvironmentJSONRequestBody defines body for CreateGlobalEnvironment for application/json ContentType.

type CreateGlobalEnvironmentResponse

type CreateGlobalEnvironmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Environment
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
}

func ParseCreateGlobalEnvironmentResponse

func ParseCreateGlobalEnvironmentResponse(rsp *http.Response) (*CreateGlobalEnvironmentResponse, error)

ParseCreateGlobalEnvironmentResponse parses an HTTP response from a CreateGlobalEnvironmentWithResponse call

func (CreateGlobalEnvironmentResponse) ContentType

func (r CreateGlobalEnvironmentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateGlobalEnvironmentResponse) GetBody

func (r CreateGlobalEnvironmentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateGlobalEnvironmentResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateGlobalEnvironmentResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateGlobalEnvironmentResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateGlobalEnvironmentResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateGlobalEnvironmentResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateGlobalEnvironmentResponse) Status

Status returns HTTPResponse.Status

func (CreateGlobalEnvironmentResponse) StatusCode

func (r CreateGlobalEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGlobalRoleJSONRequestBody

type CreateGlobalRoleJSONRequestBody = GlobalRoleCreate

CreateGlobalRoleJSONRequestBody defines body for CreateGlobalRole for application/json ContentType.

type CreateGlobalRoleResponse

type CreateGlobalRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *GlobalRoleCreated
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
}

func ParseCreateGlobalRoleResponse

func ParseCreateGlobalRoleResponse(rsp *http.Response) (*CreateGlobalRoleResponse, error)

ParseCreateGlobalRoleResponse parses an HTTP response from a CreateGlobalRoleWithResponse call

func (CreateGlobalRoleResponse) ContentType

func (r CreateGlobalRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateGlobalRoleResponse) GetBody

func (r CreateGlobalRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateGlobalRoleResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateGlobalRoleResponse) GetJSON400

func (r CreateGlobalRoleResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateGlobalRoleResponse) GetJSON401

func (r CreateGlobalRoleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateGlobalRoleResponse) GetJSON403

func (r CreateGlobalRoleResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateGlobalRoleResponse) GetJSON409

func (r CreateGlobalRoleResponse) GetJSON409() *ErrorResponse

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateGlobalRoleResponse) Status

func (r CreateGlobalRoleResponse) Status() string

Status returns HTTPResponse.Status

func (CreateGlobalRoleResponse) StatusCode

func (r CreateGlobalRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGroupJSONRequestBody

type CreateGroupJSONRequestBody = GroupCreateRequest

CreateGroupJSONRequestBody defines body for CreateGroup for application/json ContentType.

type CreateGroupResponse

type CreateGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *GroupDetails
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
}

func ParseCreateGroupResponse

func ParseCreateGroupResponse(rsp *http.Response) (*CreateGroupResponse, error)

ParseCreateGroupResponse parses an HTTP response from a CreateGroupWithResponse call

func (CreateGroupResponse) ContentType

func (r CreateGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateGroupResponse) GetBody

func (r CreateGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateGroupResponse) GetJSON201

func (r CreateGroupResponse) GetJSON201() *GroupDetails

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateGroupResponse) GetJSON400

func (r CreateGroupResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateGroupResponse) GetJSON401

func (r CreateGroupResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateGroupResponse) GetJSON403

func (r CreateGroupResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateGroupResponse) GetJSON404

func (r CreateGroupResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateGroupResponse) GetJSON409

func (r CreateGroupResponse) GetJSON409() *ErrorResponse

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateGroupResponse) Status

func (r CreateGroupResponse) Status() string

Status returns HTTPResponse.Status

func (CreateGroupResponse) StatusCode

func (r CreateGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateLdapGroupSettingsJSONRequestBody

type CreateLdapGroupSettingsJSONRequestBody = LdapGroupSettingsCreate

CreateLdapGroupSettingsJSONRequestBody defines body for CreateLdapGroupSettings for application/json ContentType.

type CreateLdapGroupSettingsResponse

type CreateLdapGroupSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *LdapGroupSettings
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseCreateLdapGroupSettingsResponse

func ParseCreateLdapGroupSettingsResponse(rsp *http.Response) (*CreateLdapGroupSettingsResponse, error)

ParseCreateLdapGroupSettingsResponse parses an HTTP response from a CreateLdapGroupSettingsWithResponse call

func (CreateLdapGroupSettingsResponse) ContentType

func (r CreateLdapGroupSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateLdapGroupSettingsResponse) GetBody

func (r CreateLdapGroupSettingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateLdapGroupSettingsResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateLdapGroupSettingsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateLdapGroupSettingsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateLdapGroupSettingsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateLdapGroupSettingsResponse) Status

Status returns HTTPResponse.Status

func (CreateLdapGroupSettingsResponse) StatusCode

func (r CreateLdapGroupSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateLdapSettingsJSONRequestBody

type CreateLdapSettingsJSONRequestBody = LdapSettingsCreate

CreateLdapSettingsJSONRequestBody defines body for CreateLdapSettings for application/json ContentType.

type CreateLdapSettingsResponse

type CreateLdapSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *LdapSettings
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseCreateLdapSettingsResponse

func ParseCreateLdapSettingsResponse(rsp *http.Response) (*CreateLdapSettingsResponse, error)

ParseCreateLdapSettingsResponse parses an HTTP response from a CreateLdapSettingsWithResponse call

func (CreateLdapSettingsResponse) ContentType

func (r CreateLdapSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateLdapSettingsResponse) GetBody

func (r CreateLdapSettingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateLdapSettingsResponse) GetJSON201

func (r CreateLdapSettingsResponse) GetJSON201() *LdapSettings

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateLdapSettingsResponse) GetJSON400

func (r CreateLdapSettingsResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateLdapSettingsResponse) GetJSON401

func (r CreateLdapSettingsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateLdapSettingsResponse) GetJSON403

func (r CreateLdapSettingsResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateLdapSettingsResponse) Status

Status returns HTTPResponse.Status

func (CreateLdapSettingsResponse) StatusCode

func (r CreateLdapSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOidcConfigurationJSONRequestBody

type CreateOidcConfigurationJSONRequestBody = OidcConfiguration

CreateOidcConfigurationJSONRequestBody defines body for CreateOidcConfiguration for application/json ContentType.

type CreateOidcConfigurationResponse

type CreateOidcConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OidcConfiguration
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseCreateOidcConfigurationResponse

func ParseCreateOidcConfigurationResponse(rsp *http.Response) (*CreateOidcConfigurationResponse, error)

ParseCreateOidcConfigurationResponse parses an HTTP response from a CreateOidcConfigurationWithResponse call

func (CreateOidcConfigurationResponse) ContentType

func (r CreateOidcConfigurationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateOidcConfigurationResponse) GetBody

func (r CreateOidcConfigurationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateOidcConfigurationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateOidcConfigurationResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateOidcConfigurationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateOidcConfigurationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateOidcConfigurationResponse) Status

Status returns HTTPResponse.Status

func (CreateOidcConfigurationResponse) StatusCode

func (r CreateOidcConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOidcIdentityMappingJSONRequestBody

type CreateOidcIdentityMappingJSONRequestBody = OidcIdentityMapping

CreateOidcIdentityMappingJSONRequestBody defines body for CreateOidcIdentityMapping for application/json ContentType.

type CreateOidcIdentityMappingResponse

type CreateOidcIdentityMappingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OidcIdentityMappingResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseCreateOidcIdentityMappingResponse

func ParseCreateOidcIdentityMappingResponse(rsp *http.Response) (*CreateOidcIdentityMappingResponse, error)

ParseCreateOidcIdentityMappingResponse parses an HTTP response from a CreateOidcIdentityMappingWithResponse call

func (CreateOidcIdentityMappingResponse) ContentType

func (r CreateOidcIdentityMappingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateOidcIdentityMappingResponse) GetBody

GetBody returns the raw response body bytes

func (CreateOidcIdentityMappingResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateOidcIdentityMappingResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateOidcIdentityMappingResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateOidcIdentityMappingResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateOidcIdentityMappingResponse) Status

Status returns HTTPResponse.Status

func (CreateOidcIdentityMappingResponse) StatusCode

func (r CreateOidcIdentityMappingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePairingTokenParamsUseCase

type CreatePairingTokenParamsUseCase string

CreatePairingTokenParamsUseCase defines parameters for CreatePairingToken.

const (
	Bridge             CreatePairingTokenParamsUseCase = "bridge"
	MissionControl     CreatePairingTokenParamsUseCase = "mission-control"
	PlatformFederation CreatePairingTokenParamsUseCase = "platform-federation"
)

Defines values for CreatePairingTokenParamsUseCase.

func (CreatePairingTokenParamsUseCase) Valid

Valid indicates whether the value is a known member of the CreatePairingTokenParamsUseCase enum.

type CreatePairingTokenResponse

type CreatePairingTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// PairingToken Required within this object. The opaque, single-use token to give to the other instance's administrator. Treat it as a secret until it is redeemed.
		PairingToken string `json:"pairing_token"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseCreatePairingTokenResponse

func ParseCreatePairingTokenResponse(rsp *http.Response) (*CreatePairingTokenResponse, error)

ParseCreatePairingTokenResponse parses an HTTP response from a CreatePairingTokenWithResponse call

func (CreatePairingTokenResponse) ContentType

func (r CreatePairingTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreatePairingTokenResponse) GetBody

func (r CreatePairingTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreatePairingTokenResponse) GetJSON200

func (r CreatePairingTokenResponse) GetJSON200() *struct {
	// PairingToken Required within this object. The opaque, single-use token to give to the other instance's administrator. Treat it as a secret until it is redeemed.
	PairingToken string `json:"pairing_token"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreatePairingTokenResponse) GetJSON401

func (r CreatePairingTokenResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreatePairingTokenResponse) GetJSON403

func (r CreatePairingTokenResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreatePairingTokenResponse) GetJSON404

func (r CreatePairingTokenResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreatePairingTokenResponse) GetJSON501

func (r CreatePairingTokenResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (CreatePairingTokenResponse) Status

Status returns HTTPResponse.Status

func (CreatePairingTokenResponse) StatusCode

func (r CreatePairingTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePasswordPolicyJSONRequestBody

type CreatePasswordPolicyJSONRequestBody = PasswordPolicy

CreatePasswordPolicyJSONRequestBody defines body for CreatePasswordPolicy for application/json ContentType.

type CreatePasswordPolicyResponse

type CreatePasswordPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseCreatePasswordPolicyResponse

func ParseCreatePasswordPolicyResponse(rsp *http.Response) (*CreatePasswordPolicyResponse, error)

ParseCreatePasswordPolicyResponse parses an HTTP response from a CreatePasswordPolicyWithResponse call

func (CreatePasswordPolicyResponse) ContentType

func (r CreatePasswordPolicyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreatePasswordPolicyResponse) GetBody

func (r CreatePasswordPolicyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreatePasswordPolicyResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreatePasswordPolicyResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreatePasswordPolicyResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreatePasswordPolicyResponse) Status

Status returns HTTPResponse.Status

func (CreatePasswordPolicyResponse) StatusCode

func (r CreatePasswordPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePermissionJSONRequestBody

type CreatePermissionJSONRequestBody = PermissionCreateRequest

CreatePermissionJSONRequestBody defines body for CreatePermission for application/json ContentType.

type CreatePermissionResponse

type CreatePermissionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *PermissionDetails
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
}

func ParseCreatePermissionResponse

func ParseCreatePermissionResponse(rsp *http.Response) (*CreatePermissionResponse, error)

ParseCreatePermissionResponse parses an HTTP response from a CreatePermissionWithResponse call

func (CreatePermissionResponse) ContentType

func (r CreatePermissionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreatePermissionResponse) GetBody

func (r CreatePermissionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreatePermissionResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreatePermissionResponse) GetJSON400

func (r CreatePermissionResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreatePermissionResponse) GetJSON401

func (r CreatePermissionResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreatePermissionResponse) GetJSON403

func (r CreatePermissionResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreatePermissionResponse) GetJSON409

func (r CreatePermissionResponse) GetJSON409() *ErrorResponse

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreatePermissionResponse) Status

func (r CreatePermissionResponse) Status() string

Status returns HTTPResponse.Status

func (CreatePermissionResponse) StatusCode

func (r CreatePermissionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateProjectEnvironmentJSONRequestBody

type CreateProjectEnvironmentJSONRequestBody = EnvironmentCreate

CreateProjectEnvironmentJSONRequestBody defines body for CreateProjectEnvironment for application/json ContentType.

type CreateProjectEnvironmentResponse

type CreateProjectEnvironmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Environment
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
}

func ParseCreateProjectEnvironmentResponse

func ParseCreateProjectEnvironmentResponse(rsp *http.Response) (*CreateProjectEnvironmentResponse, error)

ParseCreateProjectEnvironmentResponse parses an HTTP response from a CreateProjectEnvironmentWithResponse call

func (CreateProjectEnvironmentResponse) ContentType

func (r CreateProjectEnvironmentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateProjectEnvironmentResponse) GetBody

func (r CreateProjectEnvironmentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateProjectEnvironmentResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateProjectEnvironmentResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateProjectEnvironmentResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateProjectEnvironmentResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateProjectEnvironmentResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateProjectEnvironmentResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateProjectEnvironmentResponse) Status

Status returns HTTPResponse.Status

func (CreateProjectEnvironmentResponse) StatusCode

func (r CreateProjectEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateProjectJSONRequestBody

type CreateProjectJSONRequestBody = ProjectCreateRequest

CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.

type CreateProjectResponse

type CreateProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Project
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
}

func ParseCreateProjectResponse

func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error)

ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call

func (CreateProjectResponse) ContentType

func (r CreateProjectResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateProjectResponse) GetBody

func (r CreateProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateProjectResponse) GetJSON201

func (r CreateProjectResponse) GetJSON201() *Project

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateProjectResponse) GetJSON400

func (r CreateProjectResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateProjectResponse) GetJSON401

func (r CreateProjectResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateProjectResponse) GetJSON403

func (r CreateProjectResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateProjectResponse) GetJSON409

func (r CreateProjectResponse) GetJSON409() *ErrorResponse

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateProjectResponse) Status

func (r CreateProjectResponse) Status() string

Status returns HTTPResponse.Status

func (CreateProjectResponse) StatusCode

func (r CreateProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateProjectRoleJSONRequestBody

type CreateProjectRoleJSONRequestBody = ProjectRoleCreate

CreateProjectRoleJSONRequestBody defines body for CreateProjectRole for application/json ContentType.

type CreateProjectRoleResponse

type CreateProjectRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *ProjectRole
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseCreateProjectRoleResponse

func ParseCreateProjectRoleResponse(rsp *http.Response) (*CreateProjectRoleResponse, error)

ParseCreateProjectRoleResponse parses an HTTP response from a CreateProjectRoleWithResponse call

func (CreateProjectRoleResponse) ContentType

func (r CreateProjectRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateProjectRoleResponse) GetBody

func (r CreateProjectRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateProjectRoleResponse) GetJSON201

func (r CreateProjectRoleResponse) GetJSON201() *ProjectRole

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateProjectRoleResponse) GetJSON400

func (r CreateProjectRoleResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateProjectRoleResponse) GetJSON401

func (r CreateProjectRoleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateProjectRoleResponse) GetJSON403

func (r CreateProjectRoleResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateProjectRoleResponse) GetJSON404

func (r CreateProjectRoleResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateProjectRoleResponse) Status

func (r CreateProjectRoleResponse) Status() string

Status returns HTTPResponse.Status

func (CreateProjectRoleResponse) StatusCode

func (r CreateProjectRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSamlSettingJSONRequestBody

type CreateSamlSettingJSONRequestBody = SamlSettingCreate

CreateSamlSettingJSONRequestBody defines body for CreateSamlSetting for application/json ContentType.

type CreateSamlSettingResponse

type CreateSamlSettingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *SamlSetting
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseCreateSamlSettingResponse

func ParseCreateSamlSettingResponse(rsp *http.Response) (*CreateSamlSettingResponse, error)

ParseCreateSamlSettingResponse parses an HTTP response from a CreateSamlSettingWithResponse call

func (CreateSamlSettingResponse) ContentType

func (r CreateSamlSettingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateSamlSettingResponse) GetBody

func (r CreateSamlSettingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateSamlSettingResponse) GetJSON201

func (r CreateSamlSettingResponse) GetJSON201() *SamlSetting

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateSamlSettingResponse) GetJSON400

func (r CreateSamlSettingResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateSamlSettingResponse) GetJSON401

func (r CreateSamlSettingResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateSamlSettingResponse) GetJSON403

func (r CreateSamlSettingResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateSamlSettingResponse) GetJSON501

func (r CreateSamlSettingResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (CreateSamlSettingResponse) Status

func (r CreateSamlSettingResponse) Status() string

Status returns HTTPResponse.Status

func (CreateSamlSettingResponse) StatusCode

func (r CreateSamlSettingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateScimGroupApplicationScimPlusJSONRequestBody

type CreateScimGroupApplicationScimPlusJSONRequestBody = ScimResource

CreateScimGroupApplicationScimPlusJSONRequestBody defines body for CreateScimGroup for application/scim+json ContentType.

type CreateScimGroupResponse

type CreateScimGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationscimJSON201 the response for an HTTP 201 `application/scim+json` response
	ApplicationscimJSON201 *ScimResource
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseCreateScimGroupResponse

func ParseCreateScimGroupResponse(rsp *http.Response) (*CreateScimGroupResponse, error)

ParseCreateScimGroupResponse parses an HTTP response from a CreateScimGroupWithResponse call

func (CreateScimGroupResponse) ContentType

func (r CreateScimGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateScimGroupResponse) GetApplicationscimJSON201

func (r CreateScimGroupResponse) GetApplicationscimJSON201() *ScimResource

GetApplicationscimJSON201 returns the response for an HTTP 201 `application/scim+json` response

func (CreateScimGroupResponse) GetBody

func (r CreateScimGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateScimGroupResponse) GetJSON400

func (r CreateScimGroupResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateScimGroupResponse) GetJSON401

func (r CreateScimGroupResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateScimGroupResponse) GetJSON409

func (r CreateScimGroupResponse) GetJSON409() *ErrorResponse

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateScimGroupResponse) GetJSON501

func (r CreateScimGroupResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (CreateScimGroupResponse) Status

func (r CreateScimGroupResponse) Status() string

Status returns HTTPResponse.Status

func (CreateScimGroupResponse) StatusCode

func (r CreateScimGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateScimUserApplicationScimPlusJSONRequestBody

type CreateScimUserApplicationScimPlusJSONRequestBody = ScimResource

CreateScimUserApplicationScimPlusJSONRequestBody defines body for CreateScimUser for application/scim+json ContentType.

type CreateScimUserResponse

type CreateScimUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationscimJSON201 the response for an HTTP 201 `application/scim+json` response
	ApplicationscimJSON201 *ScimResource
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseCreateScimUserResponse

func ParseCreateScimUserResponse(rsp *http.Response) (*CreateScimUserResponse, error)

ParseCreateScimUserResponse parses an HTTP response from a CreateScimUserWithResponse call

func (CreateScimUserResponse) ContentType

func (r CreateScimUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateScimUserResponse) GetApplicationscimJSON201

func (r CreateScimUserResponse) GetApplicationscimJSON201() *ScimResource

GetApplicationscimJSON201 returns the response for an HTTP 201 `application/scim+json` response

func (CreateScimUserResponse) GetBody

func (r CreateScimUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateScimUserResponse) GetJSON400

func (r CreateScimUserResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateScimUserResponse) GetJSON401

func (r CreateScimUserResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateScimUserResponse) GetJSON409

func (r CreateScimUserResponse) GetJSON409() *ErrorResponse

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateScimUserResponse) GetJSON501

func (r CreateScimUserResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (CreateScimUserResponse) Status

func (r CreateScimUserResponse) Status() string

Status returns HTTPResponse.Status

func (CreateScimUserResponse) StatusCode

func (r CreateScimUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTokenFormdataRequestBody

type CreateTokenFormdataRequestBody = TokenCreateRequest

CreateTokenFormdataRequestBody defines body for CreateToken for application/x-www-form-urlencoded ContentType.

type CreateTokenJSONRequestBody

type CreateTokenJSONRequestBody = TokenCreateRequest

CreateTokenJSONRequestBody defines body for CreateToken for application/json ContentType.

type CreateTokenResponse

type CreateTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TokenResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseCreateTokenResponse

func ParseCreateTokenResponse(rsp *http.Response) (*CreateTokenResponse, error)

ParseCreateTokenResponse parses an HTTP response from a CreateTokenWithResponse call

func (CreateTokenResponse) ContentType

func (r CreateTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateTokenResponse) GetBody

func (r CreateTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateTokenResponse) GetJSON200

func (r CreateTokenResponse) GetJSON200() *TokenResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateTokenResponse) GetJSON400

func (r CreateTokenResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateTokenResponse) GetJSON401

func (r CreateTokenResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateTokenResponse) GetJSON403

func (r CreateTokenResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateTokenResponse) Status

func (r CreateTokenResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTokenResponse) StatusCode

func (r CreateTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateUserJSONRequestBody

type CreateUserJSONRequestBody = UserCreateRequest

CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.

type CreateUserResponse

type CreateUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *UserDetails
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
}

func ParseCreateUserResponse

func ParseCreateUserResponse(rsp *http.Response) (*CreateUserResponse, error)

ParseCreateUserResponse parses an HTTP response from a CreateUserWithResponse call

func (CreateUserResponse) ContentType

func (r CreateUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateUserResponse) GetBody

func (r CreateUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateUserResponse) GetJSON201

func (r CreateUserResponse) GetJSON201() *UserDetails

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateUserResponse) GetJSON400

func (r CreateUserResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateUserResponse) GetJSON401

func (r CreateUserResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateUserResponse) GetJSON403

func (r CreateUserResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateUserResponse) GetJSON409

func (r CreateUserResponse) GetJSON409() *ErrorResponse

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateUserResponse) Status

func (r CreateUserResponse) Status() string

Status returns HTTPResponse.Status

func (CreateUserResponse) StatusCode

func (r CreateUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CrowdConfiguration

type CrowdConfiguration struct {
	// AllowUserToAccessProfile Optional within this object. Whether users created through Crowd may open their own profile.
	AllowUserToAccessProfile *bool `json:"allow_user_to_access_profile,omitempty"`

	// ApplicationName Optional within this object. Application name registered in Crowd.
	ApplicationName *string `json:"application_name,omitempty"`

	// AutoUserCreation Optional within this object. Whether a first login creates a local user.
	AutoUserCreation *bool `json:"auto_user_creation,omitempty"`

	// CustomCookieTokenKey Optional within this object. Name of the single sign-on cookie when it differs from Crowd's default.
	CustomCookieTokenKey *string `json:"custom_cookie_token_key,omitempty"`

	// DirectAuthentication Optional within this object. Whether passwords are checked against Crowd directly rather than through single sign-on.
	DirectAuthentication *bool `json:"direct_authentication,omitempty"`

	// EnableIntegration Optional within this object. Whether users are authenticated against Crowd.
	EnableIntegration *bool `json:"enable_integration,omitempty"`

	// OverrideAllGroupsUponLogin Optional within this object. Whether each login replaces the user's group memberships with those in Crowd.
	OverrideAllGroupsUponLogin *bool `json:"override_all_groups_upon_login,omitempty"`

	// Password Optional within this object. Application password registered in Crowd. Never returned.
	Password *string `json:"password,omitempty"`

	// ServerUrl Optional within this object. Base URL of the Crowd server.
	ServerUrl *string `json:"server_url,omitempty"`

	// SessionValidationInterval Optional within this object. Minutes between re-validations of a Crowd session.
	SessionValidationInterval *int64 `json:"session_validation_interval,omitempty"`

	// UseDefaultProxy Optional within this object. Whether calls to Crowd go through the default proxy.
	UseDefaultProxy *bool `json:"use_default_proxy,omitempty"`
}

CrowdConfiguration Atlassian Crowd integration settings. Not supported.

type DeleteAccessFederationResponse

type DeleteAccessFederationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteAccessFederationResponse

func ParseDeleteAccessFederationResponse(rsp *http.Response) (*DeleteAccessFederationResponse, error)

ParseDeleteAccessFederationResponse parses an HTTP response from a DeleteAccessFederationWithResponse call

func (DeleteAccessFederationResponse) ContentType

func (r DeleteAccessFederationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAccessFederationResponse) GetBody

func (r DeleteAccessFederationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteAccessFederationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteAccessFederationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteAccessFederationResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteAccessFederationResponse) Status

Status returns HTTPResponse.Status

func (DeleteAccessFederationResponse) StatusCode

func (r DeleteAccessFederationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAwsIamRoleResponse

type DeleteAwsIamRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseDeleteAwsIamRoleResponse

func ParseDeleteAwsIamRoleResponse(rsp *http.Response) (*DeleteAwsIamRoleResponse, error)

ParseDeleteAwsIamRoleResponse parses an HTTP response from a DeleteAwsIamRoleWithResponse call

func (DeleteAwsIamRoleResponse) ContentType

func (r DeleteAwsIamRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAwsIamRoleResponse) GetBody

func (r DeleteAwsIamRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteAwsIamRoleResponse) GetJSON400

func (r DeleteAwsIamRoleResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteAwsIamRoleResponse) GetJSON401

func (r DeleteAwsIamRoleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteAwsIamRoleResponse) GetJSON403

func (r DeleteAwsIamRoleResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteAwsIamRoleResponse) GetJSON501

func (r DeleteAwsIamRoleResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (DeleteAwsIamRoleResponse) Status

func (r DeleteAwsIamRoleResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAwsIamRoleResponse) StatusCode

func (r DeleteAwsIamRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGlobalEnvironmentResponse

type DeleteGlobalEnvironmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteGlobalEnvironmentResponse

func ParseDeleteGlobalEnvironmentResponse(rsp *http.Response) (*DeleteGlobalEnvironmentResponse, error)

ParseDeleteGlobalEnvironmentResponse parses an HTTP response from a DeleteGlobalEnvironmentWithResponse call

func (DeleteGlobalEnvironmentResponse) ContentType

func (r DeleteGlobalEnvironmentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteGlobalEnvironmentResponse) GetBody

func (r DeleteGlobalEnvironmentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteGlobalEnvironmentResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteGlobalEnvironmentResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteGlobalEnvironmentResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteGlobalEnvironmentResponse) Status

Status returns HTTPResponse.Status

func (DeleteGlobalEnvironmentResponse) StatusCode

func (r DeleteGlobalEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGlobalRoleResponse

type DeleteGlobalRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteGlobalRoleResponse

func ParseDeleteGlobalRoleResponse(rsp *http.Response) (*DeleteGlobalRoleResponse, error)

ParseDeleteGlobalRoleResponse parses an HTTP response from a DeleteGlobalRoleWithResponse call

func (DeleteGlobalRoleResponse) ContentType

func (r DeleteGlobalRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteGlobalRoleResponse) GetBody

func (r DeleteGlobalRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteGlobalRoleResponse) GetJSON400

func (r DeleteGlobalRoleResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteGlobalRoleResponse) GetJSON401

func (r DeleteGlobalRoleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteGlobalRoleResponse) GetJSON403

func (r DeleteGlobalRoleResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteGlobalRoleResponse) GetJSON404

func (r DeleteGlobalRoleResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteGlobalRoleResponse) Status

func (r DeleteGlobalRoleResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteGlobalRoleResponse) StatusCode

func (r DeleteGlobalRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGroupResponse

type DeleteGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteGroupResponse

func ParseDeleteGroupResponse(rsp *http.Response) (*DeleteGroupResponse, error)

ParseDeleteGroupResponse parses an HTTP response from a DeleteGroupWithResponse call

func (DeleteGroupResponse) ContentType

func (r DeleteGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteGroupResponse) GetBody

func (r DeleteGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteGroupResponse) GetJSON401

func (r DeleteGroupResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteGroupResponse) GetJSON403

func (r DeleteGroupResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteGroupResponse) GetJSON404

func (r DeleteGroupResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteGroupResponse) Status

func (r DeleteGroupResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteGroupResponse) StatusCode

func (r DeleteGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteLdapGroupSettingsResponse

type DeleteLdapGroupSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteLdapGroupSettingsResponse

func ParseDeleteLdapGroupSettingsResponse(rsp *http.Response) (*DeleteLdapGroupSettingsResponse, error)

ParseDeleteLdapGroupSettingsResponse parses an HTTP response from a DeleteLdapGroupSettingsWithResponse call

func (DeleteLdapGroupSettingsResponse) ContentType

func (r DeleteLdapGroupSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteLdapGroupSettingsResponse) GetBody

func (r DeleteLdapGroupSettingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteLdapGroupSettingsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteLdapGroupSettingsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteLdapGroupSettingsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteLdapGroupSettingsResponse) Status

Status returns HTTPResponse.Status

func (DeleteLdapGroupSettingsResponse) StatusCode

func (r DeleteLdapGroupSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteLdapSettingsResponse

type DeleteLdapSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteLdapSettingsResponse

func ParseDeleteLdapSettingsResponse(rsp *http.Response) (*DeleteLdapSettingsResponse, error)

ParseDeleteLdapSettingsResponse parses an HTTP response from a DeleteLdapSettingsWithResponse call

func (DeleteLdapSettingsResponse) ContentType

func (r DeleteLdapSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteLdapSettingsResponse) GetBody

func (r DeleteLdapSettingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteLdapSettingsResponse) GetJSON401

func (r DeleteLdapSettingsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteLdapSettingsResponse) GetJSON403

func (r DeleteLdapSettingsResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteLdapSettingsResponse) GetJSON404

func (r DeleteLdapSettingsResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteLdapSettingsResponse) Status

Status returns HTTPResponse.Status

func (DeleteLdapSettingsResponse) StatusCode

func (r DeleteLdapSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOidcConfigurationResponse

type DeleteOidcConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteOidcConfigurationResponse

func ParseDeleteOidcConfigurationResponse(rsp *http.Response) (*DeleteOidcConfigurationResponse, error)

ParseDeleteOidcConfigurationResponse parses an HTTP response from a DeleteOidcConfigurationWithResponse call

func (DeleteOidcConfigurationResponse) ContentType

func (r DeleteOidcConfigurationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteOidcConfigurationResponse) GetBody

func (r DeleteOidcConfigurationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteOidcConfigurationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteOidcConfigurationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteOidcConfigurationResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteOidcConfigurationResponse) Status

Status returns HTTPResponse.Status

func (DeleteOidcConfigurationResponse) StatusCode

func (r DeleteOidcConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOidcIdentityMappingResponse

type DeleteOidcIdentityMappingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteOidcIdentityMappingResponse

func ParseDeleteOidcIdentityMappingResponse(rsp *http.Response) (*DeleteOidcIdentityMappingResponse, error)

ParseDeleteOidcIdentityMappingResponse parses an HTTP response from a DeleteOidcIdentityMappingWithResponse call

func (DeleteOidcIdentityMappingResponse) ContentType

func (r DeleteOidcIdentityMappingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteOidcIdentityMappingResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteOidcIdentityMappingResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteOidcIdentityMappingResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteOidcIdentityMappingResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteOidcIdentityMappingResponse) Status

Status returns HTTPResponse.Status

func (DeleteOidcIdentityMappingResponse) StatusCode

func (r DeleteOidcIdentityMappingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePermissionResourceParamsResourceType

type DeletePermissionResourceParamsResourceType string

DeletePermissionResourceParamsResourceType defines parameters for DeletePermissionResource.

const (
	DeletePermissionResourceParamsResourceTypeArtifact      DeletePermissionResourceParamsResourceType = "artifact"
	DeletePermissionResourceParamsResourceTypeBuild         DeletePermissionResourceParamsResourceType = "build"
	DeletePermissionResourceParamsResourceTypeReleaseBundle DeletePermissionResourceParamsResourceType = "release_bundle"
)

Defines values for DeletePermissionResourceParamsResourceType.

func (DeletePermissionResourceParamsResourceType) Valid

Valid indicates whether the value is a known member of the DeletePermissionResourceParamsResourceType enum.

type DeletePermissionResourceResponse

type DeletePermissionResourceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeletePermissionResourceResponse

func ParseDeletePermissionResourceResponse(rsp *http.Response) (*DeletePermissionResourceResponse, error)

ParseDeletePermissionResourceResponse parses an HTTP response from a DeletePermissionResourceWithResponse call

func (DeletePermissionResourceResponse) ContentType

func (r DeletePermissionResourceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeletePermissionResourceResponse) GetBody

func (r DeletePermissionResourceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeletePermissionResourceResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeletePermissionResourceResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeletePermissionResourceResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeletePermissionResourceResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeletePermissionResourceResponse) Status

Status returns HTTPResponse.Status

func (DeletePermissionResourceResponse) StatusCode

func (r DeletePermissionResourceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePermissionResponse

type DeletePermissionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeletePermissionResponse

func ParseDeletePermissionResponse(rsp *http.Response) (*DeletePermissionResponse, error)

ParseDeletePermissionResponse parses an HTTP response from a DeletePermissionWithResponse call

func (DeletePermissionResponse) ContentType

func (r DeletePermissionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeletePermissionResponse) GetBody

func (r DeletePermissionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeletePermissionResponse) GetJSON400

func (r DeletePermissionResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeletePermissionResponse) GetJSON401

func (r DeletePermissionResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeletePermissionResponse) GetJSON403

func (r DeletePermissionResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeletePermissionResponse) GetJSON404

func (r DeletePermissionResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeletePermissionResponse) Status

func (r DeletePermissionResponse) Status() string

Status returns HTTPResponse.Status

func (DeletePermissionResponse) StatusCode

func (r DeletePermissionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteProjectEnvironmentResponse

type DeleteProjectEnvironmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteProjectEnvironmentResponse

func ParseDeleteProjectEnvironmentResponse(rsp *http.Response) (*DeleteProjectEnvironmentResponse, error)

ParseDeleteProjectEnvironmentResponse parses an HTTP response from a DeleteProjectEnvironmentWithResponse call

func (DeleteProjectEnvironmentResponse) ContentType

func (r DeleteProjectEnvironmentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteProjectEnvironmentResponse) GetBody

func (r DeleteProjectEnvironmentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteProjectEnvironmentResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteProjectEnvironmentResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteProjectEnvironmentResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteProjectEnvironmentResponse) Status

Status returns HTTPResponse.Status

func (DeleteProjectEnvironmentResponse) StatusCode

func (r DeleteProjectEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteProjectGroupResponse

type DeleteProjectGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteProjectGroupResponse

func ParseDeleteProjectGroupResponse(rsp *http.Response) (*DeleteProjectGroupResponse, error)

ParseDeleteProjectGroupResponse parses an HTTP response from a DeleteProjectGroupWithResponse call

func (DeleteProjectGroupResponse) ContentType

func (r DeleteProjectGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteProjectGroupResponse) GetBody

func (r DeleteProjectGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteProjectGroupResponse) GetJSON401

func (r DeleteProjectGroupResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteProjectGroupResponse) GetJSON403

func (r DeleteProjectGroupResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteProjectGroupResponse) GetJSON404

func (r DeleteProjectGroupResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteProjectGroupResponse) Status

Status returns HTTPResponse.Status

func (DeleteProjectGroupResponse) StatusCode

func (r DeleteProjectGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteProjectResponse

type DeleteProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteProjectResponse

func ParseDeleteProjectResponse(rsp *http.Response) (*DeleteProjectResponse, error)

ParseDeleteProjectResponse parses an HTTP response from a DeleteProjectWithResponse call

func (DeleteProjectResponse) ContentType

func (r DeleteProjectResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteProjectResponse) GetBody

func (r DeleteProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteProjectResponse) GetJSON401

func (r DeleteProjectResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteProjectResponse) GetJSON403

func (r DeleteProjectResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteProjectResponse) GetJSON404

func (r DeleteProjectResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteProjectResponse) Status

func (r DeleteProjectResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteProjectResponse) StatusCode

func (r DeleteProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteProjectRoleResponse

type DeleteProjectRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteProjectRoleResponse

func ParseDeleteProjectRoleResponse(rsp *http.Response) (*DeleteProjectRoleResponse, error)

ParseDeleteProjectRoleResponse parses an HTTP response from a DeleteProjectRoleWithResponse call

func (DeleteProjectRoleResponse) ContentType

func (r DeleteProjectRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteProjectRoleResponse) GetBody

func (r DeleteProjectRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteProjectRoleResponse) GetJSON401

func (r DeleteProjectRoleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteProjectRoleResponse) GetJSON403

func (r DeleteProjectRoleResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteProjectRoleResponse) GetJSON404

func (r DeleteProjectRoleResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteProjectRoleResponse) Status

func (r DeleteProjectRoleResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteProjectRoleResponse) StatusCode

func (r DeleteProjectRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteProjectUserResponse

type DeleteProjectUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteProjectUserResponse

func ParseDeleteProjectUserResponse(rsp *http.Response) (*DeleteProjectUserResponse, error)

ParseDeleteProjectUserResponse parses an HTTP response from a DeleteProjectUserWithResponse call

func (DeleteProjectUserResponse) ContentType

func (r DeleteProjectUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteProjectUserResponse) GetBody

func (r DeleteProjectUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteProjectUserResponse) GetJSON401

func (r DeleteProjectUserResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteProjectUserResponse) GetJSON403

func (r DeleteProjectUserResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteProjectUserResponse) GetJSON404

func (r DeleteProjectUserResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteProjectUserResponse) Status

func (r DeleteProjectUserResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteProjectUserResponse) StatusCode

func (r DeleteProjectUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSamlSettingResponse

type DeleteSamlSettingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseDeleteSamlSettingResponse

func ParseDeleteSamlSettingResponse(rsp *http.Response) (*DeleteSamlSettingResponse, error)

ParseDeleteSamlSettingResponse parses an HTTP response from a DeleteSamlSettingWithResponse call

func (DeleteSamlSettingResponse) ContentType

func (r DeleteSamlSettingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteSamlSettingResponse) GetBody

func (r DeleteSamlSettingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteSamlSettingResponse) GetJSON401

func (r DeleteSamlSettingResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteSamlSettingResponse) GetJSON403

func (r DeleteSamlSettingResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteSamlSettingResponse) GetJSON501

func (r DeleteSamlSettingResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (DeleteSamlSettingResponse) Status

func (r DeleteSamlSettingResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSamlSettingResponse) StatusCode

func (r DeleteSamlSettingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteScimGroupResponse

type DeleteScimGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseDeleteScimGroupResponse

func ParseDeleteScimGroupResponse(rsp *http.Response) (*DeleteScimGroupResponse, error)

ParseDeleteScimGroupResponse parses an HTTP response from a DeleteScimGroupWithResponse call

func (DeleteScimGroupResponse) ContentType

func (r DeleteScimGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteScimGroupResponse) GetBody

func (r DeleteScimGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteScimGroupResponse) GetJSON401

func (r DeleteScimGroupResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteScimGroupResponse) GetJSON404

func (r DeleteScimGroupResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteScimGroupResponse) GetJSON501

func (r DeleteScimGroupResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (DeleteScimGroupResponse) Status

func (r DeleteScimGroupResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteScimGroupResponse) StatusCode

func (r DeleteScimGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteScimUserResponse

type DeleteScimUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseDeleteScimUserResponse

func ParseDeleteScimUserResponse(rsp *http.Response) (*DeleteScimUserResponse, error)

ParseDeleteScimUserResponse parses an HTTP response from a DeleteScimUserWithResponse call

func (DeleteScimUserResponse) ContentType

func (r DeleteScimUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteScimUserResponse) GetBody

func (r DeleteScimUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteScimUserResponse) GetJSON401

func (r DeleteScimUserResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteScimUserResponse) GetJSON404

func (r DeleteScimUserResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteScimUserResponse) GetJSON501

func (r DeleteScimUserResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (DeleteScimUserResponse) Status

func (r DeleteScimUserResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteScimUserResponse) StatusCode

func (r DeleteScimUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteUserResponse

type DeleteUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteUserResponse

func ParseDeleteUserResponse(rsp *http.Response) (*DeleteUserResponse, error)

ParseDeleteUserResponse parses an HTTP response from a DeleteUserWithResponse call

func (DeleteUserResponse) ContentType

func (r DeleteUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteUserResponse) GetBody

func (r DeleteUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteUserResponse) GetJSON401

func (r DeleteUserResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteUserResponse) GetJSON403

func (r DeleteUserResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteUserResponse) GetJSON404

func (r DeleteUserResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteUserResponse) Status

func (r DeleteUserResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteUserResponse) StatusCode

func (r DeleteUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteVaultConfigurationResponse

type DeleteVaultConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteVaultConfigurationResponse

func ParseDeleteVaultConfigurationResponse(rsp *http.Response) (*DeleteVaultConfigurationResponse, error)

ParseDeleteVaultConfigurationResponse parses an HTTP response from a DeleteVaultConfigurationWithResponse call

func (DeleteVaultConfigurationResponse) ContentType

func (r DeleteVaultConfigurationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteVaultConfigurationResponse) GetBody

func (r DeleteVaultConfigurationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteVaultConfigurationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteVaultConfigurationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteVaultConfigurationResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteVaultConfigurationResponse) Status

Status returns HTTPResponse.Status

func (DeleteVaultConfigurationResponse) StatusCode

func (r DeleteVaultConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EnableCloudLogCollectionJSONBody

type EnableCloudLogCollectionJSONBody struct {
	// Enabled Required within this object. Whether log collection is switched on.
	Enabled bool `json:"enabled"`
}

EnableCloudLogCollectionJSONBody defines parameters for EnableCloudLogCollection.

type EnableCloudLogCollectionJSONRequestBody

type EnableCloudLogCollectionJSONRequestBody EnableCloudLogCollectionJSONBody

EnableCloudLogCollectionJSONRequestBody defines body for EnableCloudLogCollection for application/json ContentType.

type EnableCloudLogCollectionResponse

type EnableCloudLogCollectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseEnableCloudLogCollectionResponse

func ParseEnableCloudLogCollectionResponse(rsp *http.Response) (*EnableCloudLogCollectionResponse, error)

ParseEnableCloudLogCollectionResponse parses an HTTP response from a EnableCloudLogCollectionWithResponse call

func (EnableCloudLogCollectionResponse) ContentType

func (r EnableCloudLogCollectionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EnableCloudLogCollectionResponse) GetBody

func (r EnableCloudLogCollectionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (EnableCloudLogCollectionResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (EnableCloudLogCollectionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (EnableCloudLogCollectionResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (EnableCloudLogCollectionResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (EnableCloudLogCollectionResponse) Status

Status returns HTTPResponse.Status

func (EnableCloudLogCollectionResponse) StatusCode

func (r EnableCloudLogCollectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Environment

type Environment struct {
	// Name Required within this object. The environment name as stored.
	Name string `json:"name"`
}

Environment A global or project environment.

type EnvironmentCreate

type EnvironmentCreate struct {
	// Name Required within this object. At most 32 characters of letters, digits, hyphen and underscore; compared case-insensitively.
	Name string `json:"name"`
}

EnvironmentCreate A new environment.

type EnvironmentName

type EnvironmentName = string

EnvironmentName defines model for environmentName.

type EnvironmentRename

type EnvironmentRename struct {
	// NewName Required within this object. The new name, with the same rules as on creation.
	NewName string `json:"new_name"`
}

EnvironmentRename A rename request.

type ErrorResponse

type ErrorResponse struct {
	// Errors Required within this object. One entry per error.
	Errors []struct {
		// Code Required within this object. A symbolic code such as NOT_FOUND.
		Code string `json:"code"`

		// Message Required within this object. Human readable explanation.
		Message string `json:"message"`
	} `json:"errors"`
}

ErrorResponse The Access error envelope used by every /access response.

type ExpandedPermissionsResponse

type ExpandedPermissionsResponse struct {
	// Cursor Optional within this object. Present only when more permissions remain.
	Cursor *string `json:"cursor,omitempty"`

	// Permissions Required within this object. Full permission documents.
	Permissions []PermissionDetails `json:"permissions"`
}

ExpandedPermissionsResponse One page of the permission listing with expand=true.

type ExpirePasswordForAllUsersResponse

type ExpirePasswordForAllUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseExpirePasswordForAllUsersResponse

func ParseExpirePasswordForAllUsersResponse(rsp *http.Response) (*ExpirePasswordForAllUsersResponse, error)

ParseExpirePasswordForAllUsersResponse parses an HTTP response from a ExpirePasswordForAllUsersWithResponse call

func (ExpirePasswordForAllUsersResponse) ContentType

func (r ExpirePasswordForAllUsersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ExpirePasswordForAllUsersResponse) GetBody

GetBody returns the raw response body bytes

func (ExpirePasswordForAllUsersResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ExpirePasswordForAllUsersResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ExpirePasswordForAllUsersResponse) Status

Status returns HTTPResponse.Status

func (ExpirePasswordForAllUsersResponse) StatusCode

func (r ExpirePasswordForAllUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExpireUserPasswordResponse

type ExpireUserPasswordResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseExpireUserPasswordResponse

func ParseExpireUserPasswordResponse(rsp *http.Response) (*ExpireUserPasswordResponse, error)

ParseExpireUserPasswordResponse parses an HTTP response from a ExpireUserPasswordWithResponse call

func (ExpireUserPasswordResponse) ContentType

func (r ExpireUserPasswordResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ExpireUserPasswordResponse) GetBody

func (r ExpireUserPasswordResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ExpireUserPasswordResponse) GetJSON401

func (r ExpireUserPasswordResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ExpireUserPasswordResponse) GetJSON403

func (r ExpireUserPasswordResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ExpireUserPasswordResponse) GetJSON404

func (r ExpireUserPasswordResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ExpireUserPasswordResponse) Status

Status returns HTTPResponse.Status

func (ExpireUserPasswordResponse) StatusCode

func (r ExpireUserPasswordResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportAccessConfigurationResponse

type ExportAccessConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseExportAccessConfigurationResponse

func ParseExportAccessConfigurationResponse(rsp *http.Response) (*ExportAccessConfigurationResponse, error)

ParseExportAccessConfigurationResponse parses an HTTP response from a ExportAccessConfigurationWithResponse call

func (ExportAccessConfigurationResponse) ContentType

func (r ExportAccessConfigurationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ExportAccessConfigurationResponse) GetBody

GetBody returns the raw response body bytes

func (ExportAccessConfigurationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ExportAccessConfigurationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ExportAccessConfigurationResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (ExportAccessConfigurationResponse) Status

Status returns HTTPResponse.Status

func (ExportAccessConfigurationResponse) StatusCode

func (r ExportAccessConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FederationTarget

type FederationTarget struct {
	// Active Optional within this object. When false the target stays registered but receives no changes until reactivated; queued changes are kept and sent on reactivation.
	Active *bool `json:"active,omitempty"`

	// Entities Optional within this object. The identity entity types replicated to the target: any of users, groups, permissions and tokens.
	Entities *[]FederationTargetEntities `json:"entities,omitempty"`

	// GroupFilters Optional within this object. Limits which groups, by name, are replicated. Users are replicated with only the memberships of groups that pass this filter.
	GroupFilters *PatternFilter `json:"group_filters,omitempty"`

	// Name Optional within this object. Server-owned on update. The unique name of the target, fixed at registration and used as {serverName} in the item paths.
	Name *string `json:"name,omitempty"`

	// PermissionFilters Optional within this object. Limits which permissions, by name, are replicated.
	PermissionFilters *PatternFilter `json:"permission_filters,omitempty"`

	// Url Optional within this object. Server-owned on update. Base URL of the peer instance, fixed at registration.
	Url *string `json:"url,omitempty"`
}

FederationTarget A federation target as stored on this instance: a peer instance of this server that receives this instance's identity changes over the peer protocol (decision 0021). Returned by every read; secrets of the trust relationship are never included.

type FederationTargetCreate

type FederationTargetCreate struct {
	// Active Optional within this object. Whether replication starts immediately. Defaults to true.
	Active *bool `json:"active,omitempty"`

	// Entities Optional within this object. Identity entity types to replicate. Defaults to all four: users, groups, permissions and tokens.
	Entities *[]FederationTargetCreateEntities `json:"entities,omitempty"`

	// ForceOverride Optional within this object. When true, a target with the same name is replaced instead of answering 409. Defaults to false. The replaced target's queued changes are discarded and a full broadcast is scheduled.
	ForceOverride *bool `json:"force_override,omitempty"`

	// GroupFilters Optional within this object. Limits which groups, by name, are replicated. Omitted means all.
	GroupFilters *PatternFilter `json:"group_filters,omitempty"`

	// Name Required within this object. Unique name for the target on this instance. Cannot be changed later.
	Name string `json:"name"`

	// PermissionFilters Optional within this object. Limits which permissions, by name, are replicated. Omitted means all.
	PermissionFilters *PatternFilter `json:"permission_filters,omitempty"`

	// Url Required within this object. Base URL of the peer instance, for example https://peer.example.com. Cannot be changed later; register a new target instead.
	Url string `json:"url"`
}

FederationTargetCreate Registration of a new federation target. The peer must already trust this instance: pair the two instances first with a platform-federation pairing token (POST /access/api/v1/service_trust/pairing/platform-federation on the peer), otherwise registration is rejected with 400.

type FederationTargetCreateEntities

type FederationTargetCreateEntities string

FederationTargetCreateEntities One identity entity type.

const (
	FederationTargetCreateEntitiesGroups      FederationTargetCreateEntities = "groups"
	FederationTargetCreateEntitiesPermissions FederationTargetCreateEntities = "permissions"
	FederationTargetCreateEntitiesTokens      FederationTargetCreateEntities = "tokens"
	FederationTargetCreateEntitiesUsers       FederationTargetCreateEntities = "users"
)

Defines values for FederationTargetCreateEntities.

func (FederationTargetCreateEntities) Valid

Valid indicates whether the value is a known member of the FederationTargetCreateEntities enum.

type FederationTargetEntities

type FederationTargetEntities string

FederationTargetEntities One identity entity type.

const (
	FederationTargetEntitiesGroups      FederationTargetEntities = "groups"
	FederationTargetEntitiesPermissions FederationTargetEntities = "permissions"
	FederationTargetEntitiesTokens      FederationTargetEntities = "tokens"
	FederationTargetEntitiesUsers       FederationTargetEntities = "users"
)

Defines values for FederationTargetEntities.

func (FederationTargetEntities) Valid

func (e FederationTargetEntities) Valid() bool

Valid indicates whether the value is a known member of the FederationTargetEntities enum.

type FederationTargetList

type FederationTargetList struct {
	// Targets Optional within this object. The targets, ordered by name. Empty when none is registered.
	Targets *[]FederationTarget `json:"targets,omitempty"`
}

FederationTargetList Every federation target registered on this instance.

type FederationTargetUpdate

type FederationTargetUpdate struct {
	// Active Optional within this object. Pauses (false) or resumes (true) replication to the target.
	Active *bool `json:"active,omitempty"`

	// Entities Optional within this object. Replaces the list of replicated entity types. Removing a type stops future changes of that type; entities already on the peer are not deleted.
	Entities *[]FederationTargetUpdateEntities `json:"entities,omitempty"`

	// GroupFilters Optional within this object. Replaces the group filter.
	GroupFilters *PatternFilter `json:"group_filters,omitempty"`

	// PermissionFilters Optional within this object. Replaces the permission filter.
	PermissionFilters *PatternFilter `json:"permission_filters,omitempty"`
}

FederationTargetUpdate Partial update of a federation target. Omitted fields keep their values. name and url cannot be changed; sending either answers 400.

type FederationTargetUpdateEntities

type FederationTargetUpdateEntities string

FederationTargetUpdateEntities One identity entity type.

const (
	FederationTargetUpdateEntitiesGroups      FederationTargetUpdateEntities = "groups"
	FederationTargetUpdateEntitiesPermissions FederationTargetUpdateEntities = "permissions"
	FederationTargetUpdateEntitiesTokens      FederationTargetUpdateEntities = "tokens"
	FederationTargetUpdateEntitiesUsers       FederationTargetUpdateEntities = "users"
)

Defines values for FederationTargetUpdateEntities.

func (FederationTargetUpdateEntities) Valid

Valid indicates whether the value is a known member of the FederationTargetUpdateEntities enum.

type FederationValidateRequest

type FederationValidateRequest struct {
	// Url Required within this object. Base URL of the candidate peer instance.
	Url string `json:"url"`
}

FederationValidateRequest The peer to probe before registering it as a target.

type FullBroadcastAccessFederationResponse

type FullBroadcastAccessFederationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseFullBroadcastAccessFederationResponse

func ParseFullBroadcastAccessFederationResponse(rsp *http.Response) (*FullBroadcastAccessFederationResponse, error)

ParseFullBroadcastAccessFederationResponse parses an HTTP response from a FullBroadcastAccessFederationWithResponse call

func (FullBroadcastAccessFederationResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (FullBroadcastAccessFederationResponse) GetBody

GetBody returns the raw response body bytes

func (FullBroadcastAccessFederationResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (FullBroadcastAccessFederationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (FullBroadcastAccessFederationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (FullBroadcastAccessFederationResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (FullBroadcastAccessFederationResponse) Status

Status returns HTTPResponse.Status

func (FullBroadcastAccessFederationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetAccessFederationResponse

type GetAccessFederationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *FederationTarget
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetAccessFederationResponse

func ParseGetAccessFederationResponse(rsp *http.Response) (*GetAccessFederationResponse, error)

ParseGetAccessFederationResponse parses an HTTP response from a GetAccessFederationWithResponse call

func (GetAccessFederationResponse) ContentType

func (r GetAccessFederationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAccessFederationResponse) GetBody

func (r GetAccessFederationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAccessFederationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAccessFederationResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetAccessFederationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAccessFederationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetAccessFederationResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetAccessFederationResponse) Status

Status returns HTTPResponse.Status

func (GetAccessFederationResponse) StatusCode

func (r GetAccessFederationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAccessUserLockPolicyResponse

type GetAccessUserLockPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserLockPolicyConfig
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetAccessUserLockPolicyResponse

func ParseGetAccessUserLockPolicyResponse(rsp *http.Response) (*GetAccessUserLockPolicyResponse, error)

ParseGetAccessUserLockPolicyResponse parses an HTTP response from a GetAccessUserLockPolicyWithResponse call

func (GetAccessUserLockPolicyResponse) ContentType

func (r GetAccessUserLockPolicyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAccessUserLockPolicyResponse) GetBody

func (r GetAccessUserLockPolicyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAccessUserLockPolicyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAccessUserLockPolicyResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAccessUserLockPolicyResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetAccessUserLockPolicyResponse) Status

Status returns HTTPResponse.Status

func (GetAccessUserLockPolicyResponse) StatusCode

func (r GetAccessUserLockPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAccessVersionResponse

type GetAccessVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AccessVersion
}

func ParseGetAccessVersionResponse

func ParseGetAccessVersionResponse(rsp *http.Response) (*GetAccessVersionResponse, error)

ParseGetAccessVersionResponse parses an HTTP response from a GetAccessVersionWithResponse call

func (GetAccessVersionResponse) ContentType

func (r GetAccessVersionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAccessVersionResponse) GetBody

func (r GetAccessVersionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAccessVersionResponse) GetJSON200

func (r GetAccessVersionResponse) GetJSON200() *AccessVersion

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAccessVersionResponse) Status

func (r GetAccessVersionResponse) Status() string

Status returns HTTPResponse.Status

func (GetAccessVersionResponse) StatusCode

func (r GetAccessVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllAccessFederationsResponse

type GetAllAccessFederationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *FederationTargetList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetAllAccessFederationsResponse

func ParseGetAllAccessFederationsResponse(rsp *http.Response) (*GetAllAccessFederationsResponse, error)

ParseGetAllAccessFederationsResponse parses an HTTP response from a GetAllAccessFederationsWithResponse call

func (GetAllAccessFederationsResponse) ContentType

func (r GetAllAccessFederationsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAllAccessFederationsResponse) GetBody

func (r GetAllAccessFederationsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAllAccessFederationsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAllAccessFederationsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAllAccessFederationsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetAllAccessFederationsResponse) Status

Status returns HTTPResponse.Status

func (GetAllAccessFederationsResponse) StatusCode

func (r GetAllAccessFederationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllGlobalRolesResponse

type GetAllGlobalRolesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]GlobalRole
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetAllGlobalRolesResponse

func ParseGetAllGlobalRolesResponse(rsp *http.Response) (*GetAllGlobalRolesResponse, error)

ParseGetAllGlobalRolesResponse parses an HTTP response from a GetAllGlobalRolesWithResponse call

func (GetAllGlobalRolesResponse) ContentType

func (r GetAllGlobalRolesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAllGlobalRolesResponse) GetBody

func (r GetAllGlobalRolesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAllGlobalRolesResponse) GetJSON200

func (r GetAllGlobalRolesResponse) GetJSON200() *[]GlobalRole

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAllGlobalRolesResponse) GetJSON401

func (r GetAllGlobalRolesResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAllGlobalRolesResponse) GetJSON403

func (r GetAllGlobalRolesResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetAllGlobalRolesResponse) Status

func (r GetAllGlobalRolesResponse) Status() string

Status returns HTTPResponse.Status

func (GetAllGlobalRolesResponse) StatusCode

func (r GetAllGlobalRolesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllLdapGroupSettingsResponse

type GetAllLdapGroupSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]LdapGroupSettings
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetAllLdapGroupSettingsResponse

func ParseGetAllLdapGroupSettingsResponse(rsp *http.Response) (*GetAllLdapGroupSettingsResponse, error)

ParseGetAllLdapGroupSettingsResponse parses an HTTP response from a GetAllLdapGroupSettingsWithResponse call

func (GetAllLdapGroupSettingsResponse) ContentType

func (r GetAllLdapGroupSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAllLdapGroupSettingsResponse) GetBody

func (r GetAllLdapGroupSettingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAllLdapGroupSettingsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAllLdapGroupSettingsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAllLdapGroupSettingsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetAllLdapGroupSettingsResponse) Status

Status returns HTTPResponse.Status

func (GetAllLdapGroupSettingsResponse) StatusCode

func (r GetAllLdapGroupSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllLdapSettingsResponse

type GetAllLdapSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]LdapSettings
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetAllLdapSettingsResponse

func ParseGetAllLdapSettingsResponse(rsp *http.Response) (*GetAllLdapSettingsResponse, error)

ParseGetAllLdapSettingsResponse parses an HTTP response from a GetAllLdapSettingsWithResponse call

func (GetAllLdapSettingsResponse) ContentType

func (r GetAllLdapSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAllLdapSettingsResponse) GetBody

func (r GetAllLdapSettingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAllLdapSettingsResponse) GetJSON200

func (r GetAllLdapSettingsResponse) GetJSON200() *[]LdapSettings

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAllLdapSettingsResponse) GetJSON401

func (r GetAllLdapSettingsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAllLdapSettingsResponse) GetJSON403

func (r GetAllLdapSettingsResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetAllLdapSettingsResponse) Status

Status returns HTTPResponse.Status

func (GetAllLdapSettingsResponse) StatusCode

func (r GetAllLdapSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllOidcConfigurationsResponse

type GetAllOidcConfigurationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]OidcConfiguration
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetAllOidcConfigurationsResponse

func ParseGetAllOidcConfigurationsResponse(rsp *http.Response) (*GetAllOidcConfigurationsResponse, error)

ParseGetAllOidcConfigurationsResponse parses an HTTP response from a GetAllOidcConfigurationsWithResponse call

func (GetAllOidcConfigurationsResponse) ContentType

func (r GetAllOidcConfigurationsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAllOidcConfigurationsResponse) GetBody

func (r GetAllOidcConfigurationsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAllOidcConfigurationsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAllOidcConfigurationsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAllOidcConfigurationsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetAllOidcConfigurationsResponse) Status

Status returns HTTPResponse.Status

func (GetAllOidcConfigurationsResponse) StatusCode

func (r GetAllOidcConfigurationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllSamlSettingsResponse

type GetAllSamlSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]SamlSetting
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetAllSamlSettingsResponse

func ParseGetAllSamlSettingsResponse(rsp *http.Response) (*GetAllSamlSettingsResponse, error)

ParseGetAllSamlSettingsResponse parses an HTTP response from a GetAllSamlSettingsWithResponse call

func (GetAllSamlSettingsResponse) ContentType

func (r GetAllSamlSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAllSamlSettingsResponse) GetBody

func (r GetAllSamlSettingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAllSamlSettingsResponse) GetJSON200

func (r GetAllSamlSettingsResponse) GetJSON200() *[]SamlSetting

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAllSamlSettingsResponse) GetJSON401

func (r GetAllSamlSettingsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAllSamlSettingsResponse) GetJSON403

func (r GetAllSamlSettingsResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetAllSamlSettingsResponse) GetJSON501

func (r GetAllSamlSettingsResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetAllSamlSettingsResponse) Status

Status returns HTTPResponse.Status

func (GetAllSamlSettingsResponse) StatusCode

func (r GetAllSamlSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAwsIamRoleResponse

type GetAwsIamRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AwsIamRoleAssignment
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetAwsIamRoleResponse

func ParseGetAwsIamRoleResponse(rsp *http.Response) (*GetAwsIamRoleResponse, error)

ParseGetAwsIamRoleResponse parses an HTTP response from a GetAwsIamRoleWithResponse call

func (GetAwsIamRoleResponse) ContentType

func (r GetAwsIamRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAwsIamRoleResponse) GetBody

func (r GetAwsIamRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAwsIamRoleResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAwsIamRoleResponse) GetJSON400

func (r GetAwsIamRoleResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetAwsIamRoleResponse) GetJSON401

func (r GetAwsIamRoleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAwsIamRoleResponse) GetJSON403

func (r GetAwsIamRoleResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetAwsIamRoleResponse) GetJSON404

func (r GetAwsIamRoleResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetAwsIamRoleResponse) GetJSON501

func (r GetAwsIamRoleResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetAwsIamRoleResponse) Status

func (r GetAwsIamRoleResponse) Status() string

Status returns HTTPResponse.Status

func (GetAwsIamRoleResponse) StatusCode

func (r GetAwsIamRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBasicAuthenticationStatusResponse

type GetBasicAuthenticationStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Enabled Optional within this object. Whether usernames and passwords over HTTP Basic are accepted.
		Enabled *bool `json:"enabled,omitempty"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetBasicAuthenticationStatusResponse

func ParseGetBasicAuthenticationStatusResponse(rsp *http.Response) (*GetBasicAuthenticationStatusResponse, error)

ParseGetBasicAuthenticationStatusResponse parses an HTTP response from a GetBasicAuthenticationStatusWithResponse call

func (GetBasicAuthenticationStatusResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetBasicAuthenticationStatusResponse) GetBody

GetBody returns the raw response body bytes

func (GetBasicAuthenticationStatusResponse) GetJSON200

func (r GetBasicAuthenticationStatusResponse) GetJSON200() *struct {
	// Enabled Optional within this object. Whether usernames and passwords over HTTP Basic are accepted.
	Enabled *bool `json:"enabled,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetBasicAuthenticationStatusResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetBasicAuthenticationStatusResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetBasicAuthenticationStatusResponse) Status

Status returns HTTPResponse.Status

func (GetBasicAuthenticationStatusResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetCaCertificateResponse

type GetCaCertificateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetCaCertificateResponse

func ParseGetCaCertificateResponse(rsp *http.Response) (*GetCaCertificateResponse, error)

ParseGetCaCertificateResponse parses an HTTP response from a GetCaCertificateWithResponse call

func (GetCaCertificateResponse) ContentType

func (r GetCaCertificateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCaCertificateResponse) GetBody

func (r GetCaCertificateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetCaCertificateResponse) GetJSON401

func (r GetCaCertificateResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetCaCertificateResponse) Status

func (r GetCaCertificateResponse) Status() string

Status returns HTTPResponse.Status

func (GetCaCertificateResponse) StatusCode

func (r GetCaCertificateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCrowdConfigurationResponse

type GetCrowdConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CrowdConfiguration
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetCrowdConfigurationResponse

func ParseGetCrowdConfigurationResponse(rsp *http.Response) (*GetCrowdConfigurationResponse, error)

ParseGetCrowdConfigurationResponse parses an HTTP response from a GetCrowdConfigurationWithResponse call

func (GetCrowdConfigurationResponse) ContentType

func (r GetCrowdConfigurationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCrowdConfigurationResponse) GetBody

func (r GetCrowdConfigurationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetCrowdConfigurationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetCrowdConfigurationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetCrowdConfigurationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetCrowdConfigurationResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetCrowdConfigurationResponse) Status

Status returns HTTPResponse.Status

func (GetCrowdConfigurationResponse) StatusCode

func (r GetCrowdConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGlobalEnvironmentsResponse

type GetGlobalEnvironmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Environment
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetGlobalEnvironmentsResponse

func ParseGetGlobalEnvironmentsResponse(rsp *http.Response) (*GetGlobalEnvironmentsResponse, error)

ParseGetGlobalEnvironmentsResponse parses an HTTP response from a GetGlobalEnvironmentsWithResponse call

func (GetGlobalEnvironmentsResponse) ContentType

func (r GetGlobalEnvironmentsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetGlobalEnvironmentsResponse) GetBody

func (r GetGlobalEnvironmentsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetGlobalEnvironmentsResponse) GetJSON200

func (r GetGlobalEnvironmentsResponse) GetJSON200() *[]Environment

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetGlobalEnvironmentsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetGlobalEnvironmentsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetGlobalEnvironmentsResponse) Status

Status returns HTTPResponse.Status

func (GetGlobalEnvironmentsResponse) StatusCode

func (r GetGlobalEnvironmentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGlobalRoleResponse

type GetGlobalRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GlobalRole
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetGlobalRoleResponse

func ParseGetGlobalRoleResponse(rsp *http.Response) (*GetGlobalRoleResponse, error)

ParseGetGlobalRoleResponse parses an HTTP response from a GetGlobalRoleWithResponse call

func (GetGlobalRoleResponse) ContentType

func (r GetGlobalRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetGlobalRoleResponse) GetBody

func (r GetGlobalRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetGlobalRoleResponse) GetJSON200

func (r GetGlobalRoleResponse) GetJSON200() *GlobalRole

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetGlobalRoleResponse) GetJSON401

func (r GetGlobalRoleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetGlobalRoleResponse) GetJSON403

func (r GetGlobalRoleResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetGlobalRoleResponse) GetJSON404

func (r GetGlobalRoleResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetGlobalRoleResponse) Status

func (r GetGlobalRoleResponse) Status() string

Status returns HTTPResponse.Status

func (GetGlobalRoleResponse) StatusCode

func (r GetGlobalRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGroupDetailsResponse

type GetGroupDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GroupDetails
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetGroupDetailsResponse

func ParseGetGroupDetailsResponse(rsp *http.Response) (*GetGroupDetailsResponse, error)

ParseGetGroupDetailsResponse parses an HTTP response from a GetGroupDetailsWithResponse call

func (GetGroupDetailsResponse) ContentType

func (r GetGroupDetailsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetGroupDetailsResponse) GetBody

func (r GetGroupDetailsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetGroupDetailsResponse) GetJSON200

func (r GetGroupDetailsResponse) GetJSON200() *GroupDetails

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetGroupDetailsResponse) GetJSON400

func (r GetGroupDetailsResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetGroupDetailsResponse) GetJSON401

func (r GetGroupDetailsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetGroupDetailsResponse) GetJSON403

func (r GetGroupDetailsResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetGroupDetailsResponse) GetJSON404

func (r GetGroupDetailsResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetGroupDetailsResponse) Status

func (r GetGroupDetailsResponse) Status() string

Status returns HTTPResponse.Status

func (GetGroupDetailsResponse) StatusCode

func (r GetGroupDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGroupListParams

type GetGroupListParams struct {
	// Limit Optional query parameter. Maximum number of groups in the page. Defaults to 1000; cursor is set when more remain.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// DescendingOrder Optional query parameter. Sort direction by group name. Defaults to false, ascending.
	DescendingOrder *bool `form:"descendingOrder,omitempty" json:"descendingOrder,omitempty"`

	// GroupName Optional query parameter. Case-insensitive substring the group name must contain.
	GroupName *string `form:"groupName,omitempty" json:"groupName,omitempty"`

	// Cursor Optional query parameter. The cursor from the previous page; omitted starts at the first page.
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Role Optional query parameter. Keeps only groups holding this role, globally or within projectKey.
	Role *string `form:"role,omitempty" json:"role,omitempty"`

	// ResourceType Optional query parameter. With resourceName, keeps only groups that have a permission on that resource.
	ResourceType *string `form:"resourceType,omitempty" json:"resourceType,omitempty"`

	// ResourceName Optional query parameter. The resource key paired with resourceType. Ignored without resourceType.
	ResourceName *string `form:"resourceName,omitempty" json:"resourceName,omitempty"`

	// ProjectKey Optional query parameter. Scopes the role filter to one project.
	ProjectKey *string `form:"projectKey,omitempty" json:"projectKey,omitempty"`
}

GetGroupListParams defines parameters for GetGroupList.

type GetGroupListResponse

type GetGroupListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GroupListResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetGroupListResponse

func ParseGetGroupListResponse(rsp *http.Response) (*GetGroupListResponse, error)

ParseGetGroupListResponse parses an HTTP response from a GetGroupListWithResponse call

func (GetGroupListResponse) ContentType

func (r GetGroupListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetGroupListResponse) GetBody

func (r GetGroupListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetGroupListResponse) GetJSON200

func (r GetGroupListResponse) GetJSON200() *GroupListResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetGroupListResponse) GetJSON400

func (r GetGroupListResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetGroupListResponse) GetJSON401

func (r GetGroupListResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetGroupListResponse) GetJSON403

func (r GetGroupListResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetGroupListResponse) Status

func (r GetGroupListResponse) Status() string

Status returns HTTPResponse.Status

func (GetGroupListResponse) StatusCode

func (r GetGroupListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHttpSsoConfigurationResponse

type GetHttpSsoConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *HttpSsoConfiguration
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetHttpSsoConfigurationResponse

func ParseGetHttpSsoConfigurationResponse(rsp *http.Response) (*GetHttpSsoConfigurationResponse, error)

ParseGetHttpSsoConfigurationResponse parses an HTTP response from a GetHttpSsoConfigurationWithResponse call

func (GetHttpSsoConfigurationResponse) ContentType

func (r GetHttpSsoConfigurationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetHttpSsoConfigurationResponse) GetBody

func (r GetHttpSsoConfigurationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetHttpSsoConfigurationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetHttpSsoConfigurationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetHttpSsoConfigurationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetHttpSsoConfigurationResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetHttpSsoConfigurationResponse) Status

Status returns HTTPResponse.Status

func (GetHttpSsoConfigurationResponse) StatusCode

func (r GetHttpSsoConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLdapGroupMappingStrategyParams

type GetLdapGroupMappingStrategyParams struct {
	// Strategy Optional query parameter. Strategy to describe: STATIC, DYNAMIC or HIERARCHY.
	Strategy *string `form:"strategy,omitempty" json:"strategy,omitempty"`
}

GetLdapGroupMappingStrategyParams defines parameters for GetLdapGroupMappingStrategy.

type GetLdapGroupMappingStrategyResponse

type GetLdapGroupMappingStrategyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GroupMappingStrategy
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetLdapGroupMappingStrategyResponse

func ParseGetLdapGroupMappingStrategyResponse(rsp *http.Response) (*GetLdapGroupMappingStrategyResponse, error)

ParseGetLdapGroupMappingStrategyResponse parses an HTTP response from a GetLdapGroupMappingStrategyWithResponse call

func (GetLdapGroupMappingStrategyResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLdapGroupMappingStrategyResponse) GetBody

GetBody returns the raw response body bytes

func (GetLdapGroupMappingStrategyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetLdapGroupMappingStrategyResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetLdapGroupMappingStrategyResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetLdapGroupMappingStrategyResponse) Status

Status returns HTTPResponse.Status

func (GetLdapGroupMappingStrategyResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLdapGroupSettingsByNameResponse

type GetLdapGroupSettingsByNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LdapGroupSettings
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetLdapGroupSettingsByNameResponse

func ParseGetLdapGroupSettingsByNameResponse(rsp *http.Response) (*GetLdapGroupSettingsByNameResponse, error)

ParseGetLdapGroupSettingsByNameResponse parses an HTTP response from a GetLdapGroupSettingsByNameWithResponse call

func (GetLdapGroupSettingsByNameResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLdapGroupSettingsByNameResponse) GetBody

GetBody returns the raw response body bytes

func (GetLdapGroupSettingsByNameResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetLdapGroupSettingsByNameResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetLdapGroupSettingsByNameResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetLdapGroupSettingsByNameResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetLdapGroupSettingsByNameResponse) Status

Status returns HTTPResponse.Status

func (GetLdapGroupSettingsByNameResponse) StatusCode

func (r GetLdapGroupSettingsByNameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLdapSettingsByKeyResponse

type GetLdapSettingsByKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LdapSettings
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetLdapSettingsByKeyResponse

func ParseGetLdapSettingsByKeyResponse(rsp *http.Response) (*GetLdapSettingsByKeyResponse, error)

ParseGetLdapSettingsByKeyResponse parses an HTTP response from a GetLdapSettingsByKeyWithResponse call

func (GetLdapSettingsByKeyResponse) ContentType

func (r GetLdapSettingsByKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLdapSettingsByKeyResponse) GetBody

func (r GetLdapSettingsByKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetLdapSettingsByKeyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetLdapSettingsByKeyResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetLdapSettingsByKeyResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetLdapSettingsByKeyResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetLdapSettingsByKeyResponse) Status

Status returns HTTPResponse.Status

func (GetLdapSettingsByKeyResponse) StatusCode

func (r GetLdapSettingsByKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOidcConfigurationResponse

type GetOidcConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OidcConfiguration
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetOidcConfigurationResponse

func ParseGetOidcConfigurationResponse(rsp *http.Response) (*GetOidcConfigurationResponse, error)

ParseGetOidcConfigurationResponse parses an HTTP response from a GetOidcConfigurationWithResponse call

func (GetOidcConfigurationResponse) ContentType

func (r GetOidcConfigurationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOidcConfigurationResponse) GetBody

func (r GetOidcConfigurationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOidcConfigurationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOidcConfigurationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetOidcConfigurationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetOidcConfigurationResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetOidcConfigurationResponse) Status

Status returns HTTPResponse.Status

func (GetOidcConfigurationResponse) StatusCode

func (r GetOidcConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOidcIdentityMappingByNameResponse

type GetOidcIdentityMappingByNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OidcIdentityMappingResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetOidcIdentityMappingByNameResponse

func ParseGetOidcIdentityMappingByNameResponse(rsp *http.Response) (*GetOidcIdentityMappingByNameResponse, error)

ParseGetOidcIdentityMappingByNameResponse parses an HTTP response from a GetOidcIdentityMappingByNameWithResponse call

func (GetOidcIdentityMappingByNameResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOidcIdentityMappingByNameResponse) GetBody

GetBody returns the raw response body bytes

func (GetOidcIdentityMappingByNameResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOidcIdentityMappingByNameResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetOidcIdentityMappingByNameResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetOidcIdentityMappingByNameResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetOidcIdentityMappingByNameResponse) Status

Status returns HTTPResponse.Status

func (GetOidcIdentityMappingByNameResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetOidcIdentityMappingsParams

type GetOidcIdentityMappingsParams struct {
	// ProjectKey Optional query parameter. Returns only the mappings that belong to this project. Omitted returns every mapping of the provider.
	ProjectKey *string `form:"project_key,omitempty" json:"project_key,omitempty"`
}

GetOidcIdentityMappingsParams defines parameters for GetOidcIdentityMappings.

type GetOidcIdentityMappingsResponse

type GetOidcIdentityMappingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]OidcIdentityMappingResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetOidcIdentityMappingsResponse

func ParseGetOidcIdentityMappingsResponse(rsp *http.Response) (*GetOidcIdentityMappingsResponse, error)

ParseGetOidcIdentityMappingsResponse parses an HTTP response from a GetOidcIdentityMappingsWithResponse call

func (GetOidcIdentityMappingsResponse) ContentType

func (r GetOidcIdentityMappingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOidcIdentityMappingsResponse) GetBody

func (r GetOidcIdentityMappingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOidcIdentityMappingsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOidcIdentityMappingsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetOidcIdentityMappingsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetOidcIdentityMappingsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetOidcIdentityMappingsResponse) Status

Status returns HTTPResponse.Status

func (GetOidcIdentityMappingsResponse) StatusCode

func (r GetOidcIdentityMappingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPermissionDetailsResponse

type GetPermissionDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PermissionDetails
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetPermissionDetailsResponse

func ParseGetPermissionDetailsResponse(rsp *http.Response) (*GetPermissionDetailsResponse, error)

ParseGetPermissionDetailsResponse parses an HTTP response from a GetPermissionDetailsWithResponse call

func (GetPermissionDetailsResponse) ContentType

func (r GetPermissionDetailsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPermissionDetailsResponse) GetBody

func (r GetPermissionDetailsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPermissionDetailsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPermissionDetailsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetPermissionDetailsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetPermissionDetailsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetPermissionDetailsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPermissionDetailsResponse) Status

Status returns HTTPResponse.Status

func (GetPermissionDetailsResponse) StatusCode

func (r GetPermissionDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPermissionResourceParamsResourceType

type GetPermissionResourceParamsResourceType string

GetPermissionResourceParamsResourceType defines parameters for GetPermissionResource.

const (
	GetPermissionResourceParamsResourceTypeArtifact      GetPermissionResourceParamsResourceType = "artifact"
	GetPermissionResourceParamsResourceTypeBuild         GetPermissionResourceParamsResourceType = "build"
	GetPermissionResourceParamsResourceTypeReleaseBundle GetPermissionResourceParamsResourceType = "release_bundle"
)

Defines values for GetPermissionResourceParamsResourceType.

func (GetPermissionResourceParamsResourceType) Valid

Valid indicates whether the value is a known member of the GetPermissionResourceParamsResourceType enum.

type GetPermissionResourceResponse

type GetPermissionResourceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PermissionResource
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetPermissionResourceResponse

func ParseGetPermissionResourceResponse(rsp *http.Response) (*GetPermissionResourceResponse, error)

ParseGetPermissionResourceResponse parses an HTTP response from a GetPermissionResourceWithResponse call

func (GetPermissionResourceResponse) ContentType

func (r GetPermissionResourceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPermissionResourceResponse) GetBody

func (r GetPermissionResourceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPermissionResourceResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPermissionResourceResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetPermissionResourceResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetPermissionResourceResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetPermissionResourceResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPermissionResourceResponse) Status

Status returns HTTPResponse.Status

func (GetPermissionResourceResponse) StatusCode

func (r GetPermissionResourceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPermissions200JSONResponseBody

type GetPermissions200JSONResponseBody struct {
	// contains filtered or unexported fields
}

GetPermissions200JSONResponseBody defines parameters for GetPermissions.

func (GetPermissions200JSONResponseBody) AsExpandedPermissionsResponse

func (t GetPermissions200JSONResponseBody) AsExpandedPermissionsResponse() (ExpandedPermissionsResponse, error)

AsExpandedPermissionsResponse returns the union data inside the GetPermissions200JSONResponseBody as a ExpandedPermissionsResponse

func (GetPermissions200JSONResponseBody) AsPermissionListResponse

func (t GetPermissions200JSONResponseBody) AsPermissionListResponse() (PermissionListResponse, error)

AsPermissionListResponse returns the union data inside the GetPermissions200JSONResponseBody as a PermissionListResponse

func (*GetPermissions200JSONResponseBody) FromExpandedPermissionsResponse

func (t *GetPermissions200JSONResponseBody) FromExpandedPermissionsResponse(v ExpandedPermissionsResponse) error

FromExpandedPermissionsResponse overwrites any union data inside the GetPermissions200JSONResponseBody as the provided ExpandedPermissionsResponse

func (*GetPermissions200JSONResponseBody) FromPermissionListResponse

func (t *GetPermissions200JSONResponseBody) FromPermissionListResponse(v PermissionListResponse) error

FromPermissionListResponse overwrites any union data inside the GetPermissions200JSONResponseBody as the provided PermissionListResponse

func (GetPermissions200JSONResponseBody) MarshalJSON

func (t GetPermissions200JSONResponseBody) MarshalJSON() ([]byte, error)

func (*GetPermissions200JSONResponseBody) MergeExpandedPermissionsResponse

func (t *GetPermissions200JSONResponseBody) MergeExpandedPermissionsResponse(v ExpandedPermissionsResponse) error

MergeExpandedPermissionsResponse performs a merge with any union data inside the GetPermissions200JSONResponseBody, using the provided ExpandedPermissionsResponse

func (*GetPermissions200JSONResponseBody) MergePermissionListResponse

func (t *GetPermissions200JSONResponseBody) MergePermissionListResponse(v PermissionListResponse) error

MergePermissionListResponse performs a merge with any union data inside the GetPermissions200JSONResponseBody, using the provided PermissionListResponse

func (*GetPermissions200JSONResponseBody) UnmarshalJSON

func (t *GetPermissions200JSONResponseBody) UnmarshalJSON(b []byte) error

type GetPermissionsParams

type GetPermissionsParams struct {
	// Cursor Optional query parameter. The cursor from the previous page; omitted starts at the first page.
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Optional query parameter. Maximum number of permissions in the page, between 1 and 99999. Omitted uses the server default page size.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// User Optional query parameter. Comma-separated usernames, matched without regard to case, so one name matches every user whose name differs from it only in case; keeps permissions that grant any action to at least one of them, directly or through their groups when include_inherited_groups is true.
	User *[]string `form:"user,omitempty" json:"user,omitempty"`

	// Group Optional query parameter. Comma-separated group names, matched exactly; keeps permissions that grant any action to at least one of them.
	Group *[]string `form:"group,omitempty" json:"group,omitempty"`

	// IncludeInheritedGroups Optional query parameter. When filtering by user, also match permissions granted to the user's groups. Defaults to true.
	IncludeInheritedGroups *bool `form:"include_inherited_groups,omitempty" json:"include_inherited_groups,omitempty"`

	// Expand Optional query parameter. When true, and only together with user or group, each entry is the full permission document. Defaults to false. Without a principal filter it answers 400.
	Expand *bool `form:"expand,omitempty" json:"expand,omitempty"`
}

GetPermissionsParams defines parameters for GetPermissions.

type GetPermissionsResponse

type GetPermissionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetPermissions200JSONResponseBody
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetPermissionsResponse

func ParseGetPermissionsResponse(rsp *http.Response) (*GetPermissionsResponse, error)

ParseGetPermissionsResponse parses an HTTP response from a GetPermissionsWithResponse call

func (GetPermissionsResponse) ContentType

func (r GetPermissionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPermissionsResponse) GetBody

func (r GetPermissionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPermissionsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPermissionsResponse) GetJSON400

func (r GetPermissionsResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetPermissionsResponse) GetJSON401

func (r GetPermissionsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetPermissionsResponse) GetJSON403

func (r GetPermissionsResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetPermissionsResponse) GetJSON404

func (r GetPermissionsResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPermissionsResponse) Status

func (r GetPermissionsResponse) Status() string

Status returns HTTPResponse.Status

func (GetPermissionsResponse) StatusCode

func (r GetPermissionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectEnvironmentsResponse

type GetProjectEnvironmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Environment
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetProjectEnvironmentsResponse

func ParseGetProjectEnvironmentsResponse(rsp *http.Response) (*GetProjectEnvironmentsResponse, error)

ParseGetProjectEnvironmentsResponse parses an HTTP response from a GetProjectEnvironmentsWithResponse call

func (GetProjectEnvironmentsResponse) ContentType

func (r GetProjectEnvironmentsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProjectEnvironmentsResponse) GetBody

func (r GetProjectEnvironmentsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectEnvironmentsResponse) GetJSON200

func (r GetProjectEnvironmentsResponse) GetJSON200() *[]Environment

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetProjectEnvironmentsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetProjectEnvironmentsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetProjectEnvironmentsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectEnvironmentsResponse) Status

Status returns HTTPResponse.Status

func (GetProjectEnvironmentsResponse) StatusCode

func (r GetProjectEnvironmentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectGroupResponse

type GetProjectGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ProjectGroup
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetProjectGroupResponse

func ParseGetProjectGroupResponse(rsp *http.Response) (*GetProjectGroupResponse, error)

ParseGetProjectGroupResponse parses an HTTP response from a GetProjectGroupWithResponse call

func (GetProjectGroupResponse) ContentType

func (r GetProjectGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProjectGroupResponse) GetBody

func (r GetProjectGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectGroupResponse) GetJSON200

func (r GetProjectGroupResponse) GetJSON200() *ProjectGroup

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetProjectGroupResponse) GetJSON401

func (r GetProjectGroupResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetProjectGroupResponse) GetJSON403

func (r GetProjectGroupResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetProjectGroupResponse) GetJSON404

func (r GetProjectGroupResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectGroupResponse) Status

func (r GetProjectGroupResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectGroupResponse) StatusCode

func (r GetProjectGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectGroupsResponse

type GetProjectGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Members Optional within this object. Groups with a role in the project.
		Members *[]ProjectGroup `json:"members,omitempty"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetProjectGroupsResponse

func ParseGetProjectGroupsResponse(rsp *http.Response) (*GetProjectGroupsResponse, error)

ParseGetProjectGroupsResponse parses an HTTP response from a GetProjectGroupsWithResponse call

func (GetProjectGroupsResponse) ContentType

func (r GetProjectGroupsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProjectGroupsResponse) GetBody

func (r GetProjectGroupsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectGroupsResponse) GetJSON200

func (r GetProjectGroupsResponse) GetJSON200() *struct {
	// Members Optional within this object. Groups with a role in the project.
	Members *[]ProjectGroup `json:"members,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetProjectGroupsResponse) GetJSON401

func (r GetProjectGroupsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetProjectGroupsResponse) GetJSON403

func (r GetProjectGroupsResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetProjectGroupsResponse) GetJSON404

func (r GetProjectGroupsResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectGroupsResponse) Status

func (r GetProjectGroupsResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectGroupsResponse) StatusCode

func (r GetProjectGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectRepositoryStatusResponse

type GetProjectRepositoryStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// AssignedTo Optional within this object. Key of the project that owns the repository; absent when it is not assigned.
		AssignedTo *string `json:"assigned_to,omitempty"`

		// Environments Optional within this object. Environments the repository belongs to, DEV when none was set.
		Environments *[]string `json:"environments,omitempty"`

		// ResourceName Optional within this object. The repository key.
		ResourceName *string `json:"resource_name,omitempty"`

		// SharedReadOnly Optional within this object. Whether the sharing grants read access only.
		SharedReadOnly *bool `json:"shared_read_only,omitempty"`

		// SharedWithAllProjects Optional within this object. Whether the repository is shared with every project.
		SharedWithAllProjects *bool `json:"shared_with_all_projects,omitempty"`

		// SharedWithProjects Optional within this object. Keys of the projects the repository is shared with one by one.
		SharedWithProjects *[]string `json:"shared_with_projects,omitempty"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetProjectRepositoryStatusResponse

func ParseGetProjectRepositoryStatusResponse(rsp *http.Response) (*GetProjectRepositoryStatusResponse, error)

ParseGetProjectRepositoryStatusResponse parses an HTTP response from a GetProjectRepositoryStatusWithResponse call

func (GetProjectRepositoryStatusResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProjectRepositoryStatusResponse) GetBody

GetBody returns the raw response body bytes

func (GetProjectRepositoryStatusResponse) GetJSON200

func (r GetProjectRepositoryStatusResponse) GetJSON200() *struct {
	// AssignedTo Optional within this object. Key of the project that owns the repository; absent when it is not assigned.
	AssignedTo *string `json:"assigned_to,omitempty"`

	// Environments Optional within this object. Environments the repository belongs to, DEV when none was set.
	Environments *[]string `json:"environments,omitempty"`

	// ResourceName Optional within this object. The repository key.
	ResourceName *string `json:"resource_name,omitempty"`

	// SharedReadOnly Optional within this object. Whether the sharing grants read access only.
	SharedReadOnly *bool `json:"shared_read_only,omitempty"`

	// SharedWithAllProjects Optional within this object. Whether the repository is shared with every project.
	SharedWithAllProjects *bool `json:"shared_with_all_projects,omitempty"`

	// SharedWithProjects Optional within this object. Keys of the projects the repository is shared with one by one.
	SharedWithProjects *[]string `json:"shared_with_projects,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetProjectRepositoryStatusResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetProjectRepositoryStatusResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetProjectRepositoryStatusResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectRepositoryStatusResponse) Status

Status returns HTTPResponse.Status

func (GetProjectRepositoryStatusResponse) StatusCode

func (r GetProjectRepositoryStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectResponse

type GetProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Project
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetProjectResponse

func ParseGetProjectResponse(rsp *http.Response) (*GetProjectResponse, error)

ParseGetProjectResponse parses an HTTP response from a GetProjectWithResponse call

func (GetProjectResponse) ContentType

func (r GetProjectResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProjectResponse) GetBody

func (r GetProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectResponse) GetJSON200

func (r GetProjectResponse) GetJSON200() *Project

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetProjectResponse) GetJSON401

func (r GetProjectResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetProjectResponse) GetJSON403

func (r GetProjectResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetProjectResponse) GetJSON404

func (r GetProjectResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectResponse) Status

func (r GetProjectResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectResponse) StatusCode

func (r GetProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectRoleResponse

type GetProjectRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ProjectRole
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetProjectRoleResponse

func ParseGetProjectRoleResponse(rsp *http.Response) (*GetProjectRoleResponse, error)

ParseGetProjectRoleResponse parses an HTTP response from a GetProjectRoleWithResponse call

func (GetProjectRoleResponse) ContentType

func (r GetProjectRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProjectRoleResponse) GetBody

func (r GetProjectRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectRoleResponse) GetJSON200

func (r GetProjectRoleResponse) GetJSON200() *ProjectRole

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetProjectRoleResponse) GetJSON401

func (r GetProjectRoleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetProjectRoleResponse) GetJSON403

func (r GetProjectRoleResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetProjectRoleResponse) GetJSON404

func (r GetProjectRoleResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectRoleResponse) Status

func (r GetProjectRoleResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectRoleResponse) StatusCode

func (r GetProjectRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectRolesResponse

type GetProjectRolesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]ProjectRole
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetProjectRolesResponse

func ParseGetProjectRolesResponse(rsp *http.Response) (*GetProjectRolesResponse, error)

ParseGetProjectRolesResponse parses an HTTP response from a GetProjectRolesWithResponse call

func (GetProjectRolesResponse) ContentType

func (r GetProjectRolesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProjectRolesResponse) GetBody

func (r GetProjectRolesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectRolesResponse) GetJSON200

func (r GetProjectRolesResponse) GetJSON200() *[]ProjectRole

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetProjectRolesResponse) GetJSON401

func (r GetProjectRolesResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetProjectRolesResponse) GetJSON403

func (r GetProjectRolesResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetProjectRolesResponse) GetJSON404

func (r GetProjectRolesResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectRolesResponse) Status

func (r GetProjectRolesResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectRolesResponse) StatusCode

func (r GetProjectRolesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectUserResponse

type GetProjectUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ProjectUser
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetProjectUserResponse

func ParseGetProjectUserResponse(rsp *http.Response) (*GetProjectUserResponse, error)

ParseGetProjectUserResponse parses an HTTP response from a GetProjectUserWithResponse call

func (GetProjectUserResponse) ContentType

func (r GetProjectUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProjectUserResponse) GetBody

func (r GetProjectUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectUserResponse) GetJSON200

func (r GetProjectUserResponse) GetJSON200() *ProjectUser

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetProjectUserResponse) GetJSON401

func (r GetProjectUserResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetProjectUserResponse) GetJSON403

func (r GetProjectUserResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetProjectUserResponse) GetJSON404

func (r GetProjectUserResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectUserResponse) Status

func (r GetProjectUserResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectUserResponse) StatusCode

func (r GetProjectUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectUsersResponse

type GetProjectUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Members Optional within this object. Users with a direct role in the project.
		Members *[]ProjectUser `json:"members,omitempty"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetProjectUsersResponse

func ParseGetProjectUsersResponse(rsp *http.Response) (*GetProjectUsersResponse, error)

ParseGetProjectUsersResponse parses an HTTP response from a GetProjectUsersWithResponse call

func (GetProjectUsersResponse) ContentType

func (r GetProjectUsersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProjectUsersResponse) GetBody

func (r GetProjectUsersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectUsersResponse) GetJSON200

func (r GetProjectUsersResponse) GetJSON200() *struct {
	// Members Optional within this object. Users with a direct role in the project.
	Members *[]ProjectUser `json:"members,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetProjectUsersResponse) GetJSON401

func (r GetProjectUsersResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetProjectUsersResponse) GetJSON403

func (r GetProjectUsersResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetProjectUsersResponse) GetJSON404

func (r GetProjectUsersResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectUsersResponse) Status

func (r GetProjectUsersResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectUsersResponse) StatusCode

func (r GetProjectUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectsForRoleParams

type GetProjectsForRoleParams struct {
	// RoleName Required query parameter. Name of a global role; only global roles are accepted.
	RoleName string `form:"role_name" json:"role_name"`

	// Limit Optional query parameter. Maximum number of projects in the page. Defaults to 1000; at least 1.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// DescendingOrder Optional query parameter. When true, projects are ordered by name descending. Defaults to false.
	DescendingOrder *bool `form:"descending_order,omitempty" json:"descending_order,omitempty"`

	// Cursor Optional query parameter. The cursor from the previous page. Omitted starts at the first page.
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}

GetProjectsForRoleParams defines parameters for GetProjectsForRole.

type GetProjectsForRoleResponse

type GetProjectsForRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Cursor Optional within this object. Pass as cursor to fetch the next page; absent on the last page.
		Cursor *string `json:"cursor,omitempty"`

		// Projects Optional within this object. Projects in this page where the role is used.
		Projects *[]struct {
			// Name Optional within this object. Project display name.
			Name *string `json:"name,omitempty"`

			// ProjectKey Optional within this object. Project key.
			ProjectKey *string `json:"projectKey,omitempty"`
		} `json:"projects,omitempty"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetProjectsForRoleResponse

func ParseGetProjectsForRoleResponse(rsp *http.Response) (*GetProjectsForRoleResponse, error)

ParseGetProjectsForRoleResponse parses an HTTP response from a GetProjectsForRoleWithResponse call

func (GetProjectsForRoleResponse) ContentType

func (r GetProjectsForRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProjectsForRoleResponse) GetBody

func (r GetProjectsForRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectsForRoleResponse) GetJSON200

func (r GetProjectsForRoleResponse) GetJSON200() *struct {
	// Cursor Optional within this object. Pass as cursor to fetch the next page; absent on the last page.
	Cursor *string `json:"cursor,omitempty"`

	// Projects Optional within this object. Projects in this page where the role is used.
	Projects *[]struct {
		// Name Optional within this object. Project display name.
		Name *string `json:"name,omitempty"`

		// ProjectKey Optional within this object. Project key.
		ProjectKey *string `json:"projectKey,omitempty"`
	} `json:"projects,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetProjectsForRoleResponse) GetJSON401

func (r GetProjectsForRoleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetProjectsForRoleResponse) GetJSON403

func (r GetProjectsForRoleResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetProjectsForRoleResponse) GetJSON404

func (r GetProjectsForRoleResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectsForRoleResponse) Status

Status returns HTTPResponse.Status

func (GetProjectsForRoleResponse) StatusCode

func (r GetProjectsForRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectsListResponse

type GetProjectsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Project
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetProjectsListResponse

func ParseGetProjectsListResponse(rsp *http.Response) (*GetProjectsListResponse, error)

ParseGetProjectsListResponse parses an HTTP response from a GetProjectsListWithResponse call

func (GetProjectsListResponse) ContentType

func (r GetProjectsListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetProjectsListResponse) GetBody

func (r GetProjectsListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectsListResponse) GetJSON200

func (r GetProjectsListResponse) GetJSON200() *[]Project

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetProjectsListResponse) GetJSON401

func (r GetProjectsListResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetProjectsListResponse) GetJSON403

func (r GetProjectsListResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetProjectsListResponse) Status

func (r GetProjectsListResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectsListResponse) StatusCode

func (r GetProjectsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRootCertificateParams

type GetRootCertificateParams struct {
	// Formatted Optional query parameter. When true the certificate is returned as a PEM block with header, footer and line breaks. Omitted or false returns the base64 body on one line.
	Formatted *bool `form:"formatted,omitempty" json:"formatted,omitempty"`
}

GetRootCertificateParams defines parameters for GetRootCertificate.

type GetRootCertificateResponse

type GetRootCertificateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetRootCertificateResponse

func ParseGetRootCertificateResponse(rsp *http.Response) (*GetRootCertificateResponse, error)

ParseGetRootCertificateResponse parses an HTTP response from a GetRootCertificateWithResponse call

func (GetRootCertificateResponse) ContentType

func (r GetRootCertificateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRootCertificateResponse) GetBody

func (r GetRootCertificateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRootCertificateResponse) GetJSON401

func (r GetRootCertificateResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRootCertificateResponse) Status

Status returns HTTPResponse.Status

func (GetRootCertificateResponse) StatusCode

func (r GetRootCertificateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSamlGeneralSettingsResponse

type GetSamlGeneralSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SamlGeneralSettings
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetSamlGeneralSettingsResponse

func ParseGetSamlGeneralSettingsResponse(rsp *http.Response) (*GetSamlGeneralSettingsResponse, error)

ParseGetSamlGeneralSettingsResponse parses an HTTP response from a GetSamlGeneralSettingsWithResponse call

func (GetSamlGeneralSettingsResponse) ContentType

func (r GetSamlGeneralSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSamlGeneralSettingsResponse) GetBody

func (r GetSamlGeneralSettingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSamlGeneralSettingsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSamlGeneralSettingsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSamlGeneralSettingsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSamlGeneralSettingsResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetSamlGeneralSettingsResponse) Status

Status returns HTTPResponse.Status

func (GetSamlGeneralSettingsResponse) StatusCode

func (r GetSamlGeneralSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSamlSettingByNameResponse

type GetSamlSettingByNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SamlSetting
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetSamlSettingByNameResponse

func ParseGetSamlSettingByNameResponse(rsp *http.Response) (*GetSamlSettingByNameResponse, error)

ParseGetSamlSettingByNameResponse parses an HTTP response from a GetSamlSettingByNameWithResponse call

func (GetSamlSettingByNameResponse) ContentType

func (r GetSamlSettingByNameResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSamlSettingByNameResponse) GetBody

func (r GetSamlSettingByNameResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSamlSettingByNameResponse) GetJSON200

func (r GetSamlSettingByNameResponse) GetJSON200() *SamlSetting

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSamlSettingByNameResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSamlSettingByNameResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSamlSettingByNameResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSamlSettingByNameResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetSamlSettingByNameResponse) Status

Status returns HTTPResponse.Status

func (GetSamlSettingByNameResponse) StatusCode

func (r GetSamlSettingByNameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetScimGroupByNameParams

type GetScimGroupByNameParams struct {
	// ExcludedAttributes Optional query parameter. Comma-separated attributes to leave out of each resource.
	ExcludedAttributes *string `form:"excludedAttributes,omitempty" json:"excludedAttributes,omitempty"`
}

GetScimGroupByNameParams defines parameters for GetScimGroupByName.

type GetScimGroupByNameResponse

type GetScimGroupByNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationscimJSON200 the response for an HTTP 200 `application/scim+json` response
	ApplicationscimJSON200 *ScimResource
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetScimGroupByNameResponse

func ParseGetScimGroupByNameResponse(rsp *http.Response) (*GetScimGroupByNameResponse, error)

ParseGetScimGroupByNameResponse parses an HTTP response from a GetScimGroupByNameWithResponse call

func (GetScimGroupByNameResponse) ContentType

func (r GetScimGroupByNameResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetScimGroupByNameResponse) GetApplicationscimJSON200

func (r GetScimGroupByNameResponse) GetApplicationscimJSON200() *ScimResource

GetApplicationscimJSON200 returns the response for an HTTP 200 `application/scim+json` response

func (GetScimGroupByNameResponse) GetBody

func (r GetScimGroupByNameResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetScimGroupByNameResponse) GetJSON401

func (r GetScimGroupByNameResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetScimGroupByNameResponse) GetJSON404

func (r GetScimGroupByNameResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetScimGroupByNameResponse) GetJSON501

func (r GetScimGroupByNameResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetScimGroupByNameResponse) Status

Status returns HTTPResponse.Status

func (GetScimGroupByNameResponse) StatusCode

func (r GetScimGroupByNameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetScimGroupsParams

type GetScimGroupsParams struct {
	// Filter Optional query parameter. SCIM filter expression that selects resources.
	Filter *string `form:"filter,omitempty" json:"filter,omitempty"`

	// StartIndex Optional query parameter. One-based index of the first result.
	StartIndex *int `form:"startIndex,omitempty" json:"startIndex,omitempty"`

	// Count Optional query parameter. Maximum number of results.
	Count *int `form:"count,omitempty" json:"count,omitempty"`

	// ExcludedAttributes Optional query parameter. Comma-separated attributes to leave out of each resource.
	ExcludedAttributes *string `form:"excludedAttributes,omitempty" json:"excludedAttributes,omitempty"`
}

GetScimGroupsParams defines parameters for GetScimGroups.

type GetScimGroupsResponse

type GetScimGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationscimJSON200 the response for an HTTP 200 `application/scim+json` response
	ApplicationscimJSON200 *ScimGroupListResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetScimGroupsResponse

func ParseGetScimGroupsResponse(rsp *http.Response) (*GetScimGroupsResponse, error)

ParseGetScimGroupsResponse parses an HTTP response from a GetScimGroupsWithResponse call

func (GetScimGroupsResponse) ContentType

func (r GetScimGroupsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetScimGroupsResponse) GetApplicationscimJSON200

func (r GetScimGroupsResponse) GetApplicationscimJSON200() *ScimGroupListResponse

GetApplicationscimJSON200 returns the response for an HTTP 200 `application/scim+json` response

func (GetScimGroupsResponse) GetBody

func (r GetScimGroupsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetScimGroupsResponse) GetJSON401

func (r GetScimGroupsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetScimGroupsResponse) GetJSON501

func (r GetScimGroupsResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetScimGroupsResponse) Status

func (r GetScimGroupsResponse) Status() string

Status returns HTTPResponse.Status

func (GetScimGroupsResponse) StatusCode

func (r GetScimGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetScimResourceTypesResponse

type GetScimResourceTypesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationscimJSON200 the response for an HTTP 200 `application/scim+json` response
	ApplicationscimJSON200 *ScimResourceTypeListResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetScimResourceTypesResponse

func ParseGetScimResourceTypesResponse(rsp *http.Response) (*GetScimResourceTypesResponse, error)

ParseGetScimResourceTypesResponse parses an HTTP response from a GetScimResourceTypesWithResponse call

func (GetScimResourceTypesResponse) ContentType

func (r GetScimResourceTypesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetScimResourceTypesResponse) GetApplicationscimJSON200

func (r GetScimResourceTypesResponse) GetApplicationscimJSON200() *ScimResourceTypeListResponse

GetApplicationscimJSON200 returns the response for an HTTP 200 `application/scim+json` response

func (GetScimResourceTypesResponse) GetBody

func (r GetScimResourceTypesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetScimResourceTypesResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetScimResourceTypesResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetScimResourceTypesResponse) Status

Status returns HTTPResponse.Status

func (GetScimResourceTypesResponse) StatusCode

func (r GetScimResourceTypesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetScimSchemaByIdResponse

type GetScimSchemaByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ScimResource
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetScimSchemaByIdResponse

func ParseGetScimSchemaByIdResponse(rsp *http.Response) (*GetScimSchemaByIdResponse, error)

ParseGetScimSchemaByIdResponse parses an HTTP response from a GetScimSchemaByIdWithResponse call

func (GetScimSchemaByIdResponse) ContentType

func (r GetScimSchemaByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetScimSchemaByIdResponse) GetBody

func (r GetScimSchemaByIdResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetScimSchemaByIdResponse) GetJSON200

func (r GetScimSchemaByIdResponse) GetJSON200() *ScimResource

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetScimSchemaByIdResponse) GetJSON401

func (r GetScimSchemaByIdResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetScimSchemaByIdResponse) GetJSON404

func (r GetScimSchemaByIdResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetScimSchemaByIdResponse) GetJSON501

func (r GetScimSchemaByIdResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetScimSchemaByIdResponse) Status

func (r GetScimSchemaByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetScimSchemaByIdResponse) StatusCode

func (r GetScimSchemaByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetScimSchemasResponse

type GetScimSchemasResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ScimResource
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetScimSchemasResponse

func ParseGetScimSchemasResponse(rsp *http.Response) (*GetScimSchemasResponse, error)

ParseGetScimSchemasResponse parses an HTTP response from a GetScimSchemasWithResponse call

func (GetScimSchemasResponse) ContentType

func (r GetScimSchemasResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetScimSchemasResponse) GetBody

func (r GetScimSchemasResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetScimSchemasResponse) GetJSON200

func (r GetScimSchemasResponse) GetJSON200() *ScimResource

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetScimSchemasResponse) GetJSON401

func (r GetScimSchemasResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetScimSchemasResponse) GetJSON501

func (r GetScimSchemasResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetScimSchemasResponse) Status

func (r GetScimSchemasResponse) Status() string

Status returns HTTPResponse.Status

func (GetScimSchemasResponse) StatusCode

func (r GetScimSchemasResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetScimServiceProviderConfigResponse

type GetScimServiceProviderConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationscimJSON200 the response for an HTTP 200 `application/scim+json` response
	ApplicationscimJSON200 *ScimResource
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetScimServiceProviderConfigResponse

func ParseGetScimServiceProviderConfigResponse(rsp *http.Response) (*GetScimServiceProviderConfigResponse, error)

ParseGetScimServiceProviderConfigResponse parses an HTTP response from a GetScimServiceProviderConfigWithResponse call

func (GetScimServiceProviderConfigResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetScimServiceProviderConfigResponse) GetApplicationscimJSON200

func (r GetScimServiceProviderConfigResponse) GetApplicationscimJSON200() *ScimResource

GetApplicationscimJSON200 returns the response for an HTTP 200 `application/scim+json` response

func (GetScimServiceProviderConfigResponse) GetBody

GetBody returns the raw response body bytes

func (GetScimServiceProviderConfigResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetScimServiceProviderConfigResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetScimServiceProviderConfigResponse) Status

Status returns HTTPResponse.Status

func (GetScimServiceProviderConfigResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetScimUserByUsernameParams

type GetScimUserByUsernameParams struct {
	// ExcludedAttributes Optional query parameter. Comma-separated attributes to leave out of each resource.
	ExcludedAttributes *string `form:"excludedAttributes,omitempty" json:"excludedAttributes,omitempty"`
}

GetScimUserByUsernameParams defines parameters for GetScimUserByUsername.

type GetScimUserByUsernameResponse

type GetScimUserByUsernameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationscimJSON200 the response for an HTTP 200 `application/scim+json` response
	ApplicationscimJSON200 *ScimResource
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetScimUserByUsernameResponse

func ParseGetScimUserByUsernameResponse(rsp *http.Response) (*GetScimUserByUsernameResponse, error)

ParseGetScimUserByUsernameResponse parses an HTTP response from a GetScimUserByUsernameWithResponse call

func (GetScimUserByUsernameResponse) ContentType

func (r GetScimUserByUsernameResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetScimUserByUsernameResponse) GetApplicationscimJSON200

func (r GetScimUserByUsernameResponse) GetApplicationscimJSON200() *ScimResource

GetApplicationscimJSON200 returns the response for an HTTP 200 `application/scim+json` response

func (GetScimUserByUsernameResponse) GetBody

func (r GetScimUserByUsernameResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetScimUserByUsernameResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetScimUserByUsernameResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetScimUserByUsernameResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetScimUserByUsernameResponse) Status

Status returns HTTPResponse.Status

func (GetScimUserByUsernameResponse) StatusCode

func (r GetScimUserByUsernameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetScimUsersParams

type GetScimUsersParams struct {
	// Filter Optional query parameter. SCIM filter expression that selects resources.
	Filter *string `form:"filter,omitempty" json:"filter,omitempty"`

	// StartIndex Optional query parameter. One-based index of the first result.
	StartIndex *int `form:"startIndex,omitempty" json:"startIndex,omitempty"`

	// Count Optional query parameter. Maximum number of results.
	Count *int `form:"count,omitempty" json:"count,omitempty"`

	// ExcludedAttributes Optional query parameter. Comma-separated attributes to leave out of each resource.
	ExcludedAttributes *string `form:"excludedAttributes,omitempty" json:"excludedAttributes,omitempty"`
}

GetScimUsersParams defines parameters for GetScimUsers.

type GetScimUsersResponse

type GetScimUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationscimJSON200 the response for an HTTP 200 `application/scim+json` response
	ApplicationscimJSON200 *ScimUserListResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetScimUsersResponse

func ParseGetScimUsersResponse(rsp *http.Response) (*GetScimUsersResponse, error)

ParseGetScimUsersResponse parses an HTTP response from a GetScimUsersWithResponse call

func (GetScimUsersResponse) ContentType

func (r GetScimUsersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetScimUsersResponse) GetApplicationscimJSON200

func (r GetScimUsersResponse) GetApplicationscimJSON200() *ScimUserListResponse

GetApplicationscimJSON200 returns the response for an HTTP 200 `application/scim+json` response

func (GetScimUsersResponse) GetBody

func (r GetScimUsersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetScimUsersResponse) GetJSON401

func (r GetScimUsersResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetScimUsersResponse) GetJSON501

func (r GetScimUsersResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetScimUsersResponse) Status

func (r GetScimUsersResponse) Status() string

Status returns HTTPResponse.Status

func (GetScimUsersResponse) StatusCode

func (r GetScimUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTokenByIdResponse

type GetTokenByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TokenDetails
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetTokenByIdResponse

func ParseGetTokenByIdResponse(rsp *http.Response) (*GetTokenByIdResponse, error)

ParseGetTokenByIdResponse parses an HTTP response from a GetTokenByIdWithResponse call

func (GetTokenByIdResponse) ContentType

func (r GetTokenByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTokenByIdResponse) GetBody

func (r GetTokenByIdResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTokenByIdResponse) GetJSON200

func (r GetTokenByIdResponse) GetJSON200() *TokenDetails

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTokenByIdResponse) GetJSON401

func (r GetTokenByIdResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTokenByIdResponse) GetJSON403

func (r GetTokenByIdResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTokenByIdResponse) GetJSON404

func (r GetTokenByIdResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTokenByIdResponse) Status

func (r GetTokenByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetTokenByIdResponse) StatusCode

func (r GetTokenByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTokenDefaultExpiryResponse

type GetTokenDefaultExpiryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// DefaultTokenExpiration Optional within this object. Lifetime in seconds given to access tokens created without expires_in. 31536000 (one year) unless an admin changed it.
		DefaultTokenExpiration *int `json:"default_token_expiration,omitempty"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetTokenDefaultExpiryResponse

func ParseGetTokenDefaultExpiryResponse(rsp *http.Response) (*GetTokenDefaultExpiryResponse, error)

ParseGetTokenDefaultExpiryResponse parses an HTTP response from a GetTokenDefaultExpiryWithResponse call

func (GetTokenDefaultExpiryResponse) ContentType

func (r GetTokenDefaultExpiryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTokenDefaultExpiryResponse) GetBody

func (r GetTokenDefaultExpiryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTokenDefaultExpiryResponse) GetJSON200

func (r GetTokenDefaultExpiryResponse) GetJSON200() *struct {
	// DefaultTokenExpiration Optional within this object. Lifetime in seconds given to access tokens created without expires_in. 31536000 (one year) unless an admin changed it.
	DefaultTokenExpiration *int `json:"default_token_expiration,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTokenDefaultExpiryResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTokenDefaultExpiryResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTokenDefaultExpiryResponse) Status

Status returns HTTPResponse.Status

func (GetTokenDefaultExpiryResponse) StatusCode

func (r GetTokenDefaultExpiryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTokensParams

type GetTokensParams struct {
	// Scope Optional query parameter. Keeps only the tokens with this scope. A token matches when its whole scope, or one of its space-separated scopes, is exactly this string, such as applied-permissions/groups:readers. A scope no token has gives an empty list.
	Scope *string `form:"scope,omitempty" json:"scope,omitempty"`
}

GetTokensParams defines parameters for GetTokens.

type GetTokensResponse

type GetTokensResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TokenListResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetTokensResponse

func ParseGetTokensResponse(rsp *http.Response) (*GetTokensResponse, error)

ParseGetTokensResponse parses an HTTP response from a GetTokensWithResponse call

func (GetTokensResponse) ContentType

func (r GetTokensResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTokensResponse) GetBody

func (r GetTokensResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTokensResponse) GetJSON200

func (r GetTokensResponse) GetJSON200() *TokenListResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTokensResponse) GetJSON401

func (r GetTokensResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTokensResponse) GetJSON403

func (r GetTokensResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTokensResponse) Status

func (r GetTokensResponse) Status() string

Status returns HTTPResponse.Status

func (GetTokensResponse) StatusCode

func (r GetTokensResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUserDetailsResponse

type GetUserDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserDetails
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetUserDetailsResponse

func ParseGetUserDetailsResponse(rsp *http.Response) (*GetUserDetailsResponse, error)

ParseGetUserDetailsResponse parses an HTTP response from a GetUserDetailsWithResponse call

func (GetUserDetailsResponse) ContentType

func (r GetUserDetailsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUserDetailsResponse) GetBody

func (r GetUserDetailsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetUserDetailsResponse) GetJSON200

func (r GetUserDetailsResponse) GetJSON200() *UserDetails

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUserDetailsResponse) GetJSON400

func (r GetUserDetailsResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetUserDetailsResponse) GetJSON401

func (r GetUserDetailsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUserDetailsResponse) GetJSON403

func (r GetUserDetailsResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetUserDetailsResponse) GetJSON404

func (r GetUserDetailsResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetUserDetailsResponse) Status

func (r GetUserDetailsResponse) Status() string

Status returns HTTPResponse.Status

func (GetUserDetailsResponse) StatusCode

func (r GetUserDetailsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUserListParams

type GetUserListParams struct {
	// Status Optional query parameter. Keeps only users in the given lifecycle state. Omitted means every state.
	Status *GetUserListParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// Limit Optional query parameter. Maximum number of users in the page. Defaults to 1000; the server never returns more than the limit and sets cursor when more remain.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Username Optional query parameter. Case-insensitive substring that the username must contain.
	Username *string `form:"username,omitempty" json:"username,omitempty"`

	// OnlyAdmins Optional query parameter. When true only users with the admin flag or an admin-granting group are returned. Omitted or false returns everyone.
	OnlyAdmins *bool `form:"onlyAdmins,omitempty" json:"onlyAdmins,omitempty"`

	// Cursor Optional query parameter. The cursor value from the previous page. Omitted starts from the first page. Cursors are opaque and only valid with the same filters.
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Role Optional query parameter. Keeps only users holding this role name, globally or within projectKey when that is also given.
	Role *string `form:"role,omitempty" json:"role,omitempty"`

	// ResourceType Optional query parameter. Together with resourceName, keeps only users that have any permission on that resource. Values follow the permission resource types, for example artifact or build.
	ResourceType *string `form:"resourceType,omitempty" json:"resourceType,omitempty"`

	// ResourceName Optional query parameter. The resource key paired with resourceType, for example a repository key. Ignored without resourceType.
	ResourceName *string `form:"resourceName,omitempty" json:"resourceName,omitempty"`

	// ProjectKey Optional query parameter. Scopes role and membership filters to one project. A project admin may only use their own project keys.
	ProjectKey *string `form:"projectKey,omitempty" json:"projectKey,omitempty"`

	// DescendingOrder Optional query parameter. Sort direction by username. Omitted sorts ascending.
	DescendingOrder *bool `form:"descendingOrder,omitempty" json:"descendingOrder,omitempty"`
}

GetUserListParams defines parameters for GetUserList.

type GetUserListParamsStatus

type GetUserListParamsStatus string

GetUserListParamsStatus defines parameters for GetUserList.

const (
	GetUserListParamsStatusDisabled GetUserListParamsStatus = "disabled"
	GetUserListParamsStatusEnabled  GetUserListParamsStatus = "enabled"
	GetUserListParamsStatusInvited  GetUserListParamsStatus = "invited"
	GetUserListParamsStatusLocked   GetUserListParamsStatus = "locked"
)

Defines values for GetUserListParamsStatus.

func (GetUserListParamsStatus) Valid

func (e GetUserListParamsStatus) Valid() bool

Valid indicates whether the value is a known member of the GetUserListParamsStatus enum.

type GetUserListResponse

type GetUserListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserListResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetUserListResponse

func ParseGetUserListResponse(rsp *http.Response) (*GetUserListResponse, error)

ParseGetUserListResponse parses an HTTP response from a GetUserListWithResponse call

func (GetUserListResponse) ContentType

func (r GetUserListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUserListResponse) GetBody

func (r GetUserListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetUserListResponse) GetJSON200

func (r GetUserListResponse) GetJSON200() *UserListResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUserListResponse) GetJSON400

func (r GetUserListResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetUserListResponse) GetJSON401

func (r GetUserListResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUserListResponse) GetJSON403

func (r GetUserListResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetUserListResponse) Status

func (r GetUserListResponse) Status() string

Status returns HTTPResponse.Status

func (GetUserListResponse) StatusCode

func (r GetUserListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVaultConfigurationsResponse

type GetVaultConfigurationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]VaultConfig
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetVaultConfigurationsResponse

func ParseGetVaultConfigurationsResponse(rsp *http.Response) (*GetVaultConfigurationsResponse, error)

ParseGetVaultConfigurationsResponse parses an HTTP response from a GetVaultConfigurationsWithResponse call

func (GetVaultConfigurationsResponse) ContentType

func (r GetVaultConfigurationsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVaultConfigurationsResponse) GetBody

func (r GetVaultConfigurationsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVaultConfigurationsResponse) GetJSON200

func (r GetVaultConfigurationsResponse) GetJSON200() *[]VaultConfig

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVaultConfigurationsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetVaultConfigurationsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetVaultConfigurationsResponse) Status

Status returns HTTPResponse.Status

func (GetVaultConfigurationsResponse) StatusCode

func (r GetVaultConfigurationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GlobalRole

type GlobalRole struct {
	// Actions Required within this object. Actions from the global vocabulary: READ_REPOSITORY, ANNOTATE_REPOSITORY, DEPLOY_CACHE_REPOSITORY, DELETE_OVERWRITE_REPOSITORY, MANAGE_XRAY_MD_REPOSITORY, READ_RELEASE_BUNDLE, ANNOTATE_RELEASE_BUNDLE, CREATE_RELEASE_BUNDLE, DISTRIBUTE_RELEASE_BUNDLE, DELETE_RELEASE_BUNDLE, MANAGE_XRAY_MD_RELEASE_BUNDLE, READ_BUILD, ANNOTATE_BUILD, DEPLOY_BUILD, DELETE_BUILD, MANAGE_XRAY_MD_BUILD, READ_SOURCES_PIPELINE, TRIGGER_PIPELINE, READ_INTEGRATIONS_PIPELINE, READ_POOLS_PIPELINE, REPORTS_SECURITY, WATCHES_SECURITY, POLICIES_SECURITY, RULES_SECURITY, READ_POLICIES_SECURITY. Only the repository and build actions have an effect; the rest are stored and echoed.
	Actions []string `json:"actions"`

	// Description Optional within this object. Free text.
	Description *string `json:"description,omitempty"`

	// Environments Required within this object. Environment names the role applies to; empty means every environment.
	Environments []string `json:"environments"`

	// Name Required within this object. The role name.
	Name string `json:"name"`

	// Type Optional within this object. The kind of a global role. ADMIN and PREDEFINED are built in and can be neither renamed nor deleted; a PREDEFINED role's actions and environments can be changed, the ADMIN role cannot. CUSTOM_GLOBAL roles are created through this API.
	Type *GlobalRoleType `json:"type,omitempty"`
}

GlobalRole A global role as returned by reads.

type GlobalRoleCreate

type GlobalRoleCreate struct {
	// Actions Optional within this object. Actions from the global vocabulary listed on GlobalRole. Omitted grants nothing.
	Actions *[]string `json:"actions,omitempty"`

	// Description Optional within this object. Free text.
	Description *string `json:"description,omitempty"`

	// Environments Optional within this object. Environments the role applies to; each must exist. Omitted means every environment.
	Environments *[]string `json:"environments,omitempty"`

	// Name Required within this object. Unique role name.
	Name string `json:"name"`

	// Type Required within this object. Must be CUSTOM_GLOBAL; built-in types cannot be created.
	Type GlobalRoleCreateType `json:"type"`
}

GlobalRoleCreate A new custom global role.

type GlobalRoleCreateType

type GlobalRoleCreateType string

GlobalRoleCreateType Required within this object. Must be CUSTOM_GLOBAL; built-in types cannot be created.

const (
	GlobalRoleCreateTypeCUSTOMGLOBAL GlobalRoleCreateType = "CUSTOM_GLOBAL"
)

Defines values for GlobalRoleCreateType.

func (GlobalRoleCreateType) Valid

func (e GlobalRoleCreateType) Valid() bool

Valid indicates whether the value is a known member of the GlobalRoleCreateType enum.

type GlobalRoleCreated

type GlobalRoleCreated struct {
	// Code Required within this object. OK on success.
	Code string `json:"code"`

	// Detail Optional within this object. Further detail, when there is any.
	Detail *string `json:"detail,omitempty"`

	// Message Required within this object. For example "Role 'ci' created".
	Message string `json:"message"`
}

GlobalRoleCreated The answer to a role creation.

type GlobalRoleType

type GlobalRoleType string

GlobalRoleType The kind of a global role. ADMIN and PREDEFINED are built in and can be neither renamed nor deleted; a PREDEFINED role's actions and environments can be changed, the ADMIN role cannot. CUSTOM_GLOBAL roles are created through this API.

const (
	GlobalRoleTypeADMIN        GlobalRoleType = "ADMIN"
	GlobalRoleTypeCUSTOMGLOBAL GlobalRoleType = "CUSTOM_GLOBAL"
	GlobalRoleTypePREDEFINED   GlobalRoleType = "PREDEFINED"
)

Defines values for GlobalRoleType.

func (GlobalRoleType) Valid

func (e GlobalRoleType) Valid() bool

Valid indicates whether the value is a known member of the GlobalRoleType enum.

type GlobalRoleUpdate

type GlobalRoleUpdate struct {
	// Actions Optional within this object. The complete action list; omitted grants nothing.
	Actions *[]string `json:"actions,omitempty"`

	// Description Optional within this object. Free text; omitted clears it.
	Description *string `json:"description,omitempty"`

	// Environments Optional within this object. The complete environment list; omitted means every environment.
	Environments *[]string `json:"environments,omitempty"`

	// Name Required within this object. Must equal the role name in the path.
	Name string `json:"name"`

	// Type Required within this object. The kind of a global role. ADMIN and PREDEFINED are built in and can be neither renamed nor deleted; a PREDEFINED role's actions and environments can be changed, the ADMIN role cannot. CUSTOM_GLOBAL roles are created through this API.
	Type GlobalRoleType `json:"type"`
}

GlobalRoleUpdate The replacement content of a global role.

type GroupCreateRequest

type GroupCreateRequest struct {
	// AdminPrivileges Optional within this object. Members become effective admins. Defaults to false.
	AdminPrivileges *bool `json:"admin_privileges,omitempty"`

	// AutoJoin Optional within this object. When true every newly created user joins this group. Defaults to false.
	AutoJoin *bool `json:"auto_join,omitempty"`

	// Description Optional within this object. Free text shown to administrators.
	Description *string `json:"description,omitempty"`

	// ExternalId Optional within this object. Identifier of the group in an external identity provider; stored and echoed.
	ExternalId *string `json:"external_id,omitempty"`

	// ImportFromLdapGroupSetting Optional within this object. Name of an LDAP group setting to take members from. Mutually exclusive with members. Not supported; a value answers 400.
	ImportFromLdapGroupSetting *string `json:"import_from_ldap_group_setting,omitempty"`

	// ManageResources Optional within this object. Manage Resources role for the group's members, who may list, read, create, replace and delete every permission through the permission APIs, under a token only while its scope acts through this group. It grants nothing else. Defaults to false.
	ManageResources *bool `json:"manage_resources,omitempty"`

	// ManageWebhook Optional within this object. Members may manage webhook subscriptions. Defaults to false.
	ManageWebhook *bool `json:"manage_webhook,omitempty"`

	// Members Optional within this object. Initial member usernames; each must exist. Mutually exclusive with import_from_ldap_group_setting.
	Members *[]string `json:"members,omitempty"`

	// Name Required within this object. The group name; unique, case-insensitive.
	Name string `json:"name"`

	// PolicyManager Optional within this object. Stored and echoed; no effect.
	PolicyManager *bool `json:"policy_manager,omitempty"`

	// PolicyViewer Optional within this object. Stored and echoed; no effect.
	PolicyViewer *bool `json:"policy_viewer,omitempty"`

	// ReportsManager Optional within this object. Stored and echoed; no effect.
	ReportsManager *bool `json:"reports_manager,omitempty"`

	// WatchManager Optional within this object. Stored and echoed; no effect.
	WatchManager *bool `json:"watch_manager,omitempty"`
}

GroupCreateRequest A new group.

type GroupDetails

type GroupDetails struct {
	// AdminPrivileges Required within this object. Whether members are effective admins.
	AdminPrivileges bool `json:"admin_privileges"`

	// AutoJoin Required within this object. Whether new users join automatically.
	AutoJoin bool `json:"auto_join"`

	// Description Optional within this object. The description.
	Description *string `json:"description,omitempty"`

	// ExternalId Optional within this object. The external identifier.
	ExternalId *string `json:"external_id,omitempty"`

	// ManageResources Optional within this object. Manage Resources role for the group's members, who may list, read, create, replace and delete every permission through the permission APIs, under a token only while its scope acts through this group. It grants nothing else.
	ManageResources *bool `json:"manage_resources,omitempty"`

	// ManageWebhook Optional within this object. Webhook management right.
	ManageWebhook *bool `json:"manage_webhook,omitempty"`

	// Members Required within this object. Member usernames, possibly empty.
	Members []string `json:"members"`

	// Name Required within this object. The group name.
	Name string `json:"name"`

	// PolicyManager Optional within this object. Echo of the stored flag.
	PolicyManager *bool `json:"policy_manager,omitempty"`

	// PolicyViewer Optional within this object. Echo of the stored flag.
	PolicyViewer *bool `json:"policy_viewer,omitempty"`

	// Realm Required within this object. Server-owned. internal for locally stored groups.
	Realm string `json:"realm"`

	// RealmAttributes Optional within this object. Server-owned. Realm-specific metadata; empty for internal groups.
	RealmAttributes *string `json:"realm_attributes,omitempty"`

	// ReportsManager Optional within this object. Echo of the stored flag.
	ReportsManager *bool `json:"reports_manager,omitempty"`

	// WatchManager Optional within this object. Echo of the stored flag.
	WatchManager *bool `json:"watch_manager,omitempty"`
}

GroupDetails A stored group as returned by every read.

type GroupListResponse

type GroupListResponse struct {
	// Cursor Optional within this object. Present only when more groups remain.
	Cursor *string `json:"cursor,omitempty"`

	// Groups Required within this object. The groups in this page, possibly empty.
	Groups []GroupRecordResponse `json:"groups"`
}

GroupListResponse One page of the group listing.

type GroupMappingStrategy

type GroupMappingStrategy struct {
	// Description Optional within this object. Default attribute copied into a group's description.
	Description *string `json:"description,omitempty"`

	// Filter Optional within this object. Default filter that selects group entries.
	Filter *string `json:"filter,omitempty"`

	// GroupKeyMember Optional within this object. Default attribute that links groups and members for the strategy.
	GroupKeyMember *string `json:"groupKeyMember,omitempty"`

	// GroupNameAttribute Optional within this object. Default attribute that holds a group's name.
	GroupNameAttribute *string `json:"groupNameAttribute,omitempty"`
}

GroupMappingStrategy Default attribute names and filter for one LDAP group mapping strategy, a starting point for a group setting.

type GroupName

type GroupName = string

GroupName defines model for groupName.

type GroupRecordResponse

type GroupRecordResponse struct {
	// GroupName Required within this object. The group name.
	GroupName string `json:"group_name"`

	// Uri Required within this object. Absolute URL of the group's details resource.
	Uri string `json:"uri"`
}

GroupRecordResponse A group summary in a listing.

type GroupUpdateRequest

type GroupUpdateRequest struct {
	// AdminPrivileges Optional within this object. Admin grant flag.
	AdminPrivileges *bool `json:"admin_privileges,omitempty"`

	// AutoJoin Optional within this object. Auto-join flag.
	AutoJoin *bool `json:"auto_join,omitempty"`

	// Description Optional within this object. New description.
	Description *string `json:"description,omitempty"`

	// ExternalId Optional within this object. External identifier.
	ExternalId *string `json:"external_id,omitempty"`

	// ManageResources Optional within this object. Manage Resources role for the group's members, who may list, read, create, replace and delete every permission through the permission APIs, under a token only while its scope acts through this group. It grants nothing else.
	ManageResources *bool `json:"manage_resources,omitempty"`

	// ManageWebhook Optional within this object. Webhook management right.
	ManageWebhook *bool `json:"manage_webhook,omitempty"`

	// PolicyManager Optional within this object. Stored and echoed; no effect.
	PolicyManager *bool `json:"policy_manager,omitempty"`

	// PolicyViewer Optional within this object. Stored and echoed; no effect.
	PolicyViewer *bool `json:"policy_viewer,omitempty"`

	// ReportsManager Optional within this object. Stored and echoed; no effect.
	ReportsManager *bool `json:"reports_manager,omitempty"`

	// WatchManager Optional within this object. Stored and echoed; no effect.
	WatchManager *bool `json:"watch_manager,omitempty"`
}

GroupUpdateRequest Group attributes that may change. Every field is optional; omitted fields keep their value. Name, realm and members are not updatable here.

type HashicorpVaultAgentAuth

type HashicorpVaultAgentAuth struct {
	// Type Required within this object. Always Agent.
	Type HashicorpVaultAgentAuthType `json:"type"`
}

HashicorpVaultAgentAuth Vault authentication delegated to a Vault agent that runs beside the server.

type HashicorpVaultAgentAuthType

type HashicorpVaultAgentAuthType string

HashicorpVaultAgentAuthType Required within this object. Always Agent.

const (
	Agent HashicorpVaultAgentAuthType = "Agent"
)

Defines values for HashicorpVaultAgentAuthType.

func (HashicorpVaultAgentAuthType) Valid

Valid indicates whether the value is a known member of the HashicorpVaultAgentAuthType enum.

type HashicorpVaultAppRoleAuth

type HashicorpVaultAppRoleAuth struct {
	// RoleId Optional within this object. AppRole role ID.
	RoleId *string `json:"roleId,omitempty"`

	// SecretId Optional within this object. AppRole secret ID. Never returned.
	SecretId *string `json:"secretId,omitempty"`

	// Type Required within this object. Always AppRole.
	Type HashicorpVaultAppRoleAuthType `json:"type"`
}

HashicorpVaultAppRoleAuth Vault AppRole authentication.

type HashicorpVaultAppRoleAuthType

type HashicorpVaultAppRoleAuthType string

HashicorpVaultAppRoleAuthType Required within this object. Always AppRole.

const (
	AppRole HashicorpVaultAppRoleAuthType = "AppRole"
)

Defines values for HashicorpVaultAppRoleAuthType.

func (HashicorpVaultAppRoleAuthType) Valid

Valid indicates whether the value is a known member of the HashicorpVaultAppRoleAuthType enum.

type HashicorpVaultCertificateAuth

type HashicorpVaultCertificateAuth struct {
	// ClientCertificate Optional within this object. PEM client certificate presented to Vault.
	ClientCertificate *string `json:"clientCertificate,omitempty"`

	// ClientPrivateKey Optional within this object. PEM private key of clientCertificate. Never returned.
	ClientPrivateKey *string `json:"clientPrivateKey,omitempty"`

	// Type Required within this object. Always Certificate.
	Type HashicorpVaultCertificateAuthType `json:"type"`
}

HashicorpVaultCertificateAuth Vault TLS certificate authentication.

type HashicorpVaultCertificateAuthType

type HashicorpVaultCertificateAuthType string

HashicorpVaultCertificateAuthType Required within this object. Always Certificate.

const (
	Certificate HashicorpVaultCertificateAuthType = "Certificate"
)

Defines values for HashicorpVaultCertificateAuthType.

func (HashicorpVaultCertificateAuthType) Valid

Valid indicates whether the value is a known member of the HashicorpVaultCertificateAuthType enum.

type HashicorpVaultConfig

type HashicorpVaultConfig struct {
	// Auth Optional within this object. How the server authenticates to Vault, selected by type: AppRole, Certificate or Agent.
	Auth *HashicorpVaultConfig_Auth `json:"auth,omitempty"`

	// Mounts Optional within this object. Secret engine mounts that keys are read from.
	Mounts *[]HashicorpVaultMount `json:"mounts,omitempty"`

	// Url Optional within this object. Vault server URL. Vault must be served over TLS, so the scheme is https.
	Url *string `json:"url,omitempty"`
}

HashicorpVaultConfig How the server reaches HashiCorp Vault and which secret engines it reads.

type HashicorpVaultConfig_Auth

type HashicorpVaultConfig_Auth struct {
	// contains filtered or unexported fields
}

HashicorpVaultConfig_Auth Optional within this object. How the server authenticates to Vault, selected by type: AppRole, Certificate or Agent.

func (HashicorpVaultConfig_Auth) AsHashicorpVaultAgentAuth

func (t HashicorpVaultConfig_Auth) AsHashicorpVaultAgentAuth() (HashicorpVaultAgentAuth, error)

AsHashicorpVaultAgentAuth returns the union data inside the HashicorpVaultConfig_Auth as a HashicorpVaultAgentAuth

func (HashicorpVaultConfig_Auth) AsHashicorpVaultAppRoleAuth

func (t HashicorpVaultConfig_Auth) AsHashicorpVaultAppRoleAuth() (HashicorpVaultAppRoleAuth, error)

AsHashicorpVaultAppRoleAuth returns the union data inside the HashicorpVaultConfig_Auth as a HashicorpVaultAppRoleAuth

func (HashicorpVaultConfig_Auth) AsHashicorpVaultCertificateAuth

func (t HashicorpVaultConfig_Auth) AsHashicorpVaultCertificateAuth() (HashicorpVaultCertificateAuth, error)

AsHashicorpVaultCertificateAuth returns the union data inside the HashicorpVaultConfig_Auth as a HashicorpVaultCertificateAuth

func (HashicorpVaultConfig_Auth) Discriminator

func (t HashicorpVaultConfig_Auth) Discriminator() (string, error)

func (*HashicorpVaultConfig_Auth) FromHashicorpVaultAgentAuth

func (t *HashicorpVaultConfig_Auth) FromHashicorpVaultAgentAuth(v HashicorpVaultAgentAuth) error

FromHashicorpVaultAgentAuth overwrites any union data inside the HashicorpVaultConfig_Auth as the provided HashicorpVaultAgentAuth

func (*HashicorpVaultConfig_Auth) FromHashicorpVaultAppRoleAuth

func (t *HashicorpVaultConfig_Auth) FromHashicorpVaultAppRoleAuth(v HashicorpVaultAppRoleAuth) error

FromHashicorpVaultAppRoleAuth overwrites any union data inside the HashicorpVaultConfig_Auth as the provided HashicorpVaultAppRoleAuth

func (*HashicorpVaultConfig_Auth) FromHashicorpVaultCertificateAuth

func (t *HashicorpVaultConfig_Auth) FromHashicorpVaultCertificateAuth(v HashicorpVaultCertificateAuth) error

FromHashicorpVaultCertificateAuth overwrites any union data inside the HashicorpVaultConfig_Auth as the provided HashicorpVaultCertificateAuth

func (HashicorpVaultConfig_Auth) MarshalJSON

func (t HashicorpVaultConfig_Auth) MarshalJSON() ([]byte, error)

func (*HashicorpVaultConfig_Auth) MergeHashicorpVaultAgentAuth

func (t *HashicorpVaultConfig_Auth) MergeHashicorpVaultAgentAuth(v HashicorpVaultAgentAuth) error

MergeHashicorpVaultAgentAuth performs a merge with any union data inside the HashicorpVaultConfig_Auth, using the provided HashicorpVaultAgentAuth

func (*HashicorpVaultConfig_Auth) MergeHashicorpVaultAppRoleAuth

func (t *HashicorpVaultConfig_Auth) MergeHashicorpVaultAppRoleAuth(v HashicorpVaultAppRoleAuth) error

MergeHashicorpVaultAppRoleAuth performs a merge with any union data inside the HashicorpVaultConfig_Auth, using the provided HashicorpVaultAppRoleAuth

func (*HashicorpVaultConfig_Auth) MergeHashicorpVaultCertificateAuth

func (t *HashicorpVaultConfig_Auth) MergeHashicorpVaultCertificateAuth(v HashicorpVaultCertificateAuth) error

MergeHashicorpVaultCertificateAuth performs a merge with any union data inside the HashicorpVaultConfig_Auth, using the provided HashicorpVaultCertificateAuth

func (*HashicorpVaultConfig_Auth) UnmarshalJSON

func (t *HashicorpVaultConfig_Auth) UnmarshalJSON(b []byte) error

func (HashicorpVaultConfig_Auth) ValueByDiscriminator

func (t HashicorpVaultConfig_Auth) ValueByDiscriminator() (interface{}, error)

type HashicorpVaultMount

type HashicorpVaultMount struct {
	// Path Optional within this object. Mount path in Vault.
	Path *string `json:"path,omitempty"`

	// Type Optional within this object. Secret engine version: KV1 or KV2.
	Type *HashicorpVaultMountType `json:"type,omitempty"`
}

HashicorpVaultMount One Vault secret engine mount.

type HashicorpVaultMountType

type HashicorpVaultMountType string

HashicorpVaultMountType Optional within this object. Secret engine version: KV1 or KV2.

const (
	KV1 HashicorpVaultMountType = "KV1"
	KV2 HashicorpVaultMountType = "KV2"
)

Defines values for HashicorpVaultMountType.

func (HashicorpVaultMountType) Valid

func (e HashicorpVaultMountType) Valid() bool

Valid indicates whether the value is a known member of the HashicorpVaultMountType enum.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type HttpSsoConfiguration

type HttpSsoConfiguration struct {
	// AllowUserToAccessProfile Optional within this object. Whether proxied users may open their own profile.
	AllowUserToAccessProfile *bool `json:"allow_user_to_access_profile,omitempty"`

	// AutoCreateUser Optional within this object. Whether a first request from an unknown proxied user creates a local user.
	AutoCreateUser *bool `json:"auto_create_user,omitempty"`

	// HttpSsoProxied Optional within this object. Whether an authenticating reverse proxy passes the username in a request variable.
	HttpSsoProxied *bool `json:"http_sso_proxied,omitempty"`

	// RemoteUserRequestVariable Optional within this object. Header or request variable that carries the authenticated username.
	RemoteUserRequestVariable *string `json:"remote_user_request_variable,omitempty"`

	// SyncLdapGroups Optional within this object. Whether group memberships are read from LDAP for proxied users.
	SyncLdapGroups *bool `json:"sync_ldap_groups,omitempty"`
}

HttpSsoConfiguration HTTP single sign-on through an authenticating reverse proxy. Not supported.

type ImportAccessConfigurationResponse

type ImportAccessConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseImportAccessConfigurationResponse

func ParseImportAccessConfigurationResponse(rsp *http.Response) (*ImportAccessConfigurationResponse, error)

ParseImportAccessConfigurationResponse parses an HTTP response from a ImportAccessConfigurationWithResponse call

func (ImportAccessConfigurationResponse) ContentType

func (r ImportAccessConfigurationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ImportAccessConfigurationResponse) GetBody

GetBody returns the raw response body bytes

func (ImportAccessConfigurationResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ImportAccessConfigurationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ImportAccessConfigurationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ImportAccessConfigurationResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (ImportAccessConfigurationResponse) Status

Status returns HTTPResponse.Status

func (ImportAccessConfigurationResponse) StatusCode

func (r ImportAccessConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ImportLdapGroupsJSONRequestBody

type ImportLdapGroupsJSONRequestBody = LdapImport

ImportLdapGroupsJSONRequestBody defines body for ImportLdapGroups for application/json ContentType.

type ImportLdapGroupsResponse

type ImportLdapGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseImportLdapGroupsResponse

func ParseImportLdapGroupsResponse(rsp *http.Response) (*ImportLdapGroupsResponse, error)

ParseImportLdapGroupsResponse parses an HTTP response from a ImportLdapGroupsWithResponse call

func (ImportLdapGroupsResponse) ContentType

func (r ImportLdapGroupsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ImportLdapGroupsResponse) GetBody

func (r ImportLdapGroupsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ImportLdapGroupsResponse) GetJSON400

func (r ImportLdapGroupsResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ImportLdapGroupsResponse) GetJSON401

func (r ImportLdapGroupsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ImportLdapGroupsResponse) GetJSON403

func (r ImportLdapGroupsResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ImportLdapGroupsResponse) Status

func (r ImportLdapGroupsResponse) Status() string

Status returns HTTPResponse.Status

func (ImportLdapGroupsResponse) StatusCode

func (r ImportLdapGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LdapGroup

type LdapGroup struct {
	// Description Optional within this object. Description read through the setting's description_attribute.
	Description *string `json:"description,omitempty"`

	// GroupDn Optional within this object. Distinguished name of the group entry.
	GroupDn *string `json:"group_dn,omitempty"`

	// GroupName Optional within this object. Name of the group in LDAP, used as the local group name.
	GroupName *string `json:"group_name,omitempty"`

	// RequiredUpdate Optional within this object. Sync state of the LDAP group against the groups this instance already holds. DOES_NOT_EXIST: no group of this name exists yet, so import creates it; this is the value an import request normally carries. REQUIRES_UPDATE: a group of this name exists but its DN in LDAP has changed, so import refreshes it. IN_ARTIFACTORY: the group exists and matches LDAP, so import leaves it alone. Search fills it in; import reads it to choose between creating and updating.
	RequiredUpdate *LdapGroupRequiredUpdate `json:"required_update,omitempty"`
}

LdapGroup One group found by an LDAP group search.

type LdapGroupRequiredUpdate

type LdapGroupRequiredUpdate string

LdapGroupRequiredUpdate Optional within this object. Sync state of the LDAP group against the groups this instance already holds. DOES_NOT_EXIST: no group of this name exists yet, so import creates it; this is the value an import request normally carries. REQUIRES_UPDATE: a group of this name exists but its DN in LDAP has changed, so import refreshes it. IN_ARTIFACTORY: the group exists and matches LDAP, so import leaves it alone. Search fills it in; import reads it to choose between creating and updating.

const (
	DOESNOTEXIST   LdapGroupRequiredUpdate = "DOES_NOT_EXIST"
	INARTIFACTORY  LdapGroupRequiredUpdate = "IN_ARTIFACTORY"
	REQUIRESUPDATE LdapGroupRequiredUpdate = "REQUIRES_UPDATE"
)

Defines values for LdapGroupRequiredUpdate.

func (LdapGroupRequiredUpdate) Valid

func (e LdapGroupRequiredUpdate) Valid() bool

Valid indicates whether the value is a known member of the LdapGroupRequiredUpdate enum.

type LdapGroupSettings

type LdapGroupSettings struct {
	// DescriptionAttribute Optional within this object. Attribute copied into the local group's description.
	DescriptionAttribute *string `json:"description_attribute,omitempty"`

	// EnabledLdap Optional within this object. Key of the LDAP connection the groups are read from.
	EnabledLdap *string `json:"enabled_ldap,omitempty"`

	// Filter Optional within this object. LDAP filter that selects group entries, for example (objectClass=groupOfNames).
	Filter *string `json:"filter,omitempty"`

	// ForceAttributeSearch Optional within this object. Whether memberships are read from user attributes even when the strategy would not do so.
	ForceAttributeSearch *bool `json:"force_attribute_search,omitempty"`

	// GroupBaseDn Optional within this object. DN under which groups are searched, relative to the connection's base DN.
	GroupBaseDn *string `json:"group_base_dn,omitempty"`

	// GroupMemberAttribute Optional within this object. Attribute that lists a group's members, for example uniqueMember.
	GroupMemberAttribute *string `json:"group_member_attribute,omitempty"`

	// GroupNameAttribute Optional within this object. Attribute that holds a group's name, for example cn.
	GroupNameAttribute *string `json:"group_name_attribute,omitempty"`

	// Name Optional within this object. Unique name of the group setting.
	Name *string `json:"name,omitempty"`

	// Strategy Optional within this object. How memberships are resolved: STATIC (groups list their members), DYNAMIC (users list their groups) or HIERARCHY (the user's DN encodes the groups).
	Strategy *string `json:"strategy,omitempty"`

	// SubTree Optional within this object. Whether the group search descends into sub-trees of group_base_dn.
	SubTree *bool `json:"sub_tree,omitempty"`
}

LdapGroupSettings How groups are read from an LDAP connection and mapped to local groups.

type LdapGroupSettingsCreate

type LdapGroupSettingsCreate struct {
	// DescriptionAttribute Optional within this object. Attribute copied into the local group's description.
	DescriptionAttribute *string `json:"description_attribute,omitempty"`

	// EnabledLdap Required within this object. Key of the LDAP connection the groups are read from.
	EnabledLdap string `json:"enabled_ldap"`

	// Filter Optional within this object. LDAP filter that selects group entries, for example (objectClass=groupOfNames).
	Filter *string `json:"filter,omitempty"`

	// ForceAttributeSearch Optional within this object. Whether memberships are read from user attributes even when the strategy would not do so.
	ForceAttributeSearch *bool `json:"force_attribute_search,omitempty"`

	// GroupBaseDn Optional within this object. DN under which groups are searched, relative to the connection's base DN.
	GroupBaseDn *string `json:"group_base_dn,omitempty"`

	// GroupMemberAttribute Optional within this object. Attribute that lists a group's members, for example uniqueMember.
	GroupMemberAttribute *string `json:"group_member_attribute,omitempty"`

	// GroupNameAttribute Optional within this object. Attribute that holds a group's name, for example cn.
	GroupNameAttribute *string `json:"group_name_attribute,omitempty"`

	// Name Required within this object. Unique name of the group setting.
	Name string `json:"name"`

	// Strategy Optional within this object. How memberships are resolved: STATIC (groups list their members), DYNAMIC (users list their groups) or HIERARCHY (the user's DN encodes the groups).
	Strategy *string `json:"strategy,omitempty"`

	// SubTree Optional within this object. Whether the group search descends into sub-trees of group_base_dn.
	SubTree *bool `json:"sub_tree,omitempty"`
}

LdapGroupSettingsCreate A new LDAP group setting. Same fields as LdapGroupSettings; name and enabled_ldap are required.

type LdapImport

type LdapImport struct {
	// ImportGroups Optional within this object. Groups to create or update, as returned by the search operation.
	ImportGroups *[]LdapGroup `json:"import_groups,omitempty"`

	// LdapGroupSettings Optional within this object. Group setting the groups are read through.
	LdapGroupSettings *LdapGroupSettings `json:"ldap_group_settings,omitempty"`
}

LdapImport Which LDAP groups to import and through which group setting.

type LdapSearchPattern

type LdapSearchPattern struct {
	// ManagerDn Optional within this object. DN of the account the server binds as to run searches.
	ManagerDn *string `json:"manager_dn,omitempty"`

	// ManagerPassword Optional within this object. Password of manager_dn. Stored sealed (decision 0017) and never returned.
	ManagerPassword *string `json:"manager_password,omitempty"`

	// SearchBase Optional within this object. DN under which the search starts, relative to the connection's base DN. Empty searches from the base DN.
	SearchBase *string `json:"search_base,omitempty"`

	// SearchFilter Optional within this object. LDAP filter that selects the user's entry, with {0} standing for the username, for example (uid={0}).
	SearchFilter *string `json:"search_filter,omitempty"`

	// SearchSubTree Optional within this object. Whether the search descends into sub-trees of search_base.
	SearchSubTree *bool `json:"search_sub_tree,omitempty"`
}

LdapSearchPattern How a user's LDAP entry is searched for when user_dn_pattern is not enough.

type LdapSettings

type LdapSettings struct {
	// AllowUserToAccessProfile Optional within this object. Whether users created through this connection may open their own profile.
	AllowUserToAccessProfile *bool `json:"allow_user_to_access_profile,omitempty"`

	// AutoCreateUser Optional within this object. Whether a first successful login creates a local user.
	AutoCreateUser *bool `json:"auto_create_user,omitempty"`

	// EmailAttribute Optional within this object. Attribute that holds the user's email address, for example mail.
	EmailAttribute *string `json:"email_attribute,omitempty"`

	// Enabled Optional within this object. Whether logins are checked against this server.
	Enabled *bool `json:"enabled,omitempty"`

	// Key Optional within this object. Unique name of the connection.
	Key *string `json:"key,omitempty"`

	// LdapPoisoningProtection Optional within this object. Whether attributes returned by the server are checked to defend against LDAP response poisoning.
	LdapPoisoningProtection *bool `json:"ldap_poisoning_protection,omitempty"`

	// LdapUrl Optional within this object. Server URL including the base DN, for example ldap://ldap.example.com:389/dc=example,dc=com.
	LdapUrl *string `json:"ldap_url,omitempty"`

	// PagingSupportEnabled Optional within this object. Whether searches request paged results, for servers that cap result size.
	PagingSupportEnabled *bool `json:"paging_support_enabled,omitempty"`

	// Search Optional within this object. How to find a user's entry when user_dn_pattern is not set or does not match.
	Search *LdapSearchPattern `json:"search,omitempty"`

	// UserDnPattern Optional within this object. Pattern that builds a user's DN from the username, with {0} standing for the username, for example uid={0},ou=people.
	UserDnPattern *string `json:"user_dn_pattern,omitempty"`
}

LdapSettings One LDAP server connection used to authenticate users. manager_password is never returned.

type LdapSettingsCreate

type LdapSettingsCreate struct {
	// AllowUserToAccessProfile Optional within this object. Whether users created through this connection may open their own profile.
	AllowUserToAccessProfile *bool `json:"allow_user_to_access_profile,omitempty"`

	// AutoCreateUser Optional within this object. Whether a first successful login creates a local user.
	AutoCreateUser *bool `json:"auto_create_user,omitempty"`

	// EmailAttribute Optional within this object. Attribute that holds the user's email address, for example mail.
	EmailAttribute *string `json:"email_attribute,omitempty"`

	// Enabled Optional within this object. Whether logins are checked against this server. Defaults to true.
	Enabled *bool `json:"enabled,omitempty"`

	// Key Required within this object. Unique name of the connection.
	Key string `json:"key"`

	// LdapPoisoningProtection Optional within this object. Whether attributes returned by the server are checked to defend against LDAP response poisoning.
	LdapPoisoningProtection *bool `json:"ldap_poisoning_protection,omitempty"`

	// LdapUrl Required within this object. Server URL including the base DN, for example ldap://ldap.example.com:389/dc=example,dc=com.
	LdapUrl string `json:"ldap_url"`

	// PagingSupportEnabled Optional within this object. Whether searches request paged results, for servers that cap result size.
	PagingSupportEnabled *bool `json:"paging_support_enabled,omitempty"`

	// Search Optional within this object. How to find a user's entry when user_dn_pattern is not set or does not match.
	Search *LdapSearchPattern `json:"search,omitempty"`

	// UserDnPattern Optional within this object. Pattern that builds a user's DN from the username, with {0} standing for the username, for example uid={0},ou=people.
	UserDnPattern *string `json:"user_dn_pattern,omitempty"`
}

LdapSettingsCreate A new LDAP connection. Same fields as LdapSettings; key and ldap_url are required.

type OidcConfiguration

type OidcConfiguration struct {
	// Audience Optional within this object. When set, ID tokens must carry this value in aud.
	Audience *string `json:"audience,omitempty"`

	// AzureAppId Optional within this object. For Azure providers, the application ID the tokens are issued for.
	AzureAppId *string `json:"azure_app_id,omitempty"`

	// Description Optional within this object. Free text for administrators.
	Description *string `json:"description,omitempty"`

	// EnablePermissiveConfiguration Optional within this object. Applies to the GitHub provider type only. When false, organization is mandatory and only tokens issued for that GitHub organization are accepted; when true, the organization restriction is lifted and any repository on the issuer can obtain a token that a mapping's claims allow. For the other provider types the flag is stored and returned but has no effect. Defaults to false; enabling it widens who can authenticate.
	EnablePermissiveConfiguration *bool `json:"enable_permissive_configuration,omitempty"`

	// IssuerUrl Optional within this object. Issuer that ID tokens must carry in iss. The provider's signing keys are discovered from this URL.
	IssuerUrl *string `json:"issuer_url,omitempty"`

	// Name Optional within this object. Unique provider name; token exchanges refer to it as provider_name.
	Name *string `json:"name,omitempty"`

	// Organization Optional within this object. GitHub organization the tokens must come from, compared case-sensitively. Mandatory for the GitHub provider type unless enable_permissive_configuration is true. For GitHub Enterprise it is accepted and kept as the token issuer. Rejected for the generic and Azure types.
	Organization *string `json:"organization,omitempty"`

	// ProjectKey Optional within this object. Project the provider belongs to. Omitted or empty means a global provider.
	ProjectKey *string `json:"project_key,omitempty"`

	// ProviderType Optional within this object. Kind of identity provider, in the Access vocabulary: `Generic OpenID Connect`, `GitHub`, `GitHub Enterprise` or `Azure`. Generic covers any other OpenID Connect issuer, such as GitLab, Jenkins or Okta. The lower-case short names `generic`, `github`, `github enterprise` and `azure` are also accepted in any case; the server stores and returns the canonical form.
	ProviderType *string `json:"provider_type,omitempty"`

	// TokenIssuer Optional within this object. For GitHub providers, the organisation or enterprise that issues the tokens.
	TokenIssuer *string `json:"token_issuer,omitempty"`

	// UseDefaultProxy Optional within this object. Whether fetching the issuer's signing keys goes through the default proxy.
	UseDefaultProxy *bool `json:"use_default_proxy,omitempty"`
}

OidcConfiguration An external OpenID Connect identity provider whose ID tokens may be exchanged for access tokens.

type OidcIdentityMapping

type OidcIdentityMapping struct {
	// Claims Optional within this object. Claims an ID token must carry, as an object of claim name to expected value. Every listed claim must match.
	Claims *map[string]interface{} `json:"claims,omitempty"`

	// Description Optional within this object. Free text for administrators.
	Description *string `json:"description,omitempty"`

	// Name Optional within this object. Unique name of the mapping within its provider.
	Name *string `json:"name,omitempty"`

	// Priority Optional within this object. Evaluation order among a provider's mappings: lower numbers are tried first, starting at 1, and a mapping without a priority is tried last. When the token exchange names a project_key, mappings scoped to that project are tried before global ones whatever their numbers, and other projects' mappings are not tried; without a project_key every mapping competes on its priority alone. Equal priorities go to the mapping created first. The first mapping whose claims match the presented token produces the access token, so the most restrictive mapping should carry priority 1.
	Priority *int `json:"priority,omitempty"`

	// TokenSpec Optional within this object. Shape of the access token issued when this mapping matches.
	TokenSpec *TokenSpec `json:"token_spec,omitempty"`
}

OidcIdentityMapping A rule that turns a matching ID token into an access token of a given shape.

type OidcIdentityMappingResponse

type OidcIdentityMappingResponse struct {
	// Claims Optional within this object. Claims an ID token must carry, as an object of claim name to expected value. Every listed claim must match.
	Claims *map[string]interface{} `json:"claims,omitempty"`

	// Description Optional within this object. Free text for administrators.
	Description *string `json:"description,omitempty"`

	// Name Optional within this object. Unique name of the mapping within its provider.
	Name *string `json:"name,omitempty"`

	// Priority Optional within this object. Evaluation order among a provider's mappings: lower numbers are tried first, starting at 1, and a mapping without a priority is tried last. When the token exchange names a project_key, mappings scoped to that project are tried before global ones whatever their numbers, and other projects' mappings are not tried; without a project_key every mapping competes on its priority alone. Equal priorities go to the mapping created first. The first mapping whose claims match the presented token produces the access token, so the most restrictive mapping should carry priority 1.
	Priority *int `json:"priority,omitempty"`

	// ProjectKey Optional within this object. Project the mapping belongs to, derived from the project roles in token_spec.scope, which name one project at most. Set by the server.
	ProjectKey *string `json:"project_key,omitempty"`

	// TokenSpec Optional within this object. Shape of the access token issued when this mapping matches.
	TokenSpec *TokenSpec `json:"token_spec,omitempty"`
}

OidcIdentityMappingResponse A stored identity mapping, with the project it belongs to.

type OidcTokenExchangeJSONRequestBody

type OidcTokenExchangeJSONRequestBody = OidcTokenExchangeRequest

OidcTokenExchangeJSONRequestBody defines body for OidcTokenExchange for application/json ContentType.

type OidcTokenExchangeRequest

type OidcTokenExchangeRequest struct {
	// ApplicationKey Optional within this object. AppTrust application key. Accepted and ignored.
	ApplicationKey *string `json:"application_key,omitempty"`

	// Audience Optional within this object. The audience the caller requested the ID token for. Accepted and ignored; the provider's configured audience decides which tokens verify.
	Audience *string `json:"audience,omitempty"`

	// Branch Optional within this object. Source branch of the CI run, recorded with the issued token for auditing.
	Branch *string `json:"branch,omitempty"`

	// GrantType Optional within this object. Must be urn:ietf:params:oauth:grant-type:token-exchange.
	GrantType *string `json:"grant_type,omitempty"`

	// IdentityMappingName Optional within this object. Restricts matching to the named mapping instead of trying every mapping of the provider.
	IdentityMappingName *string `json:"identity_mapping_name,omitempty"`

	// IncludeReferenceToken Optional within this object. Whether the response also carries a reference token for the issued token.
	IncludeReferenceToken *bool `json:"include_reference_token,omitempty"`

	// JobId Optional within this object. Identifier of the CI job, recorded with the issued token for auditing.
	JobId *string `json:"job_id,omitempty"`

	// ProjectKey Optional within this object. Tries this project's mappings before global ones and skips other projects' mappings. Omitted, every mapping of the provider competes. The issued token belongs to the project of the mapping that matched, if it has one.
	ProjectKey *string `json:"project_key,omitempty"`

	// ProviderName Optional within this object. Registered provider that issued subject_token.
	ProviderName *string `json:"provider_name,omitempty"`

	// ProviderType Optional within this object. Kind of provider, as in its configuration. The stored configuration takes precedence.
	ProviderType *string `json:"provider_type,omitempty"`

	// Repo Optional within this object. Source repository of the CI run, recorded with the issued token for auditing.
	Repo *string `json:"repo,omitempty"`

	// Revision Optional within this object. Source revision of the CI run, recorded with the issued token for auditing.
	Revision *string `json:"revision,omitempty"`

	// RunId Optional within this object. Identifier of the CI run, recorded with the issued token for auditing.
	RunId *string `json:"run_id,omitempty"`

	// SubjectToken Optional within this object. The ID token issued by the provider. It is this request's credential and is never stored.
	SubjectToken *string `json:"subject_token,omitempty"`

	// SubjectTokenType Optional within this object. Must be urn:ietf:params:oauth:token-type:id_token.
	SubjectTokenType *string `json:"subject_token_type,omitempty"`
}

OidcTokenExchangeRequest An RFC 8693 token exchange request carrying a provider's ID token.

type OidcTokenExchangeResponse

type OidcTokenExchangeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OidcTokenExchangeResult
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseOidcTokenExchangeResponse

func ParseOidcTokenExchangeResponse(rsp *http.Response) (*OidcTokenExchangeResponse, error)

ParseOidcTokenExchangeResponse parses an HTTP response from a OidcTokenExchangeWithResponse call

func (OidcTokenExchangeResponse) ContentType

func (r OidcTokenExchangeResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OidcTokenExchangeResponse) GetBody

func (r OidcTokenExchangeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (OidcTokenExchangeResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OidcTokenExchangeResponse) GetJSON400

func (r OidcTokenExchangeResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (OidcTokenExchangeResponse) GetJSON401

func (r OidcTokenExchangeResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (OidcTokenExchangeResponse) Status

func (r OidcTokenExchangeResponse) Status() string

Status returns HTTPResponse.Status

func (OidcTokenExchangeResponse) StatusCode

func (r OidcTokenExchangeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type OidcTokenExchangeResult

type OidcTokenExchangeResult struct {
	// AccessToken Optional within this object. The issued access token.
	AccessToken *string `json:"access_token,omitempty"`

	// ExpiresIn Optional within this object. Lifetime of the issued token in seconds.
	ExpiresIn *int `json:"expires_in,omitempty"`

	// IssuedTokenType Optional within this object. RFC 8693 type of the issued token, the access token URN.
	IssuedTokenType *string `json:"issued_token_type,omitempty"`

	// ReferenceToken Optional within this object. Reference token for the issued token. Present only when include_reference_token was true.
	ReferenceToken *string `json:"reference_token,omitempty"`

	// Scope Optional within this object. Scope of the issued token.
	Scope *string `json:"scope,omitempty"`

	// TokenType Optional within this object. Always Bearer.
	TokenType *string `json:"token_type,omitempty"`

	// Username Optional within this object. Username the mapping produced for the token's subject. A mapping without a username issues its token for a synthetic subject, oidc-<provider>-<mapping>, which is never a stored user and acts through the groups or project roles of its scope alone.
	Username *string `json:"username,omitempty"`
}

OidcTokenExchangeResult The access token issued by a successful exchange.

type PasswordPolicy

type PasswordPolicy struct {
	// Digit Optional within this object. Minimum number of digits. 0 means no requirement.
	Digit *int `json:"digit,omitempty"`

	// Length Optional within this object. Minimum password length in characters.
	Length *int `json:"length,omitempty"`

	// Lowercase Optional within this object. Minimum number of lower-case letters. 0 means no requirement.
	Lowercase *int `json:"lowercase,omitempty"`

	// NotMatchOld Optional within this object. Whether a new password must differ from the user's current one.
	NotMatchOld *bool `json:"not_match_old,omitempty"`

	// SpecialChar Optional within this object. Minimum number of characters that are neither letters nor digits. 0 means no requirement.
	SpecialChar *int `json:"special_char,omitempty"`

	// Uppercase Optional within this object. Minimum number of upper-case letters. 0 means no requirement.
	Uppercase *int `json:"uppercase,omitempty"`
}

PasswordPolicy Complexity rules for internal users' passwords. On PATCH an omitted field keeps its current value; on PUT it returns to its default.

type PatchScimGroupApplicationScimPlusJSONRequestBody

type PatchScimGroupApplicationScimPlusJSONRequestBody = ScimResource

PatchScimGroupApplicationScimPlusJSONRequestBody defines body for PatchScimGroup for application/scim+json ContentType.

type PatchScimGroupResponse

type PatchScimGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationscimJSON200 the response for an HTTP 200 `application/scim+json` response
	ApplicationscimJSON200 *ScimResource
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParsePatchScimGroupResponse

func ParsePatchScimGroupResponse(rsp *http.Response) (*PatchScimGroupResponse, error)

ParsePatchScimGroupResponse parses an HTTP response from a PatchScimGroupWithResponse call

func (PatchScimGroupResponse) ContentType

func (r PatchScimGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchScimGroupResponse) GetApplicationscimJSON200

func (r PatchScimGroupResponse) GetApplicationscimJSON200() *ScimResource

GetApplicationscimJSON200 returns the response for an HTTP 200 `application/scim+json` response

func (PatchScimGroupResponse) GetBody

func (r PatchScimGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchScimGroupResponse) GetJSON400

func (r PatchScimGroupResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchScimGroupResponse) GetJSON401

func (r PatchScimGroupResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchScimGroupResponse) GetJSON404

func (r PatchScimGroupResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchScimGroupResponse) GetJSON501

func (r PatchScimGroupResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (PatchScimGroupResponse) Status

func (r PatchScimGroupResponse) Status() string

Status returns HTTPResponse.Status

func (PatchScimGroupResponse) StatusCode

func (r PatchScimGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchScimUserApplicationScimPlusJSONRequestBody

type PatchScimUserApplicationScimPlusJSONRequestBody = ScimResource

PatchScimUserApplicationScimPlusJSONRequestBody defines body for PatchScimUser for application/scim+json ContentType.

type PatchScimUserResponse

type PatchScimUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationscimJSON200 the response for an HTTP 200 `application/scim+json` response
	ApplicationscimJSON200 *ScimResource
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParsePatchScimUserResponse

func ParsePatchScimUserResponse(rsp *http.Response) (*PatchScimUserResponse, error)

ParsePatchScimUserResponse parses an HTTP response from a PatchScimUserWithResponse call

func (PatchScimUserResponse) ContentType

func (r PatchScimUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchScimUserResponse) GetApplicationscimJSON200

func (r PatchScimUserResponse) GetApplicationscimJSON200() *ScimResource

GetApplicationscimJSON200 returns the response for an HTTP 200 `application/scim+json` response

func (PatchScimUserResponse) GetBody

func (r PatchScimUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchScimUserResponse) GetJSON400

func (r PatchScimUserResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchScimUserResponse) GetJSON401

func (r PatchScimUserResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchScimUserResponse) GetJSON404

func (r PatchScimUserResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchScimUserResponse) GetJSON501

func (r PatchScimUserResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (PatchScimUserResponse) Status

func (r PatchScimUserResponse) Status() string

Status returns HTTPResponse.Status

func (PatchScimUserResponse) StatusCode

func (r PatchScimUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatternFilter

type PatternFilter struct {
	// ExcludePatterns Optional within this object. Patterns that remove matching names after the include patterns are applied. Exclusion wins over inclusion.
	ExcludePatterns *[]string `json:"exclude_patterns,omitempty"`

	// IncludePatterns Optional within this object. Patterns an entity name must match to be federated. Empty or omitted means every name.
	IncludePatterns *[]string `json:"include_patterns,omitempty"`
}

PatternFilter Ant-style include and exclude patterns that narrow which named entities a federation target receives. An entity is sent when it matches at least one include pattern (all entities when include_patterns is empty) and no exclude pattern.

type Patterns

type Patterns struct {
	// ExcludePatterns Optional within this object. Patterns to exclude after inclusion.
	ExcludePatterns *[]string `json:"exclude_patterns,omitempty"`

	// IncludePatterns Optional within this object. Patterns to include; omitted or empty means all paths. Each at most 1024 characters.
	IncludePatterns *[]string `json:"include_patterns,omitempty"`
}

Patterns Ant-style path patterns that scope a target. Paths matching any include pattern and no exclude pattern are covered.

type PermissionCreateRequest

type PermissionCreateRequest struct {
	// Description Optional within this object. Free text for administrators.
	Description *string `json:"description,omitempty"`

	// Name Required within this object. Unique name, at most 64 characters.
	Name string `json:"name"`

	// Resources Optional within this object. One section per resource type. A permission with no sections grants nothing. destination and pipeline_source sections are also accepted, stored and echoed without effect.
	Resources *struct {
		// Artifact Optional within this object. The grants for one resource type: which principals get which actions on which targets. Targets are repository keys (artifact), the build-info repository (build, exactly one target) or release bundle repositories, plus the special keys ANY, ANY LOCAL, ANY REMOTE and ANY DISTRIBUTION for artifact. ANY REMOTE also covers the remote repositories' caches.
		Artifact *PermissionResource `json:"artifact,omitempty"`

		// Build Optional within this object. The grants for one resource type: which principals get which actions on which targets. Targets are repository keys (artifact), the build-info repository (build, exactly one target) or release bundle repositories, plus the special keys ANY, ANY LOCAL, ANY REMOTE and ANY DISTRIBUTION for artifact. ANY REMOTE also covers the remote repositories' caches.
		Build *PermissionResource `json:"build,omitempty"`

		// ReleaseBundle Optional within this object. The grants for one resource type: which principals get which actions on which targets. Targets are repository keys (artifact), the build-info repository (build, exactly one target) or release bundle repositories, plus the special keys ANY, ANY LOCAL, ANY REMOTE and ANY DISTRIBUTION for artifact. ANY REMOTE also covers the remote repositories' caches.
		ReleaseBundle *PermissionResource `json:"release_bundle,omitempty"`
	} `json:"resources,omitempty"`
}

PermissionCreateRequest A new permission in the Access v2 model.

type PermissionDetails

type PermissionDetails struct {
	// Name Required within this object. The permission name.
	Name string `json:"name"`

	// Resources Required within this object. The sections that exist on this permission.
	Resources struct {
		// Artifact Optional within this object. The grants for one resource type: which principals get which actions on which targets. Targets are repository keys (artifact), the build-info repository (build, exactly one target) or release bundle repositories, plus the special keys ANY, ANY LOCAL, ANY REMOTE and ANY DISTRIBUTION for artifact. ANY REMOTE also covers the remote repositories' caches.
		Artifact *PermissionResource `json:"artifact,omitempty"`

		// Build Optional within this object. The grants for one resource type: which principals get which actions on which targets. Targets are repository keys (artifact), the build-info repository (build, exactly one target) or release bundle repositories, plus the special keys ANY, ANY LOCAL, ANY REMOTE and ANY DISTRIBUTION for artifact. ANY REMOTE also covers the remote repositories' caches.
		Build *PermissionResource `json:"build,omitempty"`

		// ReleaseBundle Optional within this object. The grants for one resource type: which principals get which actions on which targets. Targets are repository keys (artifact), the build-info repository (build, exactly one target) or release bundle repositories, plus the special keys ANY, ANY LOCAL, ANY REMOTE and ANY DISTRIBUTION for artifact. ANY REMOTE also covers the remote repositories' caches.
		ReleaseBundle *PermissionResource `json:"release_bundle,omitempty"`
	} `json:"resources"`
}

PermissionDetails A stored permission.

type PermissionListResponse

type PermissionListResponse struct {
	// Cursor Optional within this object. Present only when more permissions remain.
	Cursor *string `json:"cursor,omitempty"`

	// Permissions Required within this object. Name and uri per permission, possibly empty.
	Permissions []struct {
		// Name Required within this object. The permission name.
		Name string `json:"name"`

		// Uri Required within this object. Absolute URL of the permission resource.
		Uri string `json:"uri"`
	} `json:"permissions"`
}

PermissionListResponse One page of the permission listing without expand.

type PermissionName

type PermissionName = string

PermissionName defines model for permissionName.

type PermissionResource

type PermissionResource struct {
	// Actions Optional within this object. Actions granted per principal. Values are upper-case action names: READ, ANNOTATE, WRITE, DELETE, MANAGE, SCAN and, for release bundles, EXECUTE. These map one to one onto the legacy codes r, n, w, d, m, mxm and x. DELETE implies the ability to overwrite.
	Actions *Actions `json:"actions,omitempty"`

	// Targets Optional within this object. Map from target key to its include and exclude patterns. A target without patterns means include everything.
	Targets *map[string]Patterns `json:"targets,omitempty"`
}

PermissionResource The grants for one resource type: which principals get which actions on which targets. Targets are repository keys (artifact), the build-info repository (build, exactly one target) or release bundle repositories, plus the special keys ANY, ANY LOCAL, ANY REMOTE and ANY DISTRIBUTION for artifact. ANY REMOTE also covers the remote repositories' caches.

type PermissionResourceUpdate

type PermissionResourceUpdate struct {
	// Actions Optional within this object. Actions granted per principal. Values are upper-case action names: READ, ANNOTATE, WRITE, DELETE, MANAGE, SCAN and, for release bundles, EXECUTE. These map one to one onto the legacy codes r, n, w, d, m, mxm and x. DELETE implies the ability to overwrite.
	Actions *Actions `json:"actions,omitempty"`

	// Targets Optional within this object. Targets to add or replace by key.
	Targets *map[string]Patterns `json:"targets,omitempty"`
}

PermissionResourceUpdate Entries to merge into a resource section; shape as PermissionResource, every part optional.

type Project

type Project struct {
	// AdminPrivileges Optional within this object. The project admin privileges in effect, granular flags resolved.
	AdminPrivileges *struct {
		// CreateLocalRepository Optional within this object. Granular flag: project admins may create local repositories. Defaults to true when any granular flag is set on create.
		CreateLocalRepository *bool `json:"create_local_repository,omitempty"`

		// CreateRemoteRepository Optional within this object. Granular flag: project admins may create remote repositories. Defaults to true when any granular flag is set on create.
		CreateRemoteRepository *bool `json:"create_remote_repository,omitempty"`

		// CreateVirtualRepository Optional within this object. Granular flag: project admins may create virtual repositories. Defaults to true when any granular flag is set on create.
		CreateVirtualRepository *bool `json:"create_virtual_repository,omitempty"`

		// DeleteLocalRepository Optional within this object. Granular flag: project admins may delete local repositories. Defaults to true when any granular flag is set on create.
		DeleteLocalRepository *bool `json:"delete_local_repository,omitempty"`

		// DeleteRemoteRepository Optional within this object. Granular flag: project admins may delete remote repositories. Defaults to true when any granular flag is set on create.
		DeleteRemoteRepository *bool `json:"delete_remote_repository,omitempty"`

		// DeleteVirtualRepository Optional within this object. Granular flag: project admins may delete virtual repositories. Defaults to true when any granular flag is set on create.
		DeleteVirtualRepository *bool `json:"delete_virtual_repository,omitempty"`

		// IndexResources Optional within this object. Project admins may mark the project's resources for indexing. Stored and echoed; no effect. Defaults to true.
		IndexResources *bool `json:"index_resources,omitempty"`

		// ManageMembers Optional within this object. Project admins may add and remove members and change their roles. Defaults to true.
		ManageMembers *bool `json:"manage_members,omitempty"`

		// ManageRemoteRepository Optional within this object. Legacy flag. When no granular flag is set it controls creating and deleting remote repositories. Defaults to true.
		ManageRemoteRepository *bool `json:"manage_remote_repository,omitempty"`

		// ManageResources Optional within this object. Legacy flag. When no granular flag is set it controls creating and deleting local and virtual repositories. Defaults to true.
		ManageResources *bool `json:"manage_resources,omitempty"`
	} `json:"admin_privileges,omitempty"`

	// Description Optional within this object. The description.
	Description *string `json:"description,omitempty"`

	// DisplayName Optional within this object. The display name.
	DisplayName *string `json:"display_name,omitempty"`

	// ProjectKey Optional within this object. The project key.
	ProjectKey *string `json:"project_key,omitempty"`

	// SoftLimit Optional within this object. Whether the quota only warns.
	SoftLimit *bool `json:"soft_limit,omitempty"`

	// StorageQuotaBytes Optional within this object. The quota in bytes; -1 when unlimited.
	StorageQuotaBytes *int `json:"storage_quota_bytes,omitempty"`

	// StorageQuotaEmailNotification Optional within this object. Whether quota warnings are emailed.
	StorageQuotaEmailNotification *bool `json:"storage_quota_email_notification,omitempty"`
}

Project A project as the server returns it.

type ProjectCreateRequest

type ProjectCreateRequest struct {
	// AdminPrivileges Optional within this object. What project admins may do in this project. Two forms exist: the legacy flags (manage_resources, manage_remote_repository) and six granular repository flags. When none of the six granular flags is set, the legacy flags decide them; when at least one is set, the legacy repository mapping is ignored and each granular flag applies on its own. Omitted grants everything.
	AdminPrivileges *struct {
		// CreateLocalRepository Optional within this object. Granular flag: project admins may create local repositories. Defaults to true when any granular flag is set on create.
		CreateLocalRepository *bool `json:"create_local_repository,omitempty"`

		// CreateRemoteRepository Optional within this object. Granular flag: project admins may create remote repositories. Defaults to true when any granular flag is set on create.
		CreateRemoteRepository *bool `json:"create_remote_repository,omitempty"`

		// CreateVirtualRepository Optional within this object. Granular flag: project admins may create virtual repositories. Defaults to true when any granular flag is set on create.
		CreateVirtualRepository *bool `json:"create_virtual_repository,omitempty"`

		// DeleteLocalRepository Optional within this object. Granular flag: project admins may delete local repositories. Defaults to true when any granular flag is set on create.
		DeleteLocalRepository *bool `json:"delete_local_repository,omitempty"`

		// DeleteRemoteRepository Optional within this object. Granular flag: project admins may delete remote repositories. Defaults to true when any granular flag is set on create.
		DeleteRemoteRepository *bool `json:"delete_remote_repository,omitempty"`

		// DeleteVirtualRepository Optional within this object. Granular flag: project admins may delete virtual repositories. Defaults to true when any granular flag is set on create.
		DeleteVirtualRepository *bool `json:"delete_virtual_repository,omitempty"`

		// IndexResources Optional within this object. Project admins may mark the project's resources for indexing. Stored and echoed; no effect. Defaults to true.
		IndexResources *bool `json:"index_resources,omitempty"`

		// ManageMembers Optional within this object. Project admins may add and remove members and change their roles. Defaults to true.
		ManageMembers *bool `json:"manage_members,omitempty"`

		// ManageRemoteRepository Optional within this object. Legacy flag. When no granular flag is set it controls creating and deleting remote repositories. Defaults to true.
		ManageRemoteRepository *bool `json:"manage_remote_repository,omitempty"`

		// ManageResources Optional within this object. Legacy flag. When no granular flag is set it controls creating and deleting local and virtual repositories. Defaults to true.
		ManageResources *bool `json:"manage_resources,omitempty"`
	} `json:"admin_privileges,omitempty"`

	// Description Optional within this object. Free text describing the project.
	Description *string `json:"description,omitempty"`

	// DisplayName Required within this object. Human-readable project name, unique on the server.
	DisplayName string `json:"display_name"`

	// ProjectKey Required within this object. Project key: 2 to 32 characters, lower-case letters, digits and hyphens, starting with a letter. Immutable. Repositories created in the project carry it as a prefix (<project_key>-...), and its build-info repository is <project_key>-build-info.
	ProjectKey string `json:"project_key"`

	// SoftLimit Optional within this object. When true the quota only warns: deployments continue past 100 percent. Defaults to false, which refuses deployments once the quota is reached.
	SoftLimit *bool `json:"soft_limit,omitempty"`

	// StorageQuotaBytes Optional within this object. Storage quota in bytes for everything stored in the project's repositories. -1 or omitted means unlimited. Deployments warn at 75 percent of the quota and are refused at 100 percent unless soft_limit is true.
	StorageQuotaBytes *int `json:"storage_quota_bytes,omitempty"`

	// StorageQuotaEmailNotification Optional within this object. When true, project admins are emailed when usage passes the warning threshold. Defaults to false.
	StorageQuotaEmailNotification *bool `json:"storage_quota_email_notification,omitempty"`
}

ProjectCreateRequest Body for creating a project.

type ProjectGroup

type ProjectGroup struct {
	// Name Optional within this object. Group name.
	Name *string `json:"name,omitempty"`

	// Roles Optional within this object. Project roles the group holds.
	Roles *[]string `json:"roles,omitempty"`
}

ProjectGroup A group's membership in a project.

type ProjectGroupUpdate

type ProjectGroupUpdate struct {
	// Roles Optional within this object. Names of the project roles held, predefined or custom. Replaces the current list. At least one role.
	Roles *[]string `json:"roles,omitempty"`
}

ProjectGroupUpdate Body for adding a group to a project or replacing its project roles.

type ProjectKey

type ProjectKey = string

ProjectKey defines model for projectKey.

type ProjectRole

type ProjectRole struct {
	// Actions Optional within this object. Actions the role grants.
	Actions *[]string `json:"actions,omitempty"`

	// Description Optional within this object. Free text describing the role.
	Description *string `json:"description,omitempty"`

	// Environments Optional within this object. Environments the role's repository actions apply to.
	Environments *[]string `json:"environments,omitempty"`

	// Name Optional within this object. Role name, unique within the project.
	Name *string `json:"name,omitempty"`

	// Type Optional within this object. PREDEFINED for the built-in project roles (Project Admin, Developer, Contributor, Viewer, Release Manager, Security Manager, Application Admin), CUSTOM for a role defined in this project, CUSTOM_GLOBAL for a global custom role made available in the project.
	Type *ProjectRoleType `json:"type,omitempty"`
}

ProjectRole A role available in a project: a named set of actions limited to environments.

type ProjectRoleCreate

type ProjectRoleCreate struct {
	// Actions Optional within this object. Actions the role grants. Project roles use the 32 project actions: READ_REPOSITORY, ANNOTATE_REPOSITORY, DEPLOY_CACHE_REPOSITORY, DELETE_OVERWRITE_REPOSITORY, MANAGE_XRAY_MD_REPOSITORY, READ_RELEASE_BUNDLE, ANNOTATE_RELEASE_BUNDLE, CREATE_RELEASE_BUNDLE, DISTRIBUTE_RELEASE_BUNDLE, DELETE_RELEASE_BUNDLE, MANAGE_XRAY_MD_RELEASE_BUNDLE, READ_BUILD, ANNOTATE_BUILD, DEPLOY_BUILD, DELETE_BUILD, MANAGE_XRAY_MD_BUILD, READ_SOURCES_PIPELINE, TRIGGER_PIPELINE, READ_INTEGRATIONS_PIPELINE, READ_POOLS_PIPELINE, MANAGE_INTEGRATIONS_PIPELINE, MANAGE_SOURCES_PIPELINE, MANAGE_POOLS_PIPELINE, REPORTS_SECURITY, WATCHES_SECURITY, POLICIES_SECURITY, RULES_SECURITY, TRIGGER_SECURITY, ISSUES_SECURITY, LICENCES_SECURITY, MANAGE_MEMBERS and MANAGE_RESOURCES. READ_POLICIES_SECURITY is a global-role action and is rejected here. Pipeline and security actions are stored and echoed but grant nothing.
	Actions *[]string `json:"actions,omitempty"`

	// Description Optional within this object. Free text describing the role.
	Description *string `json:"description,omitempty"`

	// Environments Optional within this object. Environments the role's repository actions apply to, for example DEV or PROD. A member holding the role gets its actions only on repositories in these environments.
	Environments *[]string `json:"environments,omitempty"`

	// Name Required within this object. Role name, unique within the project. Immutable; it is the {role} path parameter afterwards.
	Name string `json:"name"`

	// Type Required within this object. Must be CUSTOM.
	Type string `json:"type"`
}

ProjectRoleCreate Body for creating a custom project role.

type ProjectRoleType

type ProjectRoleType string

ProjectRoleType Optional within this object. PREDEFINED for the built-in project roles (Project Admin, Developer, Contributor, Viewer, Release Manager, Security Manager, Application Admin), CUSTOM for a role defined in this project, CUSTOM_GLOBAL for a global custom role made available in the project.

const (
	ProjectRoleTypeCUSTOM       ProjectRoleType = "CUSTOM"
	ProjectRoleTypeCUSTOMGLOBAL ProjectRoleType = "CUSTOM_GLOBAL"
	ProjectRoleTypePREDEFINED   ProjectRoleType = "PREDEFINED"
)

Defines values for ProjectRoleType.

func (ProjectRoleType) Valid

func (e ProjectRoleType) Valid() bool

Valid indicates whether the value is a known member of the ProjectRoleType enum.

type ProjectRoleUpdate

type ProjectRoleUpdate struct {
	// Actions Optional within this object. Actions the role grants. Project roles use the 32 project actions: READ_REPOSITORY, ANNOTATE_REPOSITORY, DEPLOY_CACHE_REPOSITORY, DELETE_OVERWRITE_REPOSITORY, MANAGE_XRAY_MD_REPOSITORY, READ_RELEASE_BUNDLE, ANNOTATE_RELEASE_BUNDLE, CREATE_RELEASE_BUNDLE, DISTRIBUTE_RELEASE_BUNDLE, DELETE_RELEASE_BUNDLE, MANAGE_XRAY_MD_RELEASE_BUNDLE, READ_BUILD, ANNOTATE_BUILD, DEPLOY_BUILD, DELETE_BUILD, MANAGE_XRAY_MD_BUILD, READ_SOURCES_PIPELINE, TRIGGER_PIPELINE, READ_INTEGRATIONS_PIPELINE, READ_POOLS_PIPELINE, MANAGE_INTEGRATIONS_PIPELINE, MANAGE_SOURCES_PIPELINE, MANAGE_POOLS_PIPELINE, REPORTS_SECURITY, WATCHES_SECURITY, POLICIES_SECURITY, RULES_SECURITY, TRIGGER_SECURITY, ISSUES_SECURITY, LICENCES_SECURITY, MANAGE_MEMBERS and MANAGE_RESOURCES. READ_POLICIES_SECURITY is a global-role action and is rejected here. Pipeline and security actions are stored and echoed but grant nothing.
	Actions *[]string `json:"actions,omitempty"`

	// Description Optional within this object. Free text describing the role.
	Description *string `json:"description,omitempty"`

	// Environments Optional within this object. Environments the role's repository actions apply to, for example DEV or PROD. A member holding the role gets its actions only on repositories in these environments.
	Environments *[]string `json:"environments,omitempty"`

	// Type Required within this object. Must be CUSTOM; predefined and global roles cannot be changed through a project.
	Type string `json:"type"`
}

ProjectRoleUpdate Body for replacing a custom project role. Only CUSTOM roles can be changed.

type ProjectUpdateRequest

type ProjectUpdateRequest struct {
	// AdminPrivileges Optional within this object. What project admins may do in this project. Two forms exist: the legacy flags (manage_resources, manage_remote_repository) and six granular repository flags. When none of the six granular flags is set, the legacy flags decide them; when at least one is set, the legacy repository mapping is ignored and each granular flag applies on its own. Granular flags omitted on update keep their stored values.
	AdminPrivileges *struct {
		// CreateLocalRepository Optional within this object. Granular flag: project admins may create local repositories. Defaults to true when any granular flag is set on create.
		CreateLocalRepository *bool `json:"create_local_repository,omitempty"`

		// CreateRemoteRepository Optional within this object. Granular flag: project admins may create remote repositories. Defaults to true when any granular flag is set on create.
		CreateRemoteRepository *bool `json:"create_remote_repository,omitempty"`

		// CreateVirtualRepository Optional within this object. Granular flag: project admins may create virtual repositories. Defaults to true when any granular flag is set on create.
		CreateVirtualRepository *bool `json:"create_virtual_repository,omitempty"`

		// DeleteLocalRepository Optional within this object. Granular flag: project admins may delete local repositories. Defaults to true when any granular flag is set on create.
		DeleteLocalRepository *bool `json:"delete_local_repository,omitempty"`

		// DeleteRemoteRepository Optional within this object. Granular flag: project admins may delete remote repositories. Defaults to true when any granular flag is set on create.
		DeleteRemoteRepository *bool `json:"delete_remote_repository,omitempty"`

		// DeleteVirtualRepository Optional within this object. Granular flag: project admins may delete virtual repositories. Defaults to true when any granular flag is set on create.
		DeleteVirtualRepository *bool `json:"delete_virtual_repository,omitempty"`

		// IndexResources Optional within this object. Project admins may mark the project's resources for indexing. Stored and echoed; no effect. Defaults to true.
		IndexResources *bool `json:"index_resources,omitempty"`

		// ManageMembers Optional within this object. Project admins may add and remove members and change their roles. Defaults to true.
		ManageMembers *bool `json:"manage_members,omitempty"`

		// ManageRemoteRepository Optional within this object. Legacy flag. When no granular flag is set it controls creating and deleting remote repositories. Defaults to true.
		ManageRemoteRepository *bool `json:"manage_remote_repository,omitempty"`

		// ManageResources Optional within this object. Legacy flag. When no granular flag is set it controls creating and deleting local and virtual repositories. Defaults to true.
		ManageResources *bool `json:"manage_resources,omitempty"`
	} `json:"admin_privileges,omitempty"`

	// Description Optional within this object. Free text describing the project.
	Description *string `json:"description,omitempty"`

	// DisplayName Optional within this object. Human-readable project name, unique on the server.
	DisplayName *string `json:"display_name,omitempty"`

	// SoftLimit Optional within this object. When true the quota only warns: deployments continue past 100 percent. Defaults to false, which refuses deployments once the quota is reached.
	SoftLimit *bool `json:"soft_limit,omitempty"`

	// StorageQuotaBytes Optional within this object. Storage quota in bytes for everything stored in the project's repositories. -1 or omitted means unlimited. Deployments warn at 75 percent of the quota and are refused at 100 percent unless soft_limit is true.
	StorageQuotaBytes *int `json:"storage_quota_bytes,omitempty"`

	// StorageQuotaEmailNotification Optional within this object. When true, project admins are emailed when usage passes the warning threshold. Defaults to false.
	StorageQuotaEmailNotification *bool `json:"storage_quota_email_notification,omitempty"`
}

ProjectUpdateRequest Body for replacing a project's settings. The key is immutable and comes from the path. Omitted fields keep their stored values.

type ProjectUser

type ProjectUser struct {
	// Name Optional within this object. Username.
	Name *string `json:"name,omitempty"`

	// Roles Optional within this object. Project roles the user holds directly; roles inherited through groups are not listed.
	Roles *[]string `json:"roles,omitempty"`
}

ProjectUser A user's membership in a project.

type ProjectUserUpdate

type ProjectUserUpdate struct {
	// Roles Optional within this object. Names of the project roles held, predefined or custom. Replaces the current list. At least one role.
	Roles *[]string `json:"roles,omitempty"`
}

ProjectUserUpdate Body for adding a user to a project or replacing their project roles.

type PutAwsIamRoleJSONRequestBody

type PutAwsIamRoleJSONRequestBody = AwsIamRoleAssignment

PutAwsIamRoleJSONRequestBody defines body for PutAwsIamRole for application/json ContentType.

type PutAwsIamRoleResponse

type PutAwsIamRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParsePutAwsIamRoleResponse

func ParsePutAwsIamRoleResponse(rsp *http.Response) (*PutAwsIamRoleResponse, error)

ParsePutAwsIamRoleResponse parses an HTTP response from a PutAwsIamRoleWithResponse call

func (PutAwsIamRoleResponse) ContentType

func (r PutAwsIamRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutAwsIamRoleResponse) GetBody

func (r PutAwsIamRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutAwsIamRoleResponse) GetJSON400

func (r PutAwsIamRoleResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PutAwsIamRoleResponse) GetJSON401

func (r PutAwsIamRoleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutAwsIamRoleResponse) GetJSON403

func (r PutAwsIamRoleResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PutAwsIamRoleResponse) GetJSON404

func (r PutAwsIamRoleResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PutAwsIamRoleResponse) GetJSON409

func (r PutAwsIamRoleResponse) GetJSON409() *ErrorResponse

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PutAwsIamRoleResponse) GetJSON501

func (r PutAwsIamRoleResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (PutAwsIamRoleResponse) Status

func (r PutAwsIamRoleResponse) Status() string

Status returns HTTPResponse.Status

func (PutAwsIamRoleResponse) StatusCode

func (r PutAwsIamRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RefreshLdapGroupSettingsParams

type RefreshLdapGroupSettingsParams struct {
	// Operation Optional query parameter. UPDATE refreshes the memberships of groups already imported, IMPORT imports the groups not yet present, UPDATE_AND_IMPORT does both. Defaults to UPDATE_AND_IMPORT.
	Operation *RefreshLdapGroupSettingsParamsOperation `form:"operation,omitempty" json:"operation,omitempty"`

	// Username Optional query parameter. Limits the refresh to this user's memberships. Omitted refreshes every user.
	Username *string `form:"username,omitempty" json:"username,omitempty"`
}

RefreshLdapGroupSettingsParams defines parameters for RefreshLdapGroupSettings.

type RefreshLdapGroupSettingsParamsOperation

type RefreshLdapGroupSettingsParamsOperation string

RefreshLdapGroupSettingsParamsOperation defines parameters for RefreshLdapGroupSettings.

const (
	IMPORT          RefreshLdapGroupSettingsParamsOperation = "IMPORT"
	UPDATE          RefreshLdapGroupSettingsParamsOperation = "UPDATE"
	UPDATEANDIMPORT RefreshLdapGroupSettingsParamsOperation = "UPDATE_AND_IMPORT"
)

Defines values for RefreshLdapGroupSettingsParamsOperation.

func (RefreshLdapGroupSettingsParamsOperation) Valid

Valid indicates whether the value is a known member of the RefreshLdapGroupSettingsParamsOperation enum.

type RefreshLdapGroupSettingsResponse

type RefreshLdapGroupSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseRefreshLdapGroupSettingsResponse

func ParseRefreshLdapGroupSettingsResponse(rsp *http.Response) (*RefreshLdapGroupSettingsResponse, error)

ParseRefreshLdapGroupSettingsResponse parses an HTTP response from a RefreshLdapGroupSettingsWithResponse call

func (RefreshLdapGroupSettingsResponse) ContentType

func (r RefreshLdapGroupSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RefreshLdapGroupSettingsResponse) GetBody

func (r RefreshLdapGroupSettingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RefreshLdapGroupSettingsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (RefreshLdapGroupSettingsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RefreshLdapGroupSettingsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (RefreshLdapGroupSettingsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RefreshLdapGroupSettingsResponse) Status

Status returns HTTPResponse.Status

func (RefreshLdapGroupSettingsResponse) StatusCode

func (r RefreshLdapGroupSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RegisterAccessFederationJSONRequestBody

type RegisterAccessFederationJSONRequestBody = FederationTargetCreate

RegisterAccessFederationJSONRequestBody defines body for RegisterAccessFederation for application/json ContentType.

type RegisterAccessFederationResponse

type RegisterAccessFederationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *FederationTarget
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
}

func ParseRegisterAccessFederationResponse

func ParseRegisterAccessFederationResponse(rsp *http.Response) (*RegisterAccessFederationResponse, error)

ParseRegisterAccessFederationResponse parses an HTTP response from a RegisterAccessFederationWithResponse call

func (RegisterAccessFederationResponse) ContentType

func (r RegisterAccessFederationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RegisterAccessFederationResponse) GetBody

func (r RegisterAccessFederationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RegisterAccessFederationResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (RegisterAccessFederationResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (RegisterAccessFederationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RegisterAccessFederationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (RegisterAccessFederationResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (RegisterAccessFederationResponse) Status

Status returns HTTPResponse.Status

func (RegisterAccessFederationResponse) StatusCode

func (r RegisterAccessFederationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RenameGlobalEnvironmentJSONRequestBody

type RenameGlobalEnvironmentJSONRequestBody = EnvironmentRename

RenameGlobalEnvironmentJSONRequestBody defines body for RenameGlobalEnvironment for application/json ContentType.

type RenameGlobalEnvironmentResponse

type RenameGlobalEnvironmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Environment
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseRenameGlobalEnvironmentResponse

func ParseRenameGlobalEnvironmentResponse(rsp *http.Response) (*RenameGlobalEnvironmentResponse, error)

ParseRenameGlobalEnvironmentResponse parses an HTTP response from a RenameGlobalEnvironmentWithResponse call

func (RenameGlobalEnvironmentResponse) ContentType

func (r RenameGlobalEnvironmentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RenameGlobalEnvironmentResponse) GetBody

func (r RenameGlobalEnvironmentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RenameGlobalEnvironmentResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RenameGlobalEnvironmentResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (RenameGlobalEnvironmentResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RenameGlobalEnvironmentResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (RenameGlobalEnvironmentResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RenameGlobalEnvironmentResponse) Status

Status returns HTTPResponse.Status

func (RenameGlobalEnvironmentResponse) StatusCode

func (r RenameGlobalEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RenameProjectEnvironmentJSONRequestBody

type RenameProjectEnvironmentJSONRequestBody = EnvironmentRename

RenameProjectEnvironmentJSONRequestBody defines body for RenameProjectEnvironment for application/json ContentType.

type RenameProjectEnvironmentResponse

type RenameProjectEnvironmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Environment
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseRenameProjectEnvironmentResponse

func ParseRenameProjectEnvironmentResponse(rsp *http.Response) (*RenameProjectEnvironmentResponse, error)

ParseRenameProjectEnvironmentResponse parses an HTTP response from a RenameProjectEnvironmentWithResponse call

func (RenameProjectEnvironmentResponse) ContentType

func (r RenameProjectEnvironmentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RenameProjectEnvironmentResponse) GetBody

func (r RenameProjectEnvironmentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RenameProjectEnvironmentResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RenameProjectEnvironmentResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (RenameProjectEnvironmentResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RenameProjectEnvironmentResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (RenameProjectEnvironmentResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RenameProjectEnvironmentResponse) Status

Status returns HTTPResponse.Status

func (RenameProjectEnvironmentResponse) StatusCode

func (r RenameProjectEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplacePermissionResourceJSONRequestBody

type ReplacePermissionResourceJSONRequestBody = PermissionResource

ReplacePermissionResourceJSONRequestBody defines body for ReplacePermissionResource for application/json ContentType.

type ReplacePermissionResourceParamsResourceType

type ReplacePermissionResourceParamsResourceType string

ReplacePermissionResourceParamsResourceType defines parameters for ReplacePermissionResource.

const (
	ReplacePermissionResourceParamsResourceTypeArtifact      ReplacePermissionResourceParamsResourceType = "artifact"
	ReplacePermissionResourceParamsResourceTypeBuild         ReplacePermissionResourceParamsResourceType = "build"
	ReplacePermissionResourceParamsResourceTypeReleaseBundle ReplacePermissionResourceParamsResourceType = "release_bundle"
)

Defines values for ReplacePermissionResourceParamsResourceType.

func (ReplacePermissionResourceParamsResourceType) Valid

Valid indicates whether the value is a known member of the ReplacePermissionResourceParamsResourceType enum.

type ReplacePermissionResourceResponse

type ReplacePermissionResourceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PermissionResource
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseReplacePermissionResourceResponse

func ParseReplacePermissionResourceResponse(rsp *http.Response) (*ReplacePermissionResourceResponse, error)

ParseReplacePermissionResourceResponse parses an HTTP response from a ReplacePermissionResourceWithResponse call

func (ReplacePermissionResourceResponse) ContentType

func (r ReplacePermissionResourceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ReplacePermissionResourceResponse) GetBody

GetBody returns the raw response body bytes

func (ReplacePermissionResourceResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ReplacePermissionResourceResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ReplacePermissionResourceResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ReplacePermissionResourceResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ReplacePermissionResourceResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ReplacePermissionResourceResponse) Status

Status returns HTTPResponse.Status

func (ReplacePermissionResourceResponse) StatusCode

func (r ReplacePermissionResourceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResourceType

type ResourceType string

ResourceType defines model for resourceType.

const (
	ResourceTypeArtifact      ResourceType = "artifact"
	ResourceTypeBuild         ResourceType = "build"
	ResourceTypeReleaseBundle ResourceType = "release_bundle"
)

Defines values for ResourceType.

func (ResourceType) Valid

func (e ResourceType) Valid() bool

Valid indicates whether the value is a known member of the ResourceType enum.

type RevokeTokenByIdResponse

type RevokeTokenByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseRevokeTokenByIdResponse

func ParseRevokeTokenByIdResponse(rsp *http.Response) (*RevokeTokenByIdResponse, error)

ParseRevokeTokenByIdResponse parses an HTTP response from a RevokeTokenByIdWithResponse call

func (RevokeTokenByIdResponse) ContentType

func (r RevokeTokenByIdResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RevokeTokenByIdResponse) GetBody

func (r RevokeTokenByIdResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RevokeTokenByIdResponse) GetJSON400

func (r RevokeTokenByIdResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (RevokeTokenByIdResponse) GetJSON401

func (r RevokeTokenByIdResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RevokeTokenByIdResponse) GetJSON403

func (r RevokeTokenByIdResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (RevokeTokenByIdResponse) GetJSON404

func (r RevokeTokenByIdResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RevokeTokenByIdResponse) Status

func (r RevokeTokenByIdResponse) Status() string

Status returns HTTPResponse.Status

func (RevokeTokenByIdResponse) StatusCode

func (r RevokeTokenByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokeTokenByValueJSONBody

type RevokeTokenByValueJSONBody struct {
	// Token Required within this object. The access token (JWT) or the 64-character reference token.
	Token *string `json:"token,omitempty"`
}

RevokeTokenByValueJSONBody defines parameters for RevokeTokenByValue.

type RevokeTokenByValueJSONRequestBody

type RevokeTokenByValueJSONRequestBody RevokeTokenByValueJSONBody

RevokeTokenByValueJSONRequestBody defines body for RevokeTokenByValue for application/json ContentType.

type RevokeTokenByValueResponse

type RevokeTokenByValueResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// RevokedTokenId Required within this object. The id of the token that was revoked.
		RevokedTokenId string `json:"revoked_token_id"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseRevokeTokenByValueResponse

func ParseRevokeTokenByValueResponse(rsp *http.Response) (*RevokeTokenByValueResponse, error)

ParseRevokeTokenByValueResponse parses an HTTP response from a RevokeTokenByValueWithResponse call

func (RevokeTokenByValueResponse) ContentType

func (r RevokeTokenByValueResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RevokeTokenByValueResponse) GetBody

func (r RevokeTokenByValueResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RevokeTokenByValueResponse) GetJSON200

func (r RevokeTokenByValueResponse) GetJSON200() *struct {
	// RevokedTokenId Required within this object. The id of the token that was revoked.
	RevokedTokenId string `json:"revoked_token_id"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RevokeTokenByValueResponse) GetJSON401

func (r RevokeTokenByValueResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RevokeTokenByValueResponse) GetJSON403

func (r RevokeTokenByValueResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (RevokeTokenByValueResponse) GetJSON404

func (r RevokeTokenByValueResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RevokeTokenByValueResponse) Status

Status returns HTTPResponse.Status

func (RevokeTokenByValueResponse) StatusCode

func (r RevokeTokenByValueResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RoleName

type RoleName = string

RoleName defines model for roleName.

type SamlGeneralSettings

type SamlGeneralSettings struct {
	// CertificateIsPresent Optional within this object. Whether a service provider certificate is installed. Set by the server.
	CertificateIsPresent *bool `json:"certificateIsPresent,omitempty"`

	// Enable Optional within this object. Whether SAML login is enabled at all.
	Enable *bool `json:"enable,omitempty"`
}

SamlGeneralSettings The instance-wide SAML switch. Not supported.

type SamlSetting

type SamlSetting struct {
	// AllowUserToAccessProfile Optional within this object. Whether users created through SAML may open their own profile.
	AllowUserToAccessProfile *bool `json:"allow_user_to_access_profile,omitempty"`

	// AutoRedirect Optional within this object. Whether the login page sends users straight to the identity provider.
	AutoRedirect *bool `json:"auto_redirect,omitempty"`

	// AutoUserCreation Optional within this object. Whether a first login creates a local user.
	AutoUserCreation *bool `json:"auto_user_creation,omitempty"`

	// Certificate Optional within this object. PEM certificate of the identity provider, used to verify assertion signatures.
	Certificate *string `json:"certificate,omitempty"`

	// EmailAttribute Optional within this object. Assertion attribute that holds the user's email address.
	EmailAttribute *string `json:"email_attribute,omitempty"`

	// EnableIntegration Optional within this object. Whether login through this identity provider is enabled.
	EnableIntegration *bool `json:"enable_integration,omitempty"`

	// GroupAttribute Optional within this object. Assertion attribute that lists the user's groups.
	GroupAttribute *string `json:"group_attribute,omitempty"`

	// LdapGroupSettings Optional within this object. Names of LDAP group settings whose groups are resolved for users who log in through SAML.
	LdapGroupSettings *[]string `json:"ldap_group_settings,omitempty"`

	// LoginUrl Optional within this object. Identity provider URL that login redirects to.
	LoginUrl *string `json:"login_url,omitempty"`

	// LogoutUrl Optional within this object. Identity provider URL that logout redirects to.
	LogoutUrl *string `json:"logout_url,omitempty"`

	// Name Optional within this object. Unique name of the setting.
	Name *string `json:"name,omitempty"`

	// NameIdAttribute Optional within this object. Assertion attribute used as the username instead of the NameID.
	NameIdAttribute *string `json:"name_id_attribute,omitempty"`

	// ServiceProviderName Optional within this object. Entity ID this server presents to the identity provider.
	ServiceProviderName *string `json:"service_provider_name,omitempty"`

	// SyncGroups Optional within this object. Whether group memberships are taken from the assertion on each login.
	SyncGroups *bool `json:"sync_groups,omitempty"`

	// UseEncryptedAssertion Optional within this object. Whether assertions must be encrypted.
	UseEncryptedAssertion *bool `json:"use_encrypted_assertion,omitempty"`

	// VerifyAudienceRestriction Optional within this object. Whether an assertion's audience must name this service provider.
	VerifyAudienceRestriction *bool `json:"verify_audience_restriction,omitempty"`
}

SamlSetting One SAML identity provider. Not supported.

type SamlSettingCreate

type SamlSettingCreate struct {
	// AllowUserToAccessProfile Optional within this object. Whether users created through SAML may open their own profile.
	AllowUserToAccessProfile *bool `json:"allow_user_to_access_profile,omitempty"`

	// AutoRedirect Optional within this object. Whether the login page sends users straight to the identity provider.
	AutoRedirect *bool `json:"auto_redirect,omitempty"`

	// AutoUserCreation Optional within this object. Whether a first login creates a local user.
	AutoUserCreation *bool `json:"auto_user_creation,omitempty"`

	// Certificate Required within this object. PEM certificate of the identity provider, used to verify assertion signatures.
	Certificate string `json:"certificate"`

	// EmailAttribute Optional within this object. Assertion attribute that holds the user's email address.
	EmailAttribute *string `json:"email_attribute,omitempty"`

	// EnableIntegration Optional within this object. Whether login through this identity provider is enabled.
	EnableIntegration *bool `json:"enable_integration,omitempty"`

	// GroupAttribute Optional within this object. Assertion attribute that lists the user's groups.
	GroupAttribute *string `json:"group_attribute,omitempty"`

	// LdapGroupSettings Optional within this object. Names of LDAP group settings whose groups are resolved for users who log in through SAML.
	LdapGroupSettings *[]string `json:"ldap_group_settings,omitempty"`

	// LoginUrl Required within this object. Identity provider URL that login redirects to.
	LoginUrl string `json:"login_url"`

	// LogoutUrl Required within this object. Identity provider URL that logout redirects to.
	LogoutUrl string `json:"logout_url"`

	// Name Required within this object. Unique name of the setting.
	Name string `json:"name"`

	// NameIdAttribute Optional within this object. Assertion attribute used as the username instead of the NameID.
	NameIdAttribute *string `json:"name_id_attribute,omitempty"`

	// ServiceProviderName Required within this object. Entity ID this server presents to the identity provider.
	ServiceProviderName string `json:"service_provider_name"`

	// SyncGroups Optional within this object. Whether group memberships are taken from the assertion on each login.
	SyncGroups *bool `json:"sync_groups,omitempty"`

	// UseEncryptedAssertion Optional within this object. Whether assertions must be encrypted.
	UseEncryptedAssertion *bool `json:"use_encrypted_assertion,omitempty"`

	// VerifyAudienceRestriction Optional within this object. Whether an assertion's audience must name this service provider.
	VerifyAudienceRestriction *bool `json:"verify_audience_restriction,omitempty"`
}

SamlSettingCreate A new SAML identity provider. Not supported.

type ScimGroupListResponse

type ScimGroupListResponse struct {
	// Resources Optional within this object. Groups on this page.
	Resources *[]struct {
		// Description Optional within this object. Description of the group.
		Description *string `json:"description,omitempty"`

		// DisplayName Optional within this object. Name of the group.
		DisplayName *string `json:"displayName,omitempty"`

		// Id Optional within this object. SCIM identifier of the group, equal to its name.
		Id *string `json:"id,omitempty"`

		// Members Optional within this object. Members of the group as SCIM member references.
		Members *[]map[string]interface{} `json:"members,omitempty"`

		// Meta Optional within this object. SCIM resource metadata.
		Meta *struct {
			// ResourceType Optional within this object. SCIM resource type name.
			ResourceType *string `json:"resourceType,omitempty"`
		} `json:"meta,omitempty"`

		// Schemas Optional within this object. SCIM schema URNs of the resource.
		Schemas *[]string `json:"schemas,omitempty"`
	} `json:"Resources,omitempty"`

	// ItemsPerPage Optional within this object. Number of groups on this page.
	ItemsPerPage *int `json:"itemsPerPage,omitempty"`

	// Schemas Optional within this object. SCIM schema URNs of the list response.
	Schemas *[]string `json:"schemas,omitempty"`

	// StartIndex Optional within this object. One-based index of the first group on this page.
	StartIndex *int `json:"startIndex,omitempty"`

	// TotalResults Optional within this object. Number of groups that match the filter.
	TotalResults *int `json:"totalResults,omitempty"`
}

ScimGroupListResponse A SCIM 2.0 list response of groups (RFC 7644). Not supported.

type ScimResource

type ScimResource map[string]interface{}

ScimResource A SCIM 2.0 resource or patch document (RFC 7643, RFC 7644), free-form. Not supported.

type ScimResourceTypeListResponse

type ScimResourceTypeListResponse struct {
	// Resources Optional within this object. The resource types the endpoint supports, User and Group.
	Resources *[]map[string]interface{} `json:"Resources,omitempty"`

	// ItemsPerPage Optional within this object. Number of resource types on this page.
	ItemsPerPage *int `json:"itemsPerPage,omitempty"`

	// Schemas Optional within this object. SCIM schema URNs of the list response.
	Schemas *[]string `json:"schemas,omitempty"`

	// StartIndex Optional within this object. One-based index of the first resource type on this page.
	StartIndex *int `json:"startIndex,omitempty"`

	// TotalResults Optional within this object. Number of resource types.
	TotalResults *int `json:"totalResults,omitempty"`
}

ScimResourceTypeListResponse A SCIM 2.0 list response of resource types. Not supported.

type ScimUserListResponse

type ScimUserListResponse struct {
	// Resources Optional within this object. Users on this page.
	Resources *[]struct {
		// Active Optional within this object. Whether the user is enabled.
		Active *bool `json:"active,omitempty"`

		// Emails Optional within this object. Email addresses of the user.
		Emails *[]struct {
			// Primary Optional within this object. Whether this is the primary address.
			Primary *bool `json:"primary,omitempty"`

			// Value Optional within this object. The email address.
			Value *string `json:"value,omitempty"`
		} `json:"emails,omitempty"`

		// Groups Optional within this object. Groups the user belongs to.
		Groups *[]struct {
			// Value Optional within this object. Name of the group.
			Value *string `json:"value,omitempty"`
		} `json:"groups,omitempty"`

		// Id Optional within this object. SCIM identifier of the user, equal to the username.
		Id *string `json:"id,omitempty"`

		// Meta Optional within this object. SCIM resource metadata.
		Meta *struct {
			// ResourceType Optional within this object. SCIM resource type name.
			ResourceType *string `json:"resourceType,omitempty"`
		} `json:"meta,omitempty"`

		// Schemas Optional within this object. SCIM schema URNs of the resource.
		Schemas *[]string `json:"schemas,omitempty"`

		// UserName Optional within this object. Username.
		UserName *string `json:"userName,omitempty"`
	} `json:"Resources,omitempty"`

	// ItemsPerPage Optional within this object. Number of users on this page.
	ItemsPerPage *int `json:"itemsPerPage,omitempty"`

	// Schemas Optional within this object. SCIM schema URNs of the list response.
	Schemas *[]string `json:"schemas,omitempty"`

	// StartIndex Optional within this object. One-based index of the first user on this page.
	StartIndex *int `json:"startIndex,omitempty"`

	// TotalResults Optional within this object. Number of users that match the filter.
	TotalResults *int `json:"totalResults,omitempty"`
}

ScimUserListResponse A SCIM 2.0 list response of users. Not supported.

type SearchLdapGroupsJSONRequestBody

type SearchLdapGroupsJSONRequestBody = LdapGroupSettings

SearchLdapGroupsJSONRequestBody defines body for SearchLdapGroups for application/json ContentType.

type SearchLdapGroupsParams

type SearchLdapGroupsParams struct {
	// Username Optional query parameter. Returns only the groups this user belongs to. Omitted returns every group the search finds.
	Username *string `form:"username,omitempty" json:"username,omitempty"`
}

SearchLdapGroupsParams defines parameters for SearchLdapGroups.

type SearchLdapGroupsResponse

type SearchLdapGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]LdapGroup
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseSearchLdapGroupsResponse

func ParseSearchLdapGroupsResponse(rsp *http.Response) (*SearchLdapGroupsResponse, error)

ParseSearchLdapGroupsResponse parses an HTTP response from a SearchLdapGroupsWithResponse call

func (SearchLdapGroupsResponse) ContentType

func (r SearchLdapGroupsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SearchLdapGroupsResponse) GetBody

func (r SearchLdapGroupsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SearchLdapGroupsResponse) GetJSON200

func (r SearchLdapGroupsResponse) GetJSON200() *[]LdapGroup

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SearchLdapGroupsResponse) GetJSON401

func (r SearchLdapGroupsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (SearchLdapGroupsResponse) GetJSON403

func (r SearchLdapGroupsResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (SearchLdapGroupsResponse) Status

func (r SearchLdapGroupsResponse) Status() string

Status returns HTTPResponse.Status

func (SearchLdapGroupsResponse) StatusCode

func (r SearchLdapGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetBasicAuthenticationStatusJSONBody

type SetBasicAuthenticationStatusJSONBody struct {
	// Enabled Required within this object. true accepts usernames and passwords over HTTP Basic; false refuses them while tokens keep working.
	Enabled bool `json:"enabled"`
}

SetBasicAuthenticationStatusJSONBody defines parameters for SetBasicAuthenticationStatus.

type SetBasicAuthenticationStatusJSONRequestBody

type SetBasicAuthenticationStatusJSONRequestBody SetBasicAuthenticationStatusJSONBody

SetBasicAuthenticationStatusJSONRequestBody defines body for SetBasicAuthenticationStatus for application/json ContentType.

type SetBasicAuthenticationStatusResponse

type SetBasicAuthenticationStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseSetBasicAuthenticationStatusResponse

func ParseSetBasicAuthenticationStatusResponse(rsp *http.Response) (*SetBasicAuthenticationStatusResponse, error)

ParseSetBasicAuthenticationStatusResponse parses an HTTP response from a SetBasicAuthenticationStatusWithResponse call

func (SetBasicAuthenticationStatusResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetBasicAuthenticationStatusResponse) GetBody

GetBody returns the raw response body bytes

func (SetBasicAuthenticationStatusResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (SetBasicAuthenticationStatusResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (SetBasicAuthenticationStatusResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (SetBasicAuthenticationStatusResponse) Status

Status returns HTTPResponse.Status

func (SetBasicAuthenticationStatusResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SetTokenDefaultExpiryJSONBody

type SetTokenDefaultExpiryJSONBody struct {
	// DefaultTokenExpiration Required within this object. New default lifetime in seconds. Applies only to tokens created after the change.
	DefaultTokenExpiration int `json:"default_token_expiration"`
}

SetTokenDefaultExpiryJSONBody defines parameters for SetTokenDefaultExpiry.

type SetTokenDefaultExpiryJSONRequestBody

type SetTokenDefaultExpiryJSONRequestBody SetTokenDefaultExpiryJSONBody

SetTokenDefaultExpiryJSONRequestBody defines body for SetTokenDefaultExpiry for application/json ContentType.

type SetTokenDefaultExpiryResponse

type SetTokenDefaultExpiryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseSetTokenDefaultExpiryResponse

func ParseSetTokenDefaultExpiryResponse(rsp *http.Response) (*SetTokenDefaultExpiryResponse, error)

ParseSetTokenDefaultExpiryResponse parses an HTTP response from a SetTokenDefaultExpiryWithResponse call

func (SetTokenDefaultExpiryResponse) ContentType

func (r SetTokenDefaultExpiryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetTokenDefaultExpiryResponse) GetBody

func (r SetTokenDefaultExpiryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetTokenDefaultExpiryResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (SetTokenDefaultExpiryResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (SetTokenDefaultExpiryResponse) Status

Status returns HTTPResponse.Status

func (SetTokenDefaultExpiryResponse) StatusCode

func (r SetTokenDefaultExpiryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetVaultConfigurationJSONRequestBody

type SetVaultConfigurationJSONRequestBody = VaultConfigRequest

SetVaultConfigurationJSONRequestBody defines body for SetVaultConfiguration for application/json ContentType.

type SetVaultConfigurationResponse

type SetVaultConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VaultConfig
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON415 the response for an HTTP 415 `application/json` response
	JSON415 *ErrorResponse
}

func ParseSetVaultConfigurationResponse

func ParseSetVaultConfigurationResponse(rsp *http.Response) (*SetVaultConfigurationResponse, error)

ParseSetVaultConfigurationResponse parses an HTTP response from a SetVaultConfigurationWithResponse call

func (SetVaultConfigurationResponse) ContentType

func (r SetVaultConfigurationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetVaultConfigurationResponse) GetBody

func (r SetVaultConfigurationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetVaultConfigurationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetVaultConfigurationResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (SetVaultConfigurationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (SetVaultConfigurationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (SetVaultConfigurationResponse) GetJSON415

GetJSON415 returns the response for an HTTP 415 `application/json` response

func (SetVaultConfigurationResponse) Status

Status returns HTTPResponse.Status

func (SetVaultConfigurationResponse) StatusCode

func (r SetVaultConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ShareRepositoryWithAllProjectsResponse

type ShareRepositoryWithAllProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseShareRepositoryWithAllProjectsResponse

func ParseShareRepositoryWithAllProjectsResponse(rsp *http.Response) (*ShareRepositoryWithAllProjectsResponse, error)

ParseShareRepositoryWithAllProjectsResponse parses an HTTP response from a ShareRepositoryWithAllProjectsWithResponse call

func (ShareRepositoryWithAllProjectsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ShareRepositoryWithAllProjectsResponse) GetBody

GetBody returns the raw response body bytes

func (ShareRepositoryWithAllProjectsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ShareRepositoryWithAllProjectsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ShareRepositoryWithAllProjectsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ShareRepositoryWithAllProjectsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ShareRepositoryWithAllProjectsResponse) Status

Status returns HTTPResponse.Status

func (ShareRepositoryWithAllProjectsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ShareRepositoryWithTargetProjectParams

type ShareRepositoryWithTargetProjectParams struct {
	// ReadOnly Optional query parameter. When true the target project's members get read access only, whatever their roles. Defaults to false.
	ReadOnly *bool `form:"readOnly,omitempty" json:"readOnly,omitempty"`
}

ShareRepositoryWithTargetProjectParams defines parameters for ShareRepositoryWithTargetProject.

type ShareRepositoryWithTargetProjectResponse

type ShareRepositoryWithTargetProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseShareRepositoryWithTargetProjectResponse

func ParseShareRepositoryWithTargetProjectResponse(rsp *http.Response) (*ShareRepositoryWithTargetProjectResponse, error)

ParseShareRepositoryWithTargetProjectResponse parses an HTTP response from a ShareRepositoryWithTargetProjectWithResponse call

func (ShareRepositoryWithTargetProjectResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ShareRepositoryWithTargetProjectResponse) GetBody

GetBody returns the raw response body bytes

func (ShareRepositoryWithTargetProjectResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ShareRepositoryWithTargetProjectResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ShareRepositoryWithTargetProjectResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ShareRepositoryWithTargetProjectResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ShareRepositoryWithTargetProjectResponse) Status

Status returns HTTPResponse.Status

func (ShareRepositoryWithTargetProjectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type TestLdapConnectionJSONRequestBody

type TestLdapConnectionJSONRequestBody = LdapSettings

TestLdapConnectionJSONRequestBody defines body for TestLdapConnection for application/json ContentType.

type TestLdapConnectionResponse

type TestLdapConnectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseTestLdapConnectionResponse

func ParseTestLdapConnectionResponse(rsp *http.Response) (*TestLdapConnectionResponse, error)

ParseTestLdapConnectionResponse parses an HTTP response from a TestLdapConnectionWithResponse call

func (TestLdapConnectionResponse) ContentType

func (r TestLdapConnectionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TestLdapConnectionResponse) GetBody

func (r TestLdapConnectionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (TestLdapConnectionResponse) GetJSON400

func (r TestLdapConnectionResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (TestLdapConnectionResponse) GetJSON401

func (r TestLdapConnectionResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (TestLdapConnectionResponse) GetJSON403

func (r TestLdapConnectionResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (TestLdapConnectionResponse) Status

Status returns HTTPResponse.Status

func (TestLdapConnectionResponse) StatusCode

func (r TestLdapConnectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TestVaultConfigurationJSONRequestBody

type TestVaultConfigurationJSONRequestBody = VaultConfigRequest

TestVaultConfigurationJSONRequestBody defines body for TestVaultConfiguration for application/json ContentType.

type TestVaultConfigurationResponse

type TestVaultConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON415 the response for an HTTP 415 `application/json` response
	JSON415 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseTestVaultConfigurationResponse

func ParseTestVaultConfigurationResponse(rsp *http.Response) (*TestVaultConfigurationResponse, error)

ParseTestVaultConfigurationResponse parses an HTTP response from a TestVaultConfigurationWithResponse call

func (TestVaultConfigurationResponse) ContentType

func (r TestVaultConfigurationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TestVaultConfigurationResponse) GetBody

func (r TestVaultConfigurationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (TestVaultConfigurationResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (TestVaultConfigurationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (TestVaultConfigurationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (TestVaultConfigurationResponse) GetJSON415

GetJSON415 returns the response for an HTTP 415 `application/json` response

func (TestVaultConfigurationResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (TestVaultConfigurationResponse) Status

Status returns HTTPResponse.Status

func (TestVaultConfigurationResponse) StatusCode

func (r TestVaultConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TokenCreateRequest

type TokenCreateRequest struct {
	// Audience Optional within this object. Which services accept the token, as <service type>@<service id> patterns. Defaults to *@*, every service.
	Audience *string `json:"audience,omitempty"`

	// Description Optional within this object. Free text stored with the token metadata.
	Description *string `json:"description,omitempty"`

	// ExpiresIn Optional within this object. Lifetime in seconds. Defaults to the default expiry setting (31536000 until an admin changes it). 0 means the token never expires and is allowed for admins only; anyone else is answered 403. Tokens shorter than 21600 seconds are not revocable unless force_revocable or refreshable is set.
	ExpiresIn *int `json:"expires_in,omitempty"`

	// ForceRevocable Optional within this object. Makes a short-lived token revocable at the cost of a server-side record. Defaults to false.
	ForceRevocable *bool `json:"force_revocable,omitempty"`

	// GrantType Optional within this object. client_credentials mints a new token; refresh_token exchanges refresh_token for a new one. Defaults to client_credentials.
	GrantType *TokenCreateRequestGrantType `json:"grant_type,omitempty"`

	// IncludeReferenceToken Optional within this object. When true the response also carries a 64-character reference token that stands in for the JWT. Defaults to false.
	IncludeReferenceToken *bool `json:"include_reference_token,omitempty"`

	// ProjectKey Optional within this object. Scopes a token minted by a project admin to that project. An empty string is treated as absent.
	ProjectKey *string `json:"project_key,omitempty"`

	// RefreshToken Optional within this object. Required when grant_type is refresh_token; the refresh token from the original response.
	RefreshToken *string `json:"refresh_token,omitempty"`

	// Refreshable Optional within this object. When true a refresh_token is issued alongside, and the token is revocable whatever its lifetime. Defaults to false.
	Refreshable *bool `json:"refreshable,omitempty"`

	// Scope Optional within this object. Space-separated scope terms. Forms: applied-permissions/user (the subject's own permissions, the default), applied-permissions/admin, applied-permissions/groups:"g1","g2", applied-permissions/roles:<project>:<role>, artifact:<repo or *>[/<ant path>]:<actions> with actions from r,w,d,a,x,s,m or *, repo:<key>:r, project:<key>/members/users:r, project:<key>/members/groups:r, project:<key>/roles:r, and system:* scopes such as system:identities:r. applied-permissions/admin makes the token an admin token whatever its subject; only an admin may request it. Any other scope never grants more than the subject already holds.
	Scope *string `json:"scope,omitempty"`

	// Username Optional within this object. The subject of the new token. Defaults to the caller. Only admins may name another user; the name need not exist, which is how service tokens are minted. A token for a name that is not a stored user authenticates as a transient user, of which nothing is stored. Its permissions are what its scope gives. applied-permissions/user gives grants to the name and to the groups new users join automatically, and a groups scope gives the named groups alone. Once a user of that name exists, the token acts as that user.
	Username *string `json:"username,omitempty"`
}

TokenCreateRequest An access token request. Accepted as JSON or form-encoded. Every field is optional; the defaults mint an identity token for the caller that expires after the configured default expiry (31536000 seconds, one year, until an admin changes it).

type TokenCreateRequestGrantType

type TokenCreateRequestGrantType string

TokenCreateRequestGrantType Optional within this object. client_credentials mints a new token; refresh_token exchanges refresh_token for a new one. Defaults to client_credentials.

const (
	ClientCredentials TokenCreateRequestGrantType = "client_credentials"
	RefreshToken      TokenCreateRequestGrantType = "refresh_token"
)

Defines values for TokenCreateRequestGrantType.

func (TokenCreateRequestGrantType) Valid

Valid indicates whether the value is a known member of the TokenCreateRequestGrantType enum.

type TokenDetails

type TokenDetails struct {
	// Description Optional within this object. The description given at creation.
	Description *string `json:"description,omitempty"`

	// Expiry Optional within this object. Expiry as Unix seconds; absent when the token never expires.
	Expiry *int `json:"expiry,omitempty"`

	// IssuedAt Required within this object. Issue time as Unix seconds.
	IssuedAt int `json:"issued_at"`

	// Issuer Required within this object. Server-owned. The issuing service id, jfac@<service id>.
	Issuer string `json:"issuer"`

	// LastUsed Optional within this object. Unix seconds of the last authenticated request with this token; absent when never used or when usage tracking is off.
	LastUsed *int `json:"last_used,omitempty"`

	// Refreshable Required within this object. Whether a refresh token was issued.
	Refreshable bool `json:"refreshable"`

	// Scope Required within this object. The stored scope string.
	Scope string `json:"scope"`

	// Subject Required within this object. Server-owned. The subject in the form jfac@<service id>/users/<username>.
	Subject string `json:"subject"`

	// TokenId Required within this object. The token id.
	TokenId string `json:"token_id"`
}

TokenDetails Metadata of one token. Never includes the token value.

type TokenId

type TokenId = string

TokenId defines model for tokenId.

type TokenListResponse

type TokenListResponse struct {
	// Tokens Required within this object. One entry per token, possibly empty.
	Tokens []TokenDetails `json:"tokens"`
}

TokenListResponse Token metadata visible to the caller.

type TokenResponse

type TokenResponse struct {
	// AccessToken Required within this object. The JWT; shown only in this response.
	AccessToken string `json:"access_token"`

	// ExpiresIn Required within this object. Lifetime in seconds; 0 when the token never expires.
	ExpiresIn int `json:"expires_in"`

	// ReferenceToken Optional within this object. Present only when include_reference_token was true; 64 characters starting with cmVmd.
	ReferenceToken *string `json:"reference_token,omitempty"`

	// RefreshToken Optional within this object. Present only when refreshable was true.
	RefreshToken *string `json:"refresh_token,omitempty"`

	// Scope Required within this object. The effective scope as stored.
	Scope string `json:"scope"`

	// TokenId Required within this object. Server-owned. The id used to read or revoke the token.
	TokenId string `json:"token_id"`

	// TokenType Required within this object. Always Bearer.
	TokenType string `json:"token_type"`
}

TokenResponse A freshly minted token.

type TokenSpec

type TokenSpec struct {
	// Audience Optional within this object. Audience of the issued token. Omitted means every service.
	Audience *string `json:"audience,omitempty"`

	// ExpiresIn Optional within this object. Lifetime of the issued token in seconds.
	ExpiresIn *int64 `json:"expires_in,omitempty"`

	// GroupsPattern Optional within this object. Pattern applied to every value of its claim. The issued token's scope carries the resulting group names.
	GroupsPattern *string `json:"groups_pattern,omitempty"`

	// ResourcePattern Optional within this object. Pattern whose values limit the repositories the issued token reaches. A value that is a repository key becomes artifact:<key>/**:r; any other value must be a single artifact scope entry naming one repository without wildcards. These entries narrow the artifact access of the token's user or groups and never extend it. Any other value fails the exchange with 400.
	ResourcePattern *string `json:"resource_pattern,omitempty"`

	// Scope Optional within this object. Scope of the issued token, in the access token scope grammar of POST /api/v1/tokens.
	Scope *string `json:"scope,omitempty"`

	// SelfRevocable Optional within this object. Whether the issued token may revoke itself.
	SelfRevocable *bool `json:"self_revocable,omitempty"`

	// Username Optional within this object. Username of the issued token's subject. Use username_pattern instead to derive it from claims.
	Username *string `json:"username,omitempty"`

	// UsernamePattern Optional within this object. Pattern that builds the subject's username from the ID token's claims. It must yield exactly one name.
	UsernamePattern *string `json:"username_pattern,omitempty"`
}

TokenSpec The shape of the access token an identity mapping issues. When the mapping names a user, through username or username_pattern, the issued scope also holds applied-permissions/user, unless it holds project roles or applied-permissions/admin. An admin scope combines with no other scope or pattern; username_pattern combines with neither username nor an applied-permissions/user scope; groups_pattern does not combine with a groups scope; resource_pattern does not combine with artifact entries in scope; every other combination is accepted. A mapping without username or username_pattern needs a groups scope, a project roles scope or groups_pattern, and its scope holds nothing but groups and project roles.

The three patterns share one syntax: parts separated by |, at most 16. The first part names one claim as {{claim}} and is a regular expression, whitespace ignored, in which {{claim}} stands for a capture group; each value of the claim must match it whole. Each later part is one of: op:replaceAll("from","to"), op:replaceFirst("from","to") or op:replaceLast("from","to"), which replace literal text in the value; a regular expression the value must match; or a replacement that rebuilds the value from the groups of the latest expression, matched again against the current value, where $0 is the whole match, $1 the first group and ${name} a named group. Among the later parts that are not operators, a part is an expression when another such part follows it and the one before it, if any, is not an expression; every other such part is a replacement, and without an expression before it a replacement uses the first part. A claim that is missing, that does not match, or whose values are not strings, numbers or booleans fails the exchange with 400. A list claim yields one value per element, at most 100, and each value is limited to 1024 bytes.

type UnassignProjectFromRepositoryResponse

type UnassignProjectFromRepositoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUnassignProjectFromRepositoryResponse

func ParseUnassignProjectFromRepositoryResponse(rsp *http.Response) (*UnassignProjectFromRepositoryResponse, error)

ParseUnassignProjectFromRepositoryResponse parses an HTTP response from a UnassignProjectFromRepositoryWithResponse call

func (UnassignProjectFromRepositoryResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UnassignProjectFromRepositoryResponse) GetBody

GetBody returns the raw response body bytes

func (UnassignProjectFromRepositoryResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UnassignProjectFromRepositoryResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UnassignProjectFromRepositoryResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UnassignProjectFromRepositoryResponse) Status

Status returns HTTPResponse.Status

func (UnassignProjectFromRepositoryResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UnexpirePasswordForAllUsersResponse

type UnexpirePasswordForAllUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseUnexpirePasswordForAllUsersResponse

func ParseUnexpirePasswordForAllUsersResponse(rsp *http.Response) (*UnexpirePasswordForAllUsersResponse, error)

ParseUnexpirePasswordForAllUsersResponse parses an HTTP response from a UnexpirePasswordForAllUsersWithResponse call

func (UnexpirePasswordForAllUsersResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UnexpirePasswordForAllUsersResponse) GetBody

GetBody returns the raw response body bytes

func (UnexpirePasswordForAllUsersResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UnexpirePasswordForAllUsersResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UnexpirePasswordForAllUsersResponse) Status

Status returns HTTPResponse.Status

func (UnexpirePasswordForAllUsersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UnlockUserResponse

type UnlockUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUnlockUserResponse

func ParseUnlockUserResponse(rsp *http.Response) (*UnlockUserResponse, error)

ParseUnlockUserResponse parses an HTTP response from a UnlockUserWithResponse call

func (UnlockUserResponse) ContentType

func (r UnlockUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UnlockUserResponse) GetBody

func (r UnlockUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UnlockUserResponse) GetJSON401

func (r UnlockUserResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UnlockUserResponse) GetJSON403

func (r UnlockUserResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UnlockUserResponse) GetJSON404

func (r UnlockUserResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UnlockUserResponse) Status

func (r UnlockUserResponse) Status() string

Status returns HTTPResponse.Status

func (UnlockUserResponse) StatusCode

func (r UnlockUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UnshareRepositoryWithAllProjectsResponse

type UnshareRepositoryWithAllProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUnshareRepositoryWithAllProjectsResponse

func ParseUnshareRepositoryWithAllProjectsResponse(rsp *http.Response) (*UnshareRepositoryWithAllProjectsResponse, error)

ParseUnshareRepositoryWithAllProjectsResponse parses an HTTP response from a UnshareRepositoryWithAllProjectsWithResponse call

func (UnshareRepositoryWithAllProjectsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UnshareRepositoryWithAllProjectsResponse) GetBody

GetBody returns the raw response body bytes

func (UnshareRepositoryWithAllProjectsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UnshareRepositoryWithAllProjectsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UnshareRepositoryWithAllProjectsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UnshareRepositoryWithAllProjectsResponse) Status

Status returns HTTPResponse.Status

func (UnshareRepositoryWithAllProjectsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UnshareRepositoryWithTargetProjectResponse

type UnshareRepositoryWithTargetProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUnshareRepositoryWithTargetProjectResponse

func ParseUnshareRepositoryWithTargetProjectResponse(rsp *http.Response) (*UnshareRepositoryWithTargetProjectResponse, error)

ParseUnshareRepositoryWithTargetProjectResponse parses an HTTP response from a UnshareRepositoryWithTargetProjectWithResponse call

func (UnshareRepositoryWithTargetProjectResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UnshareRepositoryWithTargetProjectResponse) GetBody

GetBody returns the raw response body bytes

func (UnshareRepositoryWithTargetProjectResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UnshareRepositoryWithTargetProjectResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UnshareRepositoryWithTargetProjectResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UnshareRepositoryWithTargetProjectResponse) Status

Status returns HTTPResponse.Status

func (UnshareRepositoryWithTargetProjectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateAccessFederationApplicationMergePatchPlusJSONRequestBody

type UpdateAccessFederationApplicationMergePatchPlusJSONRequestBody = FederationTargetUpdate

UpdateAccessFederationApplicationMergePatchPlusJSONRequestBody defines body for UpdateAccessFederation for application/merge-patch+json ContentType.

type UpdateAccessFederationJSONRequestBody

type UpdateAccessFederationJSONRequestBody = FederationTargetUpdate

UpdateAccessFederationJSONRequestBody defines body for UpdateAccessFederation for application/json ContentType.

type UpdateAccessFederationResponse

type UpdateAccessFederationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *FederationTarget
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUpdateAccessFederationResponse

func ParseUpdateAccessFederationResponse(rsp *http.Response) (*UpdateAccessFederationResponse, error)

ParseUpdateAccessFederationResponse parses an HTTP response from a UpdateAccessFederationWithResponse call

func (UpdateAccessFederationResponse) ContentType

func (r UpdateAccessFederationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateAccessFederationResponse) GetBody

func (r UpdateAccessFederationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateAccessFederationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateAccessFederationResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateAccessFederationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateAccessFederationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateAccessFederationResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateAccessFederationResponse) Status

Status returns HTTPResponse.Status

func (UpdateAccessFederationResponse) StatusCode

func (r UpdateAccessFederationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateGlobalRoleJSONRequestBody

type UpdateGlobalRoleJSONRequestBody = GlobalRoleUpdate

UpdateGlobalRoleJSONRequestBody defines body for UpdateGlobalRole for application/json ContentType.

type UpdateGlobalRoleResponse

type UpdateGlobalRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUpdateGlobalRoleResponse

func ParseUpdateGlobalRoleResponse(rsp *http.Response) (*UpdateGlobalRoleResponse, error)

ParseUpdateGlobalRoleResponse parses an HTTP response from a UpdateGlobalRoleWithResponse call

func (UpdateGlobalRoleResponse) ContentType

func (r UpdateGlobalRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateGlobalRoleResponse) GetBody

func (r UpdateGlobalRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateGlobalRoleResponse) GetJSON400

func (r UpdateGlobalRoleResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateGlobalRoleResponse) GetJSON401

func (r UpdateGlobalRoleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateGlobalRoleResponse) GetJSON403

func (r UpdateGlobalRoleResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateGlobalRoleResponse) GetJSON404

func (r UpdateGlobalRoleResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateGlobalRoleResponse) Status

func (r UpdateGlobalRoleResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateGlobalRoleResponse) StatusCode

func (r UpdateGlobalRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateGroupJSONRequestBody

type UpdateGroupJSONRequestBody = GroupUpdateRequest

UpdateGroupJSONRequestBody defines body for UpdateGroup for application/json ContentType.

type UpdateGroupMembersJSONBody

type UpdateGroupMembersJSONBody struct {
	// Add Optional within this object. Usernames to add; each must exist.
	Add *[]string `json:"add,omitempty"`

	// Remove Optional within this object. Usernames to remove.
	Remove *[]string `json:"remove,omitempty"`
}

UpdateGroupMembersJSONBody defines parameters for UpdateGroupMembers.

type UpdateGroupMembersJSONRequestBody

type UpdateGroupMembersJSONRequestBody UpdateGroupMembersJSONBody

UpdateGroupMembersJSONRequestBody defines body for UpdateGroupMembers for application/json ContentType.

type UpdateGroupMembersResponse

type UpdateGroupMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Members Required within this object. Every member username.
		Members []string `json:"members"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUpdateGroupMembersResponse

func ParseUpdateGroupMembersResponse(rsp *http.Response) (*UpdateGroupMembersResponse, error)

ParseUpdateGroupMembersResponse parses an HTTP response from a UpdateGroupMembersWithResponse call

func (UpdateGroupMembersResponse) ContentType

func (r UpdateGroupMembersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateGroupMembersResponse) GetBody

func (r UpdateGroupMembersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateGroupMembersResponse) GetJSON200

func (r UpdateGroupMembersResponse) GetJSON200() *struct {
	// Members Required within this object. Every member username.
	Members []string `json:"members"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateGroupMembersResponse) GetJSON401

func (r UpdateGroupMembersResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateGroupMembersResponse) GetJSON403

func (r UpdateGroupMembersResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateGroupMembersResponse) GetJSON404

func (r UpdateGroupMembersResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateGroupMembersResponse) Status

Status returns HTTPResponse.Status

func (UpdateGroupMembersResponse) StatusCode

func (r UpdateGroupMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateGroupResponse

type UpdateGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GroupDetails
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUpdateGroupResponse

func ParseUpdateGroupResponse(rsp *http.Response) (*UpdateGroupResponse, error)

ParseUpdateGroupResponse parses an HTTP response from a UpdateGroupWithResponse call

func (UpdateGroupResponse) ContentType

func (r UpdateGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateGroupResponse) GetBody

func (r UpdateGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateGroupResponse) GetJSON200

func (r UpdateGroupResponse) GetJSON200() *GroupDetails

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateGroupResponse) GetJSON400

func (r UpdateGroupResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateGroupResponse) GetJSON401

func (r UpdateGroupResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateGroupResponse) GetJSON403

func (r UpdateGroupResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateGroupResponse) GetJSON404

func (r UpdateGroupResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateGroupResponse) Status

func (r UpdateGroupResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateGroupResponse) StatusCode

func (r UpdateGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateLdapGroupSettingsJSONRequestBody

type UpdateLdapGroupSettingsJSONRequestBody = LdapGroupSettings

UpdateLdapGroupSettingsJSONRequestBody defines body for UpdateLdapGroupSettings for application/json ContentType.

type UpdateLdapGroupSettingsResponse

type UpdateLdapGroupSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LdapGroupSettings
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseUpdateLdapGroupSettingsResponse

func ParseUpdateLdapGroupSettingsResponse(rsp *http.Response) (*UpdateLdapGroupSettingsResponse, error)

ParseUpdateLdapGroupSettingsResponse parses an HTTP response from a UpdateLdapGroupSettingsWithResponse call

func (UpdateLdapGroupSettingsResponse) ContentType

func (r UpdateLdapGroupSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateLdapGroupSettingsResponse) GetBody

func (r UpdateLdapGroupSettingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateLdapGroupSettingsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateLdapGroupSettingsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateLdapGroupSettingsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateLdapGroupSettingsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateLdapGroupSettingsResponse) Status

Status returns HTTPResponse.Status

func (UpdateLdapGroupSettingsResponse) StatusCode

func (r UpdateLdapGroupSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateLdapSettingsJSONRequestBody

type UpdateLdapSettingsJSONRequestBody = LdapSettings

UpdateLdapSettingsJSONRequestBody defines body for UpdateLdapSettings for application/json ContentType.

type UpdateLdapSettingsResponse

type UpdateLdapSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LdapSettings
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseUpdateLdapSettingsResponse

func ParseUpdateLdapSettingsResponse(rsp *http.Response) (*UpdateLdapSettingsResponse, error)

ParseUpdateLdapSettingsResponse parses an HTTP response from a UpdateLdapSettingsWithResponse call

func (UpdateLdapSettingsResponse) ContentType

func (r UpdateLdapSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateLdapSettingsResponse) GetBody

func (r UpdateLdapSettingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateLdapSettingsResponse) GetJSON200

func (r UpdateLdapSettingsResponse) GetJSON200() *LdapSettings

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateLdapSettingsResponse) GetJSON400

func (r UpdateLdapSettingsResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateLdapSettingsResponse) GetJSON401

func (r UpdateLdapSettingsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateLdapSettingsResponse) GetJSON403

func (r UpdateLdapSettingsResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateLdapSettingsResponse) Status

Status returns HTTPResponse.Status

func (UpdateLdapSettingsResponse) StatusCode

func (r UpdateLdapSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateOidcConfigurationJSONRequestBody

type UpdateOidcConfigurationJSONRequestBody = OidcConfiguration

UpdateOidcConfigurationJSONRequestBody defines body for UpdateOidcConfiguration for application/json ContentType.

type UpdateOidcConfigurationResponse

type UpdateOidcConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OidcConfiguration
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseUpdateOidcConfigurationResponse

func ParseUpdateOidcConfigurationResponse(rsp *http.Response) (*UpdateOidcConfigurationResponse, error)

ParseUpdateOidcConfigurationResponse parses an HTTP response from a UpdateOidcConfigurationWithResponse call

func (UpdateOidcConfigurationResponse) ContentType

func (r UpdateOidcConfigurationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateOidcConfigurationResponse) GetBody

func (r UpdateOidcConfigurationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateOidcConfigurationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateOidcConfigurationResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateOidcConfigurationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateOidcConfigurationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateOidcConfigurationResponse) Status

Status returns HTTPResponse.Status

func (UpdateOidcConfigurationResponse) StatusCode

func (r UpdateOidcConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateOidcIdentityMappingJSONRequestBody

type UpdateOidcIdentityMappingJSONRequestBody = OidcIdentityMapping

UpdateOidcIdentityMappingJSONRequestBody defines body for UpdateOidcIdentityMapping for application/json ContentType.

type UpdateOidcIdentityMappingResponse

type UpdateOidcIdentityMappingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OidcIdentityMappingResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUpdateOidcIdentityMappingResponse

func ParseUpdateOidcIdentityMappingResponse(rsp *http.Response) (*UpdateOidcIdentityMappingResponse, error)

ParseUpdateOidcIdentityMappingResponse parses an HTTP response from a UpdateOidcIdentityMappingWithResponse call

func (UpdateOidcIdentityMappingResponse) ContentType

func (r UpdateOidcIdentityMappingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateOidcIdentityMappingResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateOidcIdentityMappingResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateOidcIdentityMappingResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateOidcIdentityMappingResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateOidcIdentityMappingResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateOidcIdentityMappingResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateOidcIdentityMappingResponse) Status

Status returns HTTPResponse.Status

func (UpdateOidcIdentityMappingResponse) StatusCode

func (r UpdateOidcIdentityMappingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePasswordPolicyJSONRequestBody

type UpdatePasswordPolicyJSONRequestBody = PasswordPolicy

UpdatePasswordPolicyJSONRequestBody defines body for UpdatePasswordPolicy for application/json ContentType.

type UpdatePasswordPolicyResponse

type UpdatePasswordPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseUpdatePasswordPolicyResponse

func ParseUpdatePasswordPolicyResponse(rsp *http.Response) (*UpdatePasswordPolicyResponse, error)

ParseUpdatePasswordPolicyResponse parses an HTTP response from a UpdatePasswordPolicyWithResponse call

func (UpdatePasswordPolicyResponse) ContentType

func (r UpdatePasswordPolicyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdatePasswordPolicyResponse) GetBody

func (r UpdatePasswordPolicyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdatePasswordPolicyResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdatePasswordPolicyResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdatePasswordPolicyResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdatePasswordPolicyResponse) Status

Status returns HTTPResponse.Status

func (UpdatePasswordPolicyResponse) StatusCode

func (r UpdatePasswordPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePermissionResourceJSONRequestBody

type UpdatePermissionResourceJSONRequestBody = PermissionResourceUpdate

UpdatePermissionResourceJSONRequestBody defines body for UpdatePermissionResource for application/json ContentType.

type UpdatePermissionResourceParamsResourceType

type UpdatePermissionResourceParamsResourceType string

UpdatePermissionResourceParamsResourceType defines parameters for UpdatePermissionResource.

const (
	UpdatePermissionResourceParamsResourceTypeArtifact      UpdatePermissionResourceParamsResourceType = "artifact"
	UpdatePermissionResourceParamsResourceTypeBuild         UpdatePermissionResourceParamsResourceType = "build"
	UpdatePermissionResourceParamsResourceTypeReleaseBundle UpdatePermissionResourceParamsResourceType = "release_bundle"
)

Defines values for UpdatePermissionResourceParamsResourceType.

func (UpdatePermissionResourceParamsResourceType) Valid

Valid indicates whether the value is a known member of the UpdatePermissionResourceParamsResourceType enum.

type UpdatePermissionResourceResponse

type UpdatePermissionResourceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PermissionResource
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUpdatePermissionResourceResponse

func ParseUpdatePermissionResourceResponse(rsp *http.Response) (*UpdatePermissionResourceResponse, error)

ParseUpdatePermissionResourceResponse parses an HTTP response from a UpdatePermissionResourceWithResponse call

func (UpdatePermissionResourceResponse) ContentType

func (r UpdatePermissionResourceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdatePermissionResourceResponse) GetBody

func (r UpdatePermissionResourceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdatePermissionResourceResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdatePermissionResourceResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdatePermissionResourceResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdatePermissionResourceResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdatePermissionResourceResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdatePermissionResourceResponse) Status

Status returns HTTPResponse.Status

func (UpdatePermissionResourceResponse) StatusCode

func (r UpdatePermissionResourceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateProjectGroupJSONRequestBody

type UpdateProjectGroupJSONRequestBody = ProjectGroupUpdate

UpdateProjectGroupJSONRequestBody defines body for UpdateProjectGroup for application/json ContentType.

type UpdateProjectGroupResponse

type UpdateProjectGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ProjectGroup
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUpdateProjectGroupResponse

func ParseUpdateProjectGroupResponse(rsp *http.Response) (*UpdateProjectGroupResponse, error)

ParseUpdateProjectGroupResponse parses an HTTP response from a UpdateProjectGroupWithResponse call

func (UpdateProjectGroupResponse) ContentType

func (r UpdateProjectGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateProjectGroupResponse) GetBody

func (r UpdateProjectGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateProjectGroupResponse) GetJSON200

func (r UpdateProjectGroupResponse) GetJSON200() *ProjectGroup

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateProjectGroupResponse) GetJSON400

func (r UpdateProjectGroupResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateProjectGroupResponse) GetJSON401

func (r UpdateProjectGroupResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateProjectGroupResponse) GetJSON403

func (r UpdateProjectGroupResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateProjectGroupResponse) GetJSON404

func (r UpdateProjectGroupResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateProjectGroupResponse) Status

Status returns HTTPResponse.Status

func (UpdateProjectGroupResponse) StatusCode

func (r UpdateProjectGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateProjectJSONRequestBody

type UpdateProjectJSONRequestBody = ProjectUpdateRequest

UpdateProjectJSONRequestBody defines body for UpdateProject for application/json ContentType.

type UpdateProjectResponse

type UpdateProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Project
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUpdateProjectResponse

func ParseUpdateProjectResponse(rsp *http.Response) (*UpdateProjectResponse, error)

ParseUpdateProjectResponse parses an HTTP response from a UpdateProjectWithResponse call

func (UpdateProjectResponse) ContentType

func (r UpdateProjectResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateProjectResponse) GetBody

func (r UpdateProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateProjectResponse) GetJSON200

func (r UpdateProjectResponse) GetJSON200() *Project

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateProjectResponse) GetJSON400

func (r UpdateProjectResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateProjectResponse) GetJSON401

func (r UpdateProjectResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateProjectResponse) GetJSON403

func (r UpdateProjectResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateProjectResponse) GetJSON404

func (r UpdateProjectResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateProjectResponse) Status

func (r UpdateProjectResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateProjectResponse) StatusCode

func (r UpdateProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateProjectRoleJSONRequestBody

type UpdateProjectRoleJSONRequestBody = ProjectRoleUpdate

UpdateProjectRoleJSONRequestBody defines body for UpdateProjectRole for application/json ContentType.

type UpdateProjectRoleResponse

type UpdateProjectRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ProjectRole
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUpdateProjectRoleResponse

func ParseUpdateProjectRoleResponse(rsp *http.Response) (*UpdateProjectRoleResponse, error)

ParseUpdateProjectRoleResponse parses an HTTP response from a UpdateProjectRoleWithResponse call

func (UpdateProjectRoleResponse) ContentType

func (r UpdateProjectRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateProjectRoleResponse) GetBody

func (r UpdateProjectRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateProjectRoleResponse) GetJSON200

func (r UpdateProjectRoleResponse) GetJSON200() *ProjectRole

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateProjectRoleResponse) GetJSON400

func (r UpdateProjectRoleResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateProjectRoleResponse) GetJSON401

func (r UpdateProjectRoleResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateProjectRoleResponse) GetJSON403

func (r UpdateProjectRoleResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateProjectRoleResponse) GetJSON404

func (r UpdateProjectRoleResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateProjectRoleResponse) Status

func (r UpdateProjectRoleResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateProjectRoleResponse) StatusCode

func (r UpdateProjectRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSamlGeneralSettingsJSONBody

type UpdateSamlGeneralSettingsJSONBody struct {
	// Enable Required within this object. Whether SAML login is enabled at all.
	Enable bool `json:"enable"`
}

UpdateSamlGeneralSettingsJSONBody defines parameters for UpdateSamlGeneralSettings.

type UpdateSamlGeneralSettingsJSONRequestBody

type UpdateSamlGeneralSettingsJSONRequestBody UpdateSamlGeneralSettingsJSONBody

UpdateSamlGeneralSettingsJSONRequestBody defines body for UpdateSamlGeneralSettings for application/json ContentType.

type UpdateSamlGeneralSettingsResponse

type UpdateSamlGeneralSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseUpdateSamlGeneralSettingsResponse

func ParseUpdateSamlGeneralSettingsResponse(rsp *http.Response) (*UpdateSamlGeneralSettingsResponse, error)

ParseUpdateSamlGeneralSettingsResponse parses an HTTP response from a UpdateSamlGeneralSettingsWithResponse call

func (UpdateSamlGeneralSettingsResponse) ContentType

func (r UpdateSamlGeneralSettingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateSamlGeneralSettingsResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateSamlGeneralSettingsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateSamlGeneralSettingsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateSamlGeneralSettingsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateSamlGeneralSettingsResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (UpdateSamlGeneralSettingsResponse) Status

Status returns HTTPResponse.Status

func (UpdateSamlGeneralSettingsResponse) StatusCode

func (r UpdateSamlGeneralSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSamlSettingJSONRequestBody

type UpdateSamlSettingJSONRequestBody = SamlSetting

UpdateSamlSettingJSONRequestBody defines body for UpdateSamlSetting for application/json ContentType.

type UpdateSamlSettingResponse

type UpdateSamlSettingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SamlSetting
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseUpdateSamlSettingResponse

func ParseUpdateSamlSettingResponse(rsp *http.Response) (*UpdateSamlSettingResponse, error)

ParseUpdateSamlSettingResponse parses an HTTP response from a UpdateSamlSettingWithResponse call

func (UpdateSamlSettingResponse) ContentType

func (r UpdateSamlSettingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateSamlSettingResponse) GetBody

func (r UpdateSamlSettingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateSamlSettingResponse) GetJSON200

func (r UpdateSamlSettingResponse) GetJSON200() *SamlSetting

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateSamlSettingResponse) GetJSON400

func (r UpdateSamlSettingResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateSamlSettingResponse) GetJSON401

func (r UpdateSamlSettingResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateSamlSettingResponse) GetJSON403

func (r UpdateSamlSettingResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateSamlSettingResponse) GetJSON501

func (r UpdateSamlSettingResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (UpdateSamlSettingResponse) Status

func (r UpdateSamlSettingResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateSamlSettingResponse) StatusCode

func (r UpdateSamlSettingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateScimGroupApplicationScimPlusJSONRequestBody

type UpdateScimGroupApplicationScimPlusJSONRequestBody = ScimResource

UpdateScimGroupApplicationScimPlusJSONRequestBody defines body for UpdateScimGroup for application/scim+json ContentType.

type UpdateScimGroupResponse

type UpdateScimGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationscimJSON200 the response for an HTTP 200 `application/scim+json` response
	ApplicationscimJSON200 *ScimResource
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseUpdateScimGroupResponse

func ParseUpdateScimGroupResponse(rsp *http.Response) (*UpdateScimGroupResponse, error)

ParseUpdateScimGroupResponse parses an HTTP response from a UpdateScimGroupWithResponse call

func (UpdateScimGroupResponse) ContentType

func (r UpdateScimGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateScimGroupResponse) GetApplicationscimJSON200

func (r UpdateScimGroupResponse) GetApplicationscimJSON200() *ScimResource

GetApplicationscimJSON200 returns the response for an HTTP 200 `application/scim+json` response

func (UpdateScimGroupResponse) GetBody

func (r UpdateScimGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateScimGroupResponse) GetJSON400

func (r UpdateScimGroupResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateScimGroupResponse) GetJSON401

func (r UpdateScimGroupResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateScimGroupResponse) GetJSON404

func (r UpdateScimGroupResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateScimGroupResponse) GetJSON501

func (r UpdateScimGroupResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (UpdateScimGroupResponse) Status

func (r UpdateScimGroupResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateScimGroupResponse) StatusCode

func (r UpdateScimGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateScimUserApplicationScimPlusJSONRequestBody

type UpdateScimUserApplicationScimPlusJSONRequestBody = ScimResource

UpdateScimUserApplicationScimPlusJSONRequestBody defines body for UpdateScimUser for application/scim+json ContentType.

type UpdateScimUserResponse

type UpdateScimUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationscimJSON200 the response for an HTTP 200 `application/scim+json` response
	ApplicationscimJSON200 *ScimResource
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseUpdateScimUserResponse

func ParseUpdateScimUserResponse(rsp *http.Response) (*UpdateScimUserResponse, error)

ParseUpdateScimUserResponse parses an HTTP response from a UpdateScimUserWithResponse call

func (UpdateScimUserResponse) ContentType

func (r UpdateScimUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateScimUserResponse) GetApplicationscimJSON200

func (r UpdateScimUserResponse) GetApplicationscimJSON200() *ScimResource

GetApplicationscimJSON200 returns the response for an HTTP 200 `application/scim+json` response

func (UpdateScimUserResponse) GetBody

func (r UpdateScimUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateScimUserResponse) GetJSON400

func (r UpdateScimUserResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateScimUserResponse) GetJSON401

func (r UpdateScimUserResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateScimUserResponse) GetJSON404

func (r UpdateScimUserResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateScimUserResponse) GetJSON501

func (r UpdateScimUserResponse) GetJSON501() *ErrorResponse

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (UpdateScimUserResponse) Status

func (r UpdateScimUserResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateScimUserResponse) StatusCode

func (r UpdateScimUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateUserGroupsJSONBody

type UpdateUserGroupsJSONBody struct {
	// Add Optional within this object. Group names to join. Every name must exist.
	Add *[]string `json:"add,omitempty"`

	// Remove Optional within this object. Group names to leave.
	Remove *[]string `json:"remove,omitempty"`
}

UpdateUserGroupsJSONBody defines parameters for UpdateUserGroups.

type UpdateUserGroupsJSONRequestBody

type UpdateUserGroupsJSONRequestBody UpdateUserGroupsJSONBody

UpdateUserGroupsJSONRequestBody defines body for UpdateUserGroups for application/json ContentType.

type UpdateUserGroupsResponse

type UpdateUserGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Groups Required within this object. Every group the user now belongs to.
		Groups []string `json:"groups"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUpdateUserGroupsResponse

func ParseUpdateUserGroupsResponse(rsp *http.Response) (*UpdateUserGroupsResponse, error)

ParseUpdateUserGroupsResponse parses an HTTP response from a UpdateUserGroupsWithResponse call

func (UpdateUserGroupsResponse) ContentType

func (r UpdateUserGroupsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateUserGroupsResponse) GetBody

func (r UpdateUserGroupsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateUserGroupsResponse) GetJSON200

func (r UpdateUserGroupsResponse) GetJSON200() *struct {
	// Groups Required within this object. Every group the user now belongs to.
	Groups []string `json:"groups"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateUserGroupsResponse) GetJSON400

func (r UpdateUserGroupsResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateUserGroupsResponse) GetJSON401

func (r UpdateUserGroupsResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateUserGroupsResponse) GetJSON403

func (r UpdateUserGroupsResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateUserGroupsResponse) GetJSON404

func (r UpdateUserGroupsResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateUserGroupsResponse) Status

func (r UpdateUserGroupsResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateUserGroupsResponse) StatusCode

func (r UpdateUserGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateUserJSONRequestBody

type UpdateUserJSONRequestBody = UserUpdateRequest

UpdateUserJSONRequestBody defines body for UpdateUser for application/json ContentType.

type UpdateUserResponse

type UpdateUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserDetails
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUpdateUserResponse

func ParseUpdateUserResponse(rsp *http.Response) (*UpdateUserResponse, error)

ParseUpdateUserResponse parses an HTTP response from a UpdateUserWithResponse call

func (UpdateUserResponse) ContentType

func (r UpdateUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateUserResponse) GetBody

func (r UpdateUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateUserResponse) GetJSON200

func (r UpdateUserResponse) GetJSON200() *UserDetails

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateUserResponse) GetJSON400

func (r UpdateUserResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateUserResponse) GetJSON401

func (r UpdateUserResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateUserResponse) GetJSON403

func (r UpdateUserResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateUserResponse) GetJSON404

func (r UpdateUserResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateUserResponse) Status

func (r UpdateUserResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateUserResponse) StatusCode

func (r UpdateUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpsertCrowdConfigurationJSONRequestBody

type UpsertCrowdConfigurationJSONRequestBody = CrowdConfiguration

UpsertCrowdConfigurationJSONRequestBody defines body for UpsertCrowdConfiguration for application/json ContentType.

type UpsertCrowdConfigurationResponse

type UpsertCrowdConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CrowdConfiguration
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseUpsertCrowdConfigurationResponse

func ParseUpsertCrowdConfigurationResponse(rsp *http.Response) (*UpsertCrowdConfigurationResponse, error)

ParseUpsertCrowdConfigurationResponse parses an HTTP response from a UpsertCrowdConfigurationWithResponse call

func (UpsertCrowdConfigurationResponse) ContentType

func (r UpsertCrowdConfigurationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpsertCrowdConfigurationResponse) GetBody

func (r UpsertCrowdConfigurationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpsertCrowdConfigurationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpsertCrowdConfigurationResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpsertCrowdConfigurationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpsertCrowdConfigurationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpsertCrowdConfigurationResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (UpsertCrowdConfigurationResponse) Status

Status returns HTTPResponse.Status

func (UpsertCrowdConfigurationResponse) StatusCode

func (r UpsertCrowdConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpsertHttpSsoConfigurationJSONRequestBody

type UpsertHttpSsoConfigurationJSONRequestBody = HttpSsoConfiguration

UpsertHttpSsoConfigurationJSONRequestBody defines body for UpsertHttpSsoConfiguration for application/json ContentType.

type UpsertHttpSsoConfigurationResponse

type UpsertHttpSsoConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *HttpSsoConfiguration
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseUpsertHttpSsoConfigurationResponse

func ParseUpsertHttpSsoConfigurationResponse(rsp *http.Response) (*UpsertHttpSsoConfigurationResponse, error)

ParseUpsertHttpSsoConfigurationResponse parses an HTTP response from a UpsertHttpSsoConfigurationWithResponse call

func (UpsertHttpSsoConfigurationResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpsertHttpSsoConfigurationResponse) GetBody

GetBody returns the raw response body bytes

func (UpsertHttpSsoConfigurationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpsertHttpSsoConfigurationResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpsertHttpSsoConfigurationResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpsertHttpSsoConfigurationResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpsertHttpSsoConfigurationResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (UpsertHttpSsoConfigurationResponse) Status

Status returns HTTPResponse.Status

func (UpsertHttpSsoConfigurationResponse) StatusCode

func (r UpsertHttpSsoConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserCreateRequest

type UserCreateRequest struct {
	// Admin Optional within this object. Grants platform admin rights. Defaults to false.
	Admin *bool `json:"admin,omitempty"`

	// DisableUiAccess Optional within this object. Blocks interactive UI login; API access is unaffected. Defaults to false.
	DisableUiAccess *bool `json:"disable_ui_access,omitempty"`

	// Email Required within this object. The user's email address.
	Email openapi_types.Email `json:"email"`

	// Groups Optional within this object. Groups to join on creation; each must exist.
	Groups *[]string `json:"groups,omitempty"`

	// InternalPasswordDisabled Optional within this object. When true the user cannot log in with a password and must use tokens or an external identity. Defaults to false.
	InternalPasswordDisabled *bool `json:"internal_password_disabled,omitempty"`

	// ManageWebhook Optional within this object. Allows managing webhook subscriptions. Defaults to false.
	ManageWebhook *bool `json:"manage_webhook,omitempty"`

	// Password Optional within this object. The clear-text password; required unless internal_password_disabled is true. Checked against the password policy and stored as a hash.
	Password *string `json:"password,omitempty"`

	// PlatformAuditor Optional within this object. Read-only access to audit information. Defaults to false.
	PlatformAuditor *bool `json:"platform_auditor,omitempty"`

	// PolicyManager Optional within this object. Xray policy management right. Stored and echoed; no effect.
	PolicyManager *bool `json:"policy_manager,omitempty"`

	// PolicyViewer Optional within this object. Xray policy view right. Stored and echoed; no effect.
	PolicyViewer *bool `json:"policy_viewer,omitempty"`

	// ProfileUpdatable Optional within this object. Whether the user may change their own email and password. Defaults to true.
	ProfileUpdatable *bool `json:"profile_updatable,omitempty"`

	// ReportsManager Optional within this object. Xray reports right. Stored and echoed; no effect.
	ReportsManager *bool `json:"reports_manager,omitempty"`

	// ResourcesManager Optional within this object. Manage Resources role, with which the user may list, read, create, replace and delete every permission through the permission APIs, under a token only while its scope acts as the user. It grants nothing else.
	ResourcesManager *bool `json:"resources_manager,omitempty"`

	// Username Required within this object. The login name. Stored lower-case; at most 255 characters; must not be admin or anonymous.
	Username string `json:"username"`

	// WatchManager Optional within this object. Xray watch management right. Stored and echoed; no effect.
	WatchManager *bool `json:"watch_manager,omitempty"`
}

UserCreateRequest A new internal user.

type UserDetails

type UserDetails struct {
	// Admin Required within this object. Whether the admin flag is set directly on the user.
	Admin bool `json:"admin"`

	// DisableUiAccess Required within this object. Whether UI login is blocked.
	DisableUiAccess bool `json:"disable_ui_access"`

	// EffectiveAdmin Required within this object. Server-owned. True when the user is an admin directly or through a group with admin_privileges.
	EffectiveAdmin bool `json:"effective_admin"`

	// Email Required within this object. The email address.
	Email string `json:"email"`

	// Groups Required within this object. Names of the groups the user belongs to, possibly empty.
	Groups []string `json:"groups"`

	// InternalPasswordDisabled Required within this object. Whether password login is disabled.
	InternalPasswordDisabled bool `json:"internal_password_disabled"`

	// LastLoggedIn Required within this object. Server-owned. RFC 3339 time of the last successful authentication; null when the user has never logged in.
	LastLoggedIn *time.Time `json:"last_logged_in"`

	// ManageWebhook Optional within this object. Webhook management right.
	ManageWebhook *bool `json:"manage_webhook,omitempty"`

	// PlatformAuditor Optional within this object. Audit read right.
	PlatformAuditor *bool `json:"platform_auditor,omitempty"`

	// PolicyManager Optional within this object. Echo of the stored flag.
	PolicyManager *bool `json:"policy_manager,omitempty"`

	// PolicyViewer Optional within this object. Echo of the stored flag.
	PolicyViewer *bool `json:"policy_viewer,omitempty"`

	// ProfileUpdatable Required within this object. Whether the user may edit their own profile.
	ProfileUpdatable bool `json:"profile_updatable"`

	// Realm Required within this object. Server-owned. internal for locally stored users.
	Realm string `json:"realm"`

	// ReportsManager Optional within this object. Echo of the stored flag.
	ReportsManager *bool `json:"reports_manager,omitempty"`

	// ResourcesManager Optional within this object. Manage Resources role, with which the user may list, read, create, replace and delete every permission through the permission APIs, under a token only while its scope acts as the user. It grants nothing else.
	ResourcesManager *bool `json:"resources_manager,omitempty"`

	// Status Required within this object. Server-owned lifecycle state. locked is set by the user lock policy after repeated failed logins.
	Status UserDetailsStatus `json:"status"`

	// Username Required within this object. The login name.
	Username string `json:"username"`

	// WatchManager Optional within this object. Echo of the stored flag.
	WatchManager *bool `json:"watch_manager,omitempty"`
}

UserDetails A stored user as returned by every read. Secrets are never included.

type UserDetailsStatus

type UserDetailsStatus string

UserDetailsStatus Required within this object. Server-owned lifecycle state. locked is set by the user lock policy after repeated failed logins.

const (
	UserDetailsStatusDisabled UserDetailsStatus = "disabled"
	UserDetailsStatusEnabled  UserDetailsStatus = "enabled"
	UserDetailsStatusInvited  UserDetailsStatus = "invited"
	UserDetailsStatusLocked   UserDetailsStatus = "locked"
)

Defines values for UserDetailsStatus.

func (UserDetailsStatus) Valid

func (e UserDetailsStatus) Valid() bool

Valid indicates whether the value is a known member of the UserDetailsStatus enum.

type UserListResponse

type UserListResponse struct {
	// Cursor Optional within this object. Present only when more users remain; pass it back as the cursor query parameter.
	Cursor *string `json:"cursor,omitempty"`

	// Users Required within this object. The users in this page, possibly empty.
	Users []struct {
		// Realm Required within this object. Where the user is authenticated: internal for locally stored users.
		Realm string `json:"realm"`

		// Status Required within this object. The lifecycle state, one of invited, enabled, disabled, locked.
		Status string `json:"status"`

		// Uri Required within this object. Absolute URL of the user's details resource.
		Uri string `json:"uri"`

		// Username Required within this object. The login name.
		Username string `json:"username"`
	} `json:"users"`
}

UserListResponse One page of the user listing.

type UserLockPolicyConfig

type UserLockPolicyConfig struct {
	// AdminPasswordExpirable Optional within this object. Whether password expiry also applies to administrators. Stored and returned only. Default false.
	AdminPasswordExpirable *bool `json:"adminPasswordExpirable,omitempty"`

	// Attempts Optional within this object. Failed logins before a user is locked, from 0 through 100. 0 turns locking off and unlocks every locked user; /artifactory/api/security/userLockPolicy then reports enabled false and keeps its previous loginAttempts. Default 0.
	Attempts *int `json:"attempts,omitempty"`

	// BaseLoginDelayMillis Optional within this object. First temporary login suspension, in milliseconds, after maxLoginDelayIncorrectAttempts failed logins; each further failure doubles it. 0 turns suspension off. Default 1000.
	BaseLoginDelayMillis *int64 `json:"baseLoginDelayMillis,omitempty"`

	// ClientLoginSuspensionEnabled Optional within this object. Whether failed Basic logins suspend the user name; false also lifts suspensions in progress. Default true.
	ClientLoginSuspensionEnabled *bool `json:"clientLoginSuspensionEnabled,omitempty"`

	// MaxLoginDelayIncorrectAttempts Optional within this object. The number of failed Basic logins in a row that starts a temporary login suspension; 0 and 1 both suspend from the first. Default 2.
	MaxLoginDelayIncorrectAttempts *int `json:"maxLoginDelayIncorrectAttempts,omitempty"`

	// MaxLoginDelayMillis Optional within this object. Longest temporary login suspension, in milliseconds. 0 turns suspension off. Default 60000.
	MaxLoginDelayMillis *int64 `json:"maxLoginDelayMillis,omitempty"`

	// PasswordExpiryDays Optional within this object. Days after which an internal user's password expires; 0 means passwords do not expire. /artifactory/api/security/configuration/passwordExpirationPolicy reads it as enabled with passwordMaxAge, and keeps its previous passwordMaxAge while this is 0. Default 0.
	PasswordExpiryDays *int `json:"passwordExpiryDays,omitempty"`

	// SecondsToUnlock Optional within this object. Seconds to wait before a locked user may sign in again. Stored and returned only; a locked user stays locked until an administrator unlocks them. Default 1.
	SecondsToUnlock *int `json:"secondsToUnlock,omitempty"`
}

UserLockPolicyConfig The Access user lock policy. One document over the same settings as /artifactory/api/security/userLockPolicy and /artifactory/api/security/configuration/passwordExpirationPolicy, so a change through either API reads back through both. attempts and passwordExpiryDays are enforced, and so is the temporary login suspension that the four login delay fields set. From the maxLoginDelayIncorrectAttempts-th failed Basic login in a row for one user name, every Basic login with that name answers 403 for baseLoginDelayMillis, the right password included, and each further failure after the suspension doubles the delay up to maxLoginDelayMillis. Logins refused while suspended are not counted; a login whose password verifies clears the failures. Each node keeps the suspensions in memory, and tokens are not suspended. secondsToUnlock and adminPasswordExpirable are stored and returned only. A locked user stays locked until an administrator unlocks them, and administrators are not exempt from password expiry. Every Basic login of a locked user answers 403, whatever its password, before the suspension or the password is checked, and is not counted.

type UserUpdateRequest

type UserUpdateRequest struct {
	// Admin Optional within this object. Platform admin flag.
	Admin *bool `json:"admin,omitempty"`

	// DisableUiAccess Optional within this object. Blocks or allows UI login.
	DisableUiAccess *bool `json:"disable_ui_access,omitempty"`

	// Email Optional within this object. The new email address.
	Email *openapi_types.Email `json:"email,omitempty"`

	// InternalPasswordDisabled Optional within this object. Disables or re-enables password login.
	InternalPasswordDisabled *bool `json:"internal_password_disabled,omitempty"`

	// ManageWebhook Optional within this object. Webhook management right.
	ManageWebhook *bool `json:"manage_webhook,omitempty"`

	// Password Optional within this object. A new clear-text password; required when internal_password_disabled changes to false for a user without one.
	Password *string `json:"password,omitempty"`

	// PlatformAuditor Optional within this object. Audit read right.
	PlatformAuditor *bool `json:"platform_auditor,omitempty"`

	// PolicyManager Optional within this object. Stored and echoed; no effect.
	PolicyManager *bool `json:"policy_manager,omitempty"`

	// PolicyViewer Optional within this object. Stored and echoed; no effect.
	PolicyViewer *bool `json:"policy_viewer,omitempty"`

	// ProfileUpdatable Optional within this object. Whether the user may edit their own profile.
	ProfileUpdatable *bool `json:"profile_updatable,omitempty"`

	// ReportsManager Optional within this object. Stored and echoed; no effect.
	ReportsManager *bool `json:"reports_manager,omitempty"`

	// ResourcesManager Optional within this object. Manage Resources role, with which the user may list, read, create, replace and delete every permission through the permission APIs, under a token only while its scope acts as the user. It grants nothing else.
	ResourcesManager *bool `json:"resources_manager,omitempty"`

	// WatchManager Optional within this object. Stored and echoed; no effect.
	WatchManager *bool `json:"watch_manager,omitempty"`
}

UserUpdateRequest Fields of a user that may change. Every field is optional; omitted fields keep their value.

type Username

type Username = string

Username defines model for username.

type ValidateFederationTargetJSONRequestBody

type ValidateFederationTargetJSONRequestBody = FederationValidateRequest

ValidateFederationTargetJSONRequestBody defines body for ValidateFederationTarget for application/json ContentType.

type ValidateFederationTargetResponse

type ValidateFederationTargetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseValidateFederationTargetResponse

func ParseValidateFederationTargetResponse(rsp *http.Response) (*ValidateFederationTargetResponse, error)

ParseValidateFederationTargetResponse parses an HTTP response from a ValidateFederationTargetWithResponse call

func (ValidateFederationTargetResponse) ContentType

func (r ValidateFederationTargetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ValidateFederationTargetResponse) GetBody

func (r ValidateFederationTargetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ValidateFederationTargetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ValidateFederationTargetResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ValidateFederationTargetResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ValidateFederationTargetResponse) Status

Status returns HTTPResponse.Status

func (ValidateFederationTargetResponse) StatusCode

func (r ValidateFederationTargetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VaultConfig

type VaultConfig struct {
	// Config Required within this object. Connection settings. Secrets inside are never returned.
	Config HashicorpVaultConfig `json:"config"`

	// Key Required within this object. Unique key of the connection, as used in the path and in a keypair's vaultKey.
	Key string `json:"key"`

	// Type Required within this object. Secret manager kind. Only HashicorpVault exists.
	Type VaultConfigType `json:"type"`
}

VaultConfig A stored HashiCorp Vault connection. Secrets are never returned.

type VaultConfigRequest

type VaultConfigRequest struct {
	// Config Required within this object. Connection settings.
	Config HashicorpVaultConfig `json:"config"`

	// Key Optional within this object. Key of the connection. When present it must equal the vault_key path parameter.
	Key *string `json:"key,omitempty"`

	// Type Required within this object. Secret manager kind. Only HashicorpVault exists.
	Type VaultConfigRequestType `json:"type"`
}

VaultConfigRequest A Vault connection to store or test.

type VaultConfigRequestType

type VaultConfigRequestType string

VaultConfigRequestType Required within this object. Secret manager kind. Only HashicorpVault exists.

const (
	VaultConfigRequestTypeHashicorpVault VaultConfigRequestType = "HashicorpVault"
)

Defines values for VaultConfigRequestType.

func (VaultConfigRequestType) Valid

func (e VaultConfigRequestType) Valid() bool

Valid indicates whether the value is a known member of the VaultConfigRequestType enum.

type VaultConfigType

type VaultConfigType string

VaultConfigType Required within this object. Secret manager kind. Only HashicorpVault exists.

const (
	VaultConfigTypeHashicorpVault VaultConfigType = "HashicorpVault"
)

Defines values for VaultConfigType.

func (VaultConfigType) Valid

func (e VaultConfigType) Valid() bool

Valid indicates whether the value is a known member of the VaultConfigType enum.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL