Skip to content

Commit

Permalink
Merge pull request #3 from shijl0925/create-pull-request/patch
Browse files Browse the repository at this point in the history
Changes by create-pull-request action
  • Loading branch information
shijl0925 authored Jul 7, 2024
2 parents 4a140dc + 3d6e7c3 commit 918add4
Show file tree
Hide file tree
Showing 42 changed files with 788 additions and 775 deletions.
48 changes: 24 additions & 24 deletions sonarqube/alm_integrations_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ type AlmIntegrations service
// Since 8.6
// Deprecated since 10.5
// Changelog:
// 10.5: This endpoint is deprecated, please use its API v2 version /api/v2/dop-translation/bound-projects
// 10.3: Parameter almSetting becomes optional if you have only one configuration for Azure
// 10.3: Endpoint visibility change from internal to public
//
// 10.5: This endpoint is deprecated, please use its API v2 version /api/v2/dop-translation/bound-projects
// 10.3: Parameter almSetting becomes optional if you have only one configuration for Azure
// 10.3: Endpoint visibility change from internal to public
func (s *AlmIntegrations) ImportAzureProject(ctx context.Context, r alm_integrations.ImportAzureProjectRequest) (*http.Response, error) {
u := fmt.Sprintf("%s/import_azure_project", s.path)

Expand All @@ -38,9 +39,10 @@ func (s *AlmIntegrations) ImportAzureProject(ctx context.Context, r alm_integrat
// Since 9.0
// Deprecated since 10.5
// Changelog:
// 10.5: This endpoint is deprecated, please use its API v2 version /api/v2/dop-translation/bound-projects
// 10.3: Parameter almSetting becomes optional if you have only one configuration for BitBucket Cloud
// 10.3: Endpoint visibility change from internal to public
//
// 10.5: This endpoint is deprecated, please use its API v2 version /api/v2/dop-translation/bound-projects
// 10.3: Parameter almSetting becomes optional if you have only one configuration for BitBucket Cloud
// 10.3: Endpoint visibility change from internal to public
func (s *AlmIntegrations) ImportBitbucketcloudRepo(ctx context.Context, r alm_integrations.ImportBitbucketcloudRepoRequest) (*http.Response, error) {
u := fmt.Sprintf("%s/import_bitbucketcloud_repo", s.path)

Expand All @@ -58,9 +60,10 @@ func (s *AlmIntegrations) ImportBitbucketcloudRepo(ctx context.Context, r alm_in
// Since 8.2
// Deprecated since 10.5
// Changelog:
// 10.5: This endpoint is deprecated, please use its API v2 version /api/v2/dop-translation/bound-projects
// 10.3: Parameter almSetting becomes optional if you have only one configuration for BitBucket Server
// 10.3: Endpoint visibility change from internal to public
//
// 10.5: This endpoint is deprecated, please use its API v2 version /api/v2/dop-translation/bound-projects
// 10.3: Parameter almSetting becomes optional if you have only one configuration for BitBucket Server
// 10.3: Endpoint visibility change from internal to public
func (s *AlmIntegrations) ImportBitbucketserverProject(ctx context.Context, r alm_integrations.ImportBitbucketserverProjectRequest) (*http.Response, error) {
u := fmt.Sprintf("%s/import_bitbucketserver_project", s.path)

Expand All @@ -78,10 +81,11 @@ func (s *AlmIntegrations) ImportBitbucketserverProject(ctx context.Context, r al
// Since 8.4
// Deprecated since 10.5
// Changelog:
// 10.5: This endpoint is deprecated, please use its API v2 version /api/v2/dop-translation/bound-projects
// 10.3: Parameter organization is not necessary anymore
// 10.3: Parameter almSetting becomes optional if you have only one configuration for GitHub
// 10.3: Endpoint visibility change from internal to public
//
// 10.5: This endpoint is deprecated, please use its API v2 version /api/v2/dop-translation/bound-projects
// 10.3: Parameter organization is not necessary anymore
// 10.3: Parameter almSetting becomes optional if you have only one configuration for GitHub
// 10.3: Endpoint visibility change from internal to public
func (s *AlmIntegrations) ImportGithubProject(ctx context.Context, r alm_integrations.ImportGithubProjectRequest) (*http.Response, error) {
u := fmt.Sprintf("%s/import_github_project", s.path)

Expand All @@ -98,8 +102,9 @@ func (s *AlmIntegrations) ImportGithubProject(ctx context.Context, r alm_integra
// Since 8.5
// Deprecated since 10.5
// Changelog:
// 10.5: This endpoint is deprecated, please use its API v2 version /api/v2/dop-translation/bound-projects
// 10.3: Parameter almSetting becomes optional if you have only one configuration for GitLab
//
// 10.5: This endpoint is deprecated, please use its API v2 version /api/v2/dop-translation/bound-projects
// 10.3: Parameter almSetting becomes optional if you have only one configuration for GitLab
func (s *AlmIntegrations) ImportGitlabProject(ctx context.Context, r alm_integrations.ImportGitlabProjectRequest) (*http.Response, error) {
u := fmt.Sprintf("%s/import_gitlab_project", s.path)

Expand All @@ -114,7 +119,6 @@ func (s *AlmIntegrations) ImportGitlabProject(ctx context.Context, r alm_integra
// ListAzureProjects - List Azure projects
// Requires the 'Create Projects' permission
// Since 8.6
// Changelog:
func (s *AlmIntegrations) ListAzureProjects(ctx context.Context, r alm_integrations.ListAzureProjectsRequest) (*alm_integrations.ListAzureProjectsResponse, *http.Response, error) {
u := fmt.Sprintf("%s/list_azure_projects", s.path)
v := new(alm_integrations.ListAzureProjectsResponse)
Expand All @@ -130,7 +134,6 @@ func (s *AlmIntegrations) ListAzureProjects(ctx context.Context, r alm_integrati
// ListBitbucketserverProjects - List the Bitbucket Server projects
// Requires the 'Create Projects' permission
// Since 8.2
// Changelog:
func (s *AlmIntegrations) ListBitbucketserverProjects(ctx context.Context, r alm_integrations.ListBitbucketserverProjectsRequest) (*alm_integrations.ListBitbucketserverProjectsResponse, *http.Response, error) {
u := fmt.Sprintf("%s/list_bitbucketserver_projects", s.path)
v := new(alm_integrations.ListBitbucketserverProjectsResponse)
Expand All @@ -146,7 +149,6 @@ func (s *AlmIntegrations) ListBitbucketserverProjects(ctx context.Context, r alm
// SearchAzureRepos - Search the Azure repositories
// Requires the 'Create Projects' permission
// Since 8.6
// Changelog:
func (s *AlmIntegrations) SearchAzureRepos(ctx context.Context, r alm_integrations.SearchAzureReposRequest) (*alm_integrations.SearchAzureReposResponse, *http.Response, error) {
u := fmt.Sprintf("%s/search_azure_repos", s.path)
v := new(alm_integrations.SearchAzureReposResponse)
Expand All @@ -162,7 +164,6 @@ func (s *AlmIntegrations) SearchAzureRepos(ctx context.Context, r alm_integratio
// SearchBitbucketcloudRepos - Search the Bitbucket Cloud repositories
// Requires the 'Create Projects' permission
// Since 9.0
// Changelog:
func (s *AlmIntegrations) SearchBitbucketcloudRepos(ctx context.Context, r alm_integrations.SearchBitbucketcloudReposRequest, p paging.Params) (*alm_integrations.SearchBitbucketcloudReposResponse, *http.Response, error) {
u := fmt.Sprintf("%s/search_bitbucketcloud_repos", s.path)
v := new(alm_integrations.SearchBitbucketcloudReposResponse)
Expand Down Expand Up @@ -199,7 +200,6 @@ func (s *AlmIntegrations) SearchBitbucketcloudReposAll(ctx context.Context, r al
// SearchBitbucketserverRepos - Search the Bitbucket Server repositories with REPO_ADMIN access
// Requires the 'Create Projects' permission
// Since 8.2
// Changelog:
func (s *AlmIntegrations) SearchBitbucketserverRepos(ctx context.Context, r alm_integrations.SearchBitbucketserverReposRequest) (*alm_integrations.SearchBitbucketserverReposResponse, *http.Response, error) {
u := fmt.Sprintf("%s/search_bitbucketserver_repos", s.path)
v := new(alm_integrations.SearchBitbucketserverReposResponse)
Expand All @@ -215,7 +215,6 @@ func (s *AlmIntegrations) SearchBitbucketserverRepos(ctx context.Context, r alm_
// SearchGitlabRepos - Search the GitLab projects.
// Requires the 'Create Projects' permission
// Since 8.5
// Changelog:
func (s *AlmIntegrations) SearchGitlabRepos(ctx context.Context, r alm_integrations.SearchGitlabReposRequest, p paging.Params) (*alm_integrations.SearchGitlabReposResponse, *http.Response, error) {
u := fmt.Sprintf("%s/search_gitlab_repos", s.path)
v := new(alm_integrations.SearchGitlabReposResponse)
Expand Down Expand Up @@ -253,9 +252,10 @@ func (s *AlmIntegrations) SearchGitlabReposAll(ctx context.Context, r alm_integr
// Requires the 'Create Projects' permission
// Since 8.2
// Changelog:
// 10.3: Allow setting Personal Access Tokens for all DevOps platforms
// 10.3: Parameter almSetting becomes optional if you have only one DevOps Platform configuration
// 9.0: Bitbucket Cloud support and optional Username parameter were added
//
// 10.3: Allow setting Personal Access Tokens for all DevOps platforms
// 10.3: Parameter almSetting becomes optional if you have only one DevOps Platform configuration
// 9.0: Bitbucket Cloud support and optional Username parameter were added
func (s *AlmIntegrations) SetPat(ctx context.Context, r alm_integrations.SetPatRequest) (*http.Response, error) {
u := fmt.Sprintf("%s/set_pat", s.path)

Expand Down
Loading

0 comments on commit 918add4

Please sign in to comment.