Skip to content

Commit b7453ca

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add ci_code_coverage_committers to usage API (#3553)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 2cf92db commit b7453ca

File tree

3 files changed

+86
-0
lines changed

3 files changed

+86
-0
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4624,6 +4624,8 @@ components:
46244624
- asm_serverless_traced_invocations_percentage
46254625
- bits_ai_investigations_usage
46264626
- browser_usage
4627+
- ci_code_coverage_committers_percentage
4628+
- ci_code_coverage_committers_usage
46274629
- ci_pipeline_indexed_spans_usage
46284630
- ci_test_indexed_spans_usage
46294631
- ci_visibility_itr_usage
@@ -4709,6 +4711,8 @@ components:
47094711
- ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
47104712
- BITS_AI_INVESTIGATIONS_USAGE
47114713
- BROWSER_USAGE
4714+
- CI_CODE_COVERAGE_COMMITTERS_PERCENTAGE
4715+
- CI_CODE_COVERAGE_COMMITTERS_USAGE
47124716
- CI_PIPELINE_INDEXED_SPANS_USAGE
47134717
- CI_TEST_INDEXED_SPANS_USAGE
47144718
- CI_VISIBILITY_ITR_USAGE
@@ -9577,6 +9581,14 @@ components:
95779581
description: The synthetic browser test usage by tag(s).
95789582
format: double
95799583
type: number
9584+
ci_code_coverage_committers_percentage:
9585+
description: The percentage of Code Coverage committers usage by tag(s).
9586+
format: double
9587+
type: number
9588+
ci_code_coverage_committers_usage:
9589+
description: The total Code Coverage committers usage by tag(s).
9590+
format: double
9591+
type: number
95809592
ci_pipeline_indexed_spans_percentage:
95819593
description: The percentage of CI Pipeline Indexed Spans usage by tag(s).
95829594
format: double

src/main/java/com/datadog/api/client/v1/model/HourlyUsageAttributionUsageType.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ public class HourlyUsageAttributionUsageType extends ModelEnum<String> {
4242
"asm_serverless_traced_invocations_percentage",
4343
"bits_ai_investigations_usage",
4444
"browser_usage",
45+
"ci_code_coverage_committers_percentage",
46+
"ci_code_coverage_committers_usage",
4547
"ci_pipeline_indexed_spans_usage",
4648
"ci_test_indexed_spans_usage",
4749
"ci_visibility_itr_usage",
@@ -136,6 +138,10 @@ public class HourlyUsageAttributionUsageType extends ModelEnum<String> {
136138
new HourlyUsageAttributionUsageType("bits_ai_investigations_usage");
137139
public static final HourlyUsageAttributionUsageType BROWSER_USAGE =
138140
new HourlyUsageAttributionUsageType("browser_usage");
141+
public static final HourlyUsageAttributionUsageType CI_CODE_COVERAGE_COMMITTERS_PERCENTAGE =
142+
new HourlyUsageAttributionUsageType("ci_code_coverage_committers_percentage");
143+
public static final HourlyUsageAttributionUsageType CI_CODE_COVERAGE_COMMITTERS_USAGE =
144+
new HourlyUsageAttributionUsageType("ci_code_coverage_committers_usage");
139145
public static final HourlyUsageAttributionUsageType CI_PIPELINE_INDEXED_SPANS_USAGE =
140146
new HourlyUsageAttributionUsageType("ci_pipeline_indexed_spans_usage");
141147
public static final HourlyUsageAttributionUsageType CI_TEST_INDEXED_SPANS_USAGE =

src/main/java/com/datadog/api/client/v1/model/MonthlyUsageAttributionValues.java

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
MonthlyUsageAttributionValues.JSON_PROPERTY_BITS_AI_INVESTIGATIONS_USAGE,
3737
MonthlyUsageAttributionValues.JSON_PROPERTY_BROWSER_PERCENTAGE,
3838
MonthlyUsageAttributionValues.JSON_PROPERTY_BROWSER_USAGE,
39+
MonthlyUsageAttributionValues.JSON_PROPERTY_CI_CODE_COVERAGE_COMMITTERS_PERCENTAGE,
40+
MonthlyUsageAttributionValues.JSON_PROPERTY_CI_CODE_COVERAGE_COMMITTERS_USAGE,
3941
MonthlyUsageAttributionValues.JSON_PROPERTY_CI_PIPELINE_INDEXED_SPANS_PERCENTAGE,
4042
MonthlyUsageAttributionValues.JSON_PROPERTY_CI_PIPELINE_INDEXED_SPANS_USAGE,
4143
MonthlyUsageAttributionValues.JSON_PROPERTY_CI_TEST_INDEXED_SPANS_PERCENTAGE,
@@ -241,6 +243,14 @@ public class MonthlyUsageAttributionValues {
241243
public static final String JSON_PROPERTY_BROWSER_USAGE = "browser_usage";
242244
private Double browserUsage;
243245

246+
public static final String JSON_PROPERTY_CI_CODE_COVERAGE_COMMITTERS_PERCENTAGE =
247+
"ci_code_coverage_committers_percentage";
248+
private Double ciCodeCoverageCommittersPercentage;
249+
250+
public static final String JSON_PROPERTY_CI_CODE_COVERAGE_COMMITTERS_USAGE =
251+
"ci_code_coverage_committers_usage";
252+
private Double ciCodeCoverageCommittersUsage;
253+
244254
public static final String JSON_PROPERTY_CI_PIPELINE_INDEXED_SPANS_PERCENTAGE =
245255
"ci_pipeline_indexed_spans_percentage";
246256
private Double ciPipelineIndexedSpansPercentage;
@@ -1116,6 +1126,50 @@ public void setBrowserUsage(Double browserUsage) {
11161126
this.browserUsage = browserUsage;
11171127
}
11181128

1129+
public MonthlyUsageAttributionValues ciCodeCoverageCommittersPercentage(
1130+
Double ciCodeCoverageCommittersPercentage) {
1131+
this.ciCodeCoverageCommittersPercentage = ciCodeCoverageCommittersPercentage;
1132+
return this;
1133+
}
1134+
1135+
/**
1136+
* The percentage of Code Coverage committers usage by tag(s).
1137+
*
1138+
* @return ciCodeCoverageCommittersPercentage
1139+
*/
1140+
@jakarta.annotation.Nullable
1141+
@JsonProperty(JSON_PROPERTY_CI_CODE_COVERAGE_COMMITTERS_PERCENTAGE)
1142+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1143+
public Double getCiCodeCoverageCommittersPercentage() {
1144+
return ciCodeCoverageCommittersPercentage;
1145+
}
1146+
1147+
public void setCiCodeCoverageCommittersPercentage(Double ciCodeCoverageCommittersPercentage) {
1148+
this.ciCodeCoverageCommittersPercentage = ciCodeCoverageCommittersPercentage;
1149+
}
1150+
1151+
public MonthlyUsageAttributionValues ciCodeCoverageCommittersUsage(
1152+
Double ciCodeCoverageCommittersUsage) {
1153+
this.ciCodeCoverageCommittersUsage = ciCodeCoverageCommittersUsage;
1154+
return this;
1155+
}
1156+
1157+
/**
1158+
* The total Code Coverage committers usage by tag(s).
1159+
*
1160+
* @return ciCodeCoverageCommittersUsage
1161+
*/
1162+
@jakarta.annotation.Nullable
1163+
@JsonProperty(JSON_PROPERTY_CI_CODE_COVERAGE_COMMITTERS_USAGE)
1164+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1165+
public Double getCiCodeCoverageCommittersUsage() {
1166+
return ciCodeCoverageCommittersUsage;
1167+
}
1168+
1169+
public void setCiCodeCoverageCommittersUsage(Double ciCodeCoverageCommittersUsage) {
1170+
this.ciCodeCoverageCommittersUsage = ciCodeCoverageCommittersUsage;
1171+
}
1172+
11191173
public MonthlyUsageAttributionValues ciPipelineIndexedSpansPercentage(
11201174
Double ciPipelineIndexedSpansPercentage) {
11211175
this.ciPipelineIndexedSpansPercentage = ciPipelineIndexedSpansPercentage;
@@ -4233,6 +4287,12 @@ public boolean equals(Object o) {
42334287
this.bitsAiInvestigationsUsage, monthlyUsageAttributionValues.bitsAiInvestigationsUsage)
42344288
&& Objects.equals(this.browserPercentage, monthlyUsageAttributionValues.browserPercentage)
42354289
&& Objects.equals(this.browserUsage, monthlyUsageAttributionValues.browserUsage)
4290+
&& Objects.equals(
4291+
this.ciCodeCoverageCommittersPercentage,
4292+
monthlyUsageAttributionValues.ciCodeCoverageCommittersPercentage)
4293+
&& Objects.equals(
4294+
this.ciCodeCoverageCommittersUsage,
4295+
monthlyUsageAttributionValues.ciCodeCoverageCommittersUsage)
42364296
&& Objects.equals(
42374297
this.ciPipelineIndexedSpansPercentage,
42384298
monthlyUsageAttributionValues.ciPipelineIndexedSpansPercentage)
@@ -4561,6 +4621,8 @@ public int hashCode() {
45614621
bitsAiInvestigationsUsage,
45624622
browserPercentage,
45634623
browserUsage,
4624+
ciCodeCoverageCommittersPercentage,
4625+
ciCodeCoverageCommittersUsage,
45644626
ciPipelineIndexedSpansPercentage,
45654627
ciPipelineIndexedSpansUsage,
45664628
ciTestIndexedSpansPercentage,
@@ -4740,6 +4802,12 @@ public String toString() {
47404802
.append("\n");
47414803
sb.append(" browserPercentage: ").append(toIndentedString(browserPercentage)).append("\n");
47424804
sb.append(" browserUsage: ").append(toIndentedString(browserUsage)).append("\n");
4805+
sb.append(" ciCodeCoverageCommittersPercentage: ")
4806+
.append(toIndentedString(ciCodeCoverageCommittersPercentage))
4807+
.append("\n");
4808+
sb.append(" ciCodeCoverageCommittersUsage: ")
4809+
.append(toIndentedString(ciCodeCoverageCommittersUsage))
4810+
.append("\n");
47434811
sb.append(" ciPipelineIndexedSpansPercentage: ")
47444812
.append(toIndentedString(ciPipelineIndexedSpansPercentage))
47454813
.append("\n");

0 commit comments

Comments
 (0)