diff --git a/sonarqube/measures/measures_gen.go b/sonarqube/measures/measures_gen.go
index af280e1..e38843f 100644
--- a/sonarqube/measures/measures_gen.go
+++ b/sonarqube/measures/measures_gen.go
@@ -53,7 +53,7 @@ type ComponentTreeRequest struct {
Asc string `url:"asc,omitempty"` // Ascending sort
Branch string `url:"branch,omitempty"` // Since 6.6;Branch key. Not available in the community edition.
Component string `url:"component"` // Component key. The search is based on this component.
- MetricKeys string `url:"metricKeys"` // Comma-separated list of metric keys. Types DISTRIB are not allowed. For type DATA only new_security_issues, new_reliability_issues, security_issues, maintainability_issues, reliability_issues, new_maintainability_issues metrics are supported
+ MetricKeys string `url:"metricKeys"` // Comma-separated list of metric keys. Types DISTRIB are not allowed. For type DATA only security_issues, maintainability_issues, reliability_issues, new_maintainability_issues, new_security_issues, new_reliability_issues metrics are supported
MetricPeriodSort string `url:"metricPeriodSort,omitempty"` // Since 5.5;Sort measures by leak period or not ?. The 's' parameter must contain the 'metricPeriod' value.
MetricSort string `url:"metricSort,omitempty"` // Metric key to sort by. The 's' parameter must contain the 'metric' or 'metricPeriod' value. It must be part of the 'metricKeys' parameter
MetricSortFilter string `url:"metricSortFilter,omitempty"` // Filter components. Sort must be on a metric. Possible values are:
- all: return all components
- withMeasuresOnly: filter out components that do not have a measure on the sorted metric
diff --git a/sonarqube/new_code_periods/new_code_periods_gen.go b/sonarqube/new_code_periods/new_code_periods_gen.go
index 2afb930..c31e622 100644
--- a/sonarqube/new_code_periods/new_code_periods_gen.go
+++ b/sonarqube/new_code_periods/new_code_periods_gen.go
@@ -2,7 +2,7 @@ package new_code_periods
// AUTOMATICALLY GENERATED, DO NOT EDIT BY HAND!
-// ListRequest Lists the new code definition for all branches in a project.
Requires the permission to browse the project
+// ListRequest Lists the new code definition for all branches in a project.
Requires the permission to browse the project
type ListRequest struct {
Project string `url:"project"` // Project key
}
@@ -19,7 +19,7 @@ type ListResponse struct {
} `json:"newCodePeriods,omitempty"`
}
-// SetRequest Updates the new code definition on different levels:
- Not providing a project key and a branch key will update the default value at global level. Existing projects or branches having a specific new code definition will not be impacted
- Project key must be provided to update the value for a project
- Both project and branch keys must be provided to update the value for a branch
Requires one of the following permissions: - 'Administer System' to change the global setting
- 'Administer' rights on the specified project to change the project setting
+// SetRequest Updates the new code definition on different levels:
- Not providing a project key and a branch key will update the default value at global level. Existing projects or branches having a specific new code definition will not be impacted
- Project key must be provided to update the value for a project
- Both project and branch keys must be provided to update the value for a branch
Requires one of the following permissions: - 'Administer System' to change the global setting
- 'Administer' rights on the specified project to change the project setting
type SetRequest struct {
Branch string `form:"branch,omitempty"` // Branch key
Project string `form:"project,omitempty"` // Project key
@@ -27,7 +27,7 @@ type SetRequest struct {
Value string `form:"value,omitempty"` // Value
For each type, a different value is expected:- the uuid of an analysis, when type is SPECIFIC_ANALYSIS
- no value, when type is PREVIOUS_VERSION
- a number between 1 and 90, when type is NUMBER_OF_DAYS
- a string, when type is REFERENCE_BRANCH
}
-// ShowRequest Shows the new code definition.
If the component requested doesn't exist or if no new code definition is set for it, a value is inherited from the project or from the global setting.Requires one of the following permissions if a component is specified: - 'Administer' rights on the specified component
- 'Execute analysis' rights on the specified component
+// ShowRequest Shows the new code definition.
If the component requested doesn't exist or if no new code definition is set for it, a value is inherited from the project or from the global setting.Requires one of the following permissions if a component is specified: - 'Administer' rights on the specified component
- 'Execute analysis' rights on the specified component
type ShowRequest struct {
Branch string `url:"branch,omitempty"` // Branch key
Project string `url:"project,omitempty"` // Project key
@@ -41,7 +41,7 @@ type ShowResponse struct {
Type string `json:"type,omitempty"`
}
-// UnsetRequest Unsets the new code definition for a branch, project or global. It requires the inherited New Code Definition to be compatible with the Clean as You Code methodology, and one of the following permissions: - 'Administer System' to change the global setting
- 'Administer' rights for a specified component
+// UnsetRequest Unsets the new code definition for a branch, project or global. It requires the inherited New Code Definition to be compatible with the Clean as You Code methodology, and one of the following permissions: - 'Administer System' to change the global setting
- 'Administer' rights for a specified component
type UnsetRequest struct {
Branch string `form:"branch,omitempty"` // Branch key
Project string `form:"project,omitempty"` // Project key
diff --git a/sonarqube/new_code_periods_gen.go b/sonarqube/new_code_periods_gen.go
index f6d53e0..7973c5c 100644
--- a/sonarqube/new_code_periods_gen.go
+++ b/sonarqube/new_code_periods_gen.go
@@ -11,7 +11,7 @@ import (
type NewCodePeriods service
-// List - Lists the new code definition for all branches in a project.
+// List - Lists the new code definition for all branches in a project.
// Requires the permission to browse the project
// Since 8.0
func (s *NewCodePeriods) List(ctx context.Context, r new_code_periods.ListRequest) (*new_code_periods.ListResponse, *http.Response, error) {
@@ -26,7 +26,7 @@ func (s *NewCodePeriods) List(ctx context.Context, r new_code_periods.ListReques
return v, resp, nil
}
-// Set - Updates the new code definition on different levels:
+// Set - Updates the new code definition on different levels:
//
// * Not providing a project key and a branch key will update the default value at global level. Existing projects or branches having a specific new code definition will not be impacted
// * Project key must be provided to update the value for a project
@@ -47,7 +47,7 @@ func (s *NewCodePeriods) Set(ctx context.Context, r new_code_periods.SetRequest)
return resp, nil
}
-// Show - Shows the new code definition.
+// Show - Shows the new code definition.
// If the component requested doesn't exist or if no new code definition is set for it, a value is inherited from the project or from the global setting.Requires one of the following permissions if a component is specified:
// * 'Administer' rights on the specified component
// * 'Execute analysis' rights on the specified component
@@ -65,7 +65,7 @@ func (s *NewCodePeriods) Show(ctx context.Context, r new_code_periods.ShowReques
return v, resp, nil
}
-// Unset - Unsets the new code definition for a branch, project or global. It requires the inherited New Code Definition to be compatible with the Clean as You Code methodology, and one of the following permissions:
+// Unset - Unsets the new code definition for a branch, project or global. It requires the inherited New Code Definition to be compatible with the Clean as You Code methodology, and one of the following permissions:
// * 'Administer System' to change the global setting
// * 'Administer' rights for a specified component
//
diff --git a/sonarqube/qualitygates/qualitygates_gen.go b/sonarqube/qualitygates/qualitygates_gen.go
index 8b839a6..e9c53f3 100644
--- a/sonarqube/qualitygates/qualitygates_gen.go
+++ b/sonarqube/qualitygates/qualitygates_gen.go
@@ -37,7 +37,7 @@ type CreateResponse struct {
type CreateConditionRequest struct {
Error string `form:"error"` // Condition error threshold
GateName string `form:"gateName"` // Name of the quality gate
- Metric string `form:"metric"` // Condition metric.
Only metric of the following types are allowed:- INT
- MILLISEC
- RATING
- WORK_DUR
- FLOAT
- PERCENT
- LEVEL
Following metrics are forbidden:- security_hotspots
- new_security_hotspots
- alert_status
+ Metric string `form:"metric"` // Condition metric.
Only metric of the following types are allowed:- INT
- MILLISEC
- RATING
- WORK_DUR
- FLOAT
- PERCENT
- LEVEL
Following metrics are forbidden:- alert_status
- security_hotspots
- new_security_hotspots
Op string `form:"op,omitempty"` // Condition operator:
- LT = is lower than
- GT = is greater than
}
@@ -288,6 +288,6 @@ type ShowResponse struct {
type UpdateConditionRequest struct {
Error string `form:"error"` // Condition error threshold
Id string `form:"id"` // Condition ID
- Metric string `form:"metric"` // Condition metric.
Only metric of the following types are allowed:- INT
- MILLISEC
- RATING
- WORK_DUR
- FLOAT
- PERCENT
- LEVEL
Following metrics are forbidden:- security_hotspots
- new_security_hotspots
- alert_status
+ Metric string `form:"metric"` // Condition metric.
Only metric of the following types are allowed:- INT
- MILLISEC
- RATING
- WORK_DUR
- FLOAT
- PERCENT
- LEVEL
Following metrics are forbidden:- alert_status
- security_hotspots
- new_security_hotspots
Op string `form:"op,omitempty"` // Condition operator:
- LT = is lower than
- GT = is greater than
}