Skip to content

Commit 1f2be75

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add code_analysis_sa_committers_hwm and code_analysis_sca_committers_hwm to UsageMetering (#2515)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent e171891 commit 1f2be75

File tree

7 files changed

+266
-29
lines changed

7 files changed

+266
-29
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-10-04 15:31:57.989019",
8-
"spec_repo_commit": "f28ad048"
7+
"regenerated": "2024-10-07 14:32:07.878358",
8+
"spec_repo_commit": "ef7c2778"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-10-04 15:31:58.012298",
13-
"spec_repo_commit": "f28ad048"
12+
"regenerated": "2024-10-07 14:32:07.893038",
13+
"spec_repo_commit": "ef7c2778"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19609,6 +19609,16 @@ components:
1960919609
events over all hours in the current date for the given org.
1961019610
format: int64
1961119611
type: integer
19612+
code_analysis_sa_committers_hwm:
19613+
description: Shows the high-water mark of all Static Analysis committers
19614+
over all hours in the current date for the given org.
19615+
format: int64
19616+
type: integer
19617+
code_analysis_sca_committers_hwm:
19618+
description: Shows the high-water mark of all static Software Composition
19619+
Analysis committers over all hours in the current date for the given org.
19620+
format: int64
19621+
type: integer
1961219622
container_avg:
1961319623
description: Shows the average of all distinct containers over all hours
1961419624
in the current date for all organizations.
@@ -20349,6 +20359,16 @@ components:
2034920359
events over all hours in the current date for the given org.
2035020360
format: int64
2035120361
type: integer
20362+
code_analysis_sa_committers_hwm:
20363+
description: Shows the high-water mark of all Static Analysis committers
20364+
over all hours in the current date for the given org.
20365+
format: int64
20366+
type: integer
20367+
code_analysis_sca_committers_hwm:
20368+
description: Shows the high-water mark of all static Software Composition
20369+
Analysis committers over all hours in the current date for the given org.
20370+
format: int64
20371+
type: integer
2035220372
container_avg:
2035320373
description: Shows the average of all distinct containers over all hours
2035420374
in the current date for the given org.
@@ -21100,6 +21120,16 @@ components:
2110021120
events over all hours in the current month for all organizations.
2110121121
format: int64
2110221122
type: integer
21123+
code_analysis_sa_committers_hwm_sum:
21124+
description: Shows the high-water mark of all Static Analysis committers
21125+
over all hours in the current month for all organizations.
21126+
format: int64
21127+
type: integer
21128+
code_analysis_sca_committers_hwm_sum:
21129+
description: Shows the high-water mark of all static Software Composition
21130+
Analysis committers over all hours in the current month for all organizations.
21131+
format: int64
21132+
type: integer
2110321133
container_avg_sum:
2110421134
description: Shows the average of all distinct containers over all hours
2110521135
in the current month for all organizations.

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40326,7 +40326,7 @@ paths:
4032640326
`observability_pipelines`,
4032740327

4032840328
`online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`,
40329-
`sds`, `snmp`,
40329+
`sds`, `snmp`, `software_delivery`,
4033040330

4033140331
`synthetics_api`, `synthetics_browser`, `synthetics_mobile`, `synthetics_parallel_testing`,
4033240332
`timeseries`, `vuln_management`,

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

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
UsageSummaryDate.JSON_PROPERTY_CLOUD_COST_MANAGEMENT_GCP_HOST_COUNT_AVG,
5050
UsageSummaryDate.JSON_PROPERTY_CLOUD_COST_MANAGEMENT_HOST_COUNT_AVG,
5151
UsageSummaryDate.JSON_PROPERTY_CLOUD_SIEM_EVENTS_SUM,
52+
UsageSummaryDate.JSON_PROPERTY_CODE_ANALYSIS_SA_COMMITTERS_HWM,
53+
UsageSummaryDate.JSON_PROPERTY_CODE_ANALYSIS_SCA_COMMITTERS_HWM,
5254
UsageSummaryDate.JSON_PROPERTY_CONTAINER_AVG,
5355
UsageSummaryDate.JSON_PROPERTY_CONTAINER_EXCL_AGENT_AVG,
5456
UsageSummaryDate.JSON_PROPERTY_CONTAINER_HWM,
@@ -260,6 +262,14 @@ public class UsageSummaryDate {
260262
public static final String JSON_PROPERTY_CLOUD_SIEM_EVENTS_SUM = "cloud_siem_events_sum";
261263
private Long cloudSiemEventsSum;
262264

265+
public static final String JSON_PROPERTY_CODE_ANALYSIS_SA_COMMITTERS_HWM =
266+
"code_analysis_sa_committers_hwm";
267+
private Long codeAnalysisSaCommittersHwm;
268+
269+
public static final String JSON_PROPERTY_CODE_ANALYSIS_SCA_COMMITTERS_HWM =
270+
"code_analysis_sca_committers_hwm";
271+
private Long codeAnalysisScaCommittersHwm;
272+
263273
public static final String JSON_PROPERTY_CONTAINER_AVG = "container_avg";
264274
private Long containerAvg;
265275

@@ -1270,6 +1280,50 @@ public void setCloudSiemEventsSum(Long cloudSiemEventsSum) {
12701280
this.cloudSiemEventsSum = cloudSiemEventsSum;
12711281
}
12721282

1283+
public UsageSummaryDate codeAnalysisSaCommittersHwm(Long codeAnalysisSaCommittersHwm) {
1284+
this.codeAnalysisSaCommittersHwm = codeAnalysisSaCommittersHwm;
1285+
return this;
1286+
}
1287+
1288+
/**
1289+
* Shows the high-water mark of all Static Analysis committers over all hours in the current date
1290+
* for the given org.
1291+
*
1292+
* @return codeAnalysisSaCommittersHwm
1293+
*/
1294+
@jakarta.annotation.Nullable
1295+
@JsonProperty(JSON_PROPERTY_CODE_ANALYSIS_SA_COMMITTERS_HWM)
1296+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1297+
public Long getCodeAnalysisSaCommittersHwm() {
1298+
return codeAnalysisSaCommittersHwm;
1299+
}
1300+
1301+
public void setCodeAnalysisSaCommittersHwm(Long codeAnalysisSaCommittersHwm) {
1302+
this.codeAnalysisSaCommittersHwm = codeAnalysisSaCommittersHwm;
1303+
}
1304+
1305+
public UsageSummaryDate codeAnalysisScaCommittersHwm(Long codeAnalysisScaCommittersHwm) {
1306+
this.codeAnalysisScaCommittersHwm = codeAnalysisScaCommittersHwm;
1307+
return this;
1308+
}
1309+
1310+
/**
1311+
* Shows the high-water mark of all static Software Composition Analysis committers over all hours
1312+
* in the current date for the given org.
1313+
*
1314+
* @return codeAnalysisScaCommittersHwm
1315+
*/
1316+
@jakarta.annotation.Nullable
1317+
@JsonProperty(JSON_PROPERTY_CODE_ANALYSIS_SCA_COMMITTERS_HWM)
1318+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1319+
public Long getCodeAnalysisScaCommittersHwm() {
1320+
return codeAnalysisScaCommittersHwm;
1321+
}
1322+
1323+
public void setCodeAnalysisScaCommittersHwm(Long codeAnalysisScaCommittersHwm) {
1324+
this.codeAnalysisScaCommittersHwm = codeAnalysisScaCommittersHwm;
1325+
}
1326+
12731327
public UsageSummaryDate containerAvg(Long containerAvg) {
12741328
this.containerAvg = containerAvg;
12751329
return this;
@@ -3795,6 +3849,10 @@ public boolean equals(Object o) {
37953849
&& Objects.equals(
37963850
this.cloudCostManagementHostCountAvg, usageSummaryDate.cloudCostManagementHostCountAvg)
37973851
&& Objects.equals(this.cloudSiemEventsSum, usageSummaryDate.cloudSiemEventsSum)
3852+
&& Objects.equals(
3853+
this.codeAnalysisSaCommittersHwm, usageSummaryDate.codeAnalysisSaCommittersHwm)
3854+
&& Objects.equals(
3855+
this.codeAnalysisScaCommittersHwm, usageSummaryDate.codeAnalysisScaCommittersHwm)
37983856
&& Objects.equals(this.containerAvg, usageSummaryDate.containerAvg)
37993857
&& Objects.equals(this.containerExclAgentAvg, usageSummaryDate.containerExclAgentAvg)
38003858
&& Objects.equals(this.containerHwm, usageSummaryDate.containerHwm)
@@ -4014,6 +4072,8 @@ public int hashCode() {
40144072
cloudCostManagementGcpHostCountAvg,
40154073
cloudCostManagementHostCountAvg,
40164074
cloudSiemEventsSum,
4075+
codeAnalysisSaCommittersHwm,
4076+
codeAnalysisScaCommittersHwm,
40174077
containerAvg,
40184078
containerExclAgentAvg,
40194079
containerHwm,
@@ -4196,6 +4256,12 @@ public String toString() {
41964256
.append(toIndentedString(cloudCostManagementHostCountAvg))
41974257
.append("\n");
41984258
sb.append(" cloudSiemEventsSum: ").append(toIndentedString(cloudSiemEventsSum)).append("\n");
4259+
sb.append(" codeAnalysisSaCommittersHwm: ")
4260+
.append(toIndentedString(codeAnalysisSaCommittersHwm))
4261+
.append("\n");
4262+
sb.append(" codeAnalysisScaCommittersHwm: ")
4263+
.append(toIndentedString(codeAnalysisScaCommittersHwm))
4264+
.append("\n");
41994265
sb.append(" containerAvg: ").append(toIndentedString(containerAvg)).append("\n");
42004266
sb.append(" containerExclAgentAvg: ")
42014267
.append(toIndentedString(containerExclAgentAvg))

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

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
UsageSummaryDateOrg.JSON_PROPERTY_CLOUD_COST_MANAGEMENT_GCP_HOST_COUNT_AVG,
4949
UsageSummaryDateOrg.JSON_PROPERTY_CLOUD_COST_MANAGEMENT_HOST_COUNT_AVG,
5050
UsageSummaryDateOrg.JSON_PROPERTY_CLOUD_SIEM_EVENTS_SUM,
51+
UsageSummaryDateOrg.JSON_PROPERTY_CODE_ANALYSIS_SA_COMMITTERS_HWM,
52+
UsageSummaryDateOrg.JSON_PROPERTY_CODE_ANALYSIS_SCA_COMMITTERS_HWM,
5153
UsageSummaryDateOrg.JSON_PROPERTY_CONTAINER_AVG,
5254
UsageSummaryDateOrg.JSON_PROPERTY_CONTAINER_EXCL_AGENT_AVG,
5355
UsageSummaryDateOrg.JSON_PROPERTY_CONTAINER_HWM,
@@ -269,6 +271,14 @@ public class UsageSummaryDateOrg {
269271
public static final String JSON_PROPERTY_CLOUD_SIEM_EVENTS_SUM = "cloud_siem_events_sum";
270272
private Long cloudSiemEventsSum;
271273

274+
public static final String JSON_PROPERTY_CODE_ANALYSIS_SA_COMMITTERS_HWM =
275+
"code_analysis_sa_committers_hwm";
276+
private Long codeAnalysisSaCommittersHwm;
277+
278+
public static final String JSON_PROPERTY_CODE_ANALYSIS_SCA_COMMITTERS_HWM =
279+
"code_analysis_sca_committers_hwm";
280+
private Long codeAnalysisScaCommittersHwm;
281+
272282
public static final String JSON_PROPERTY_CONTAINER_AVG = "container_avg";
273283
private Long containerAvg;
274284

@@ -1331,6 +1341,50 @@ public void setCloudSiemEventsSum(Long cloudSiemEventsSum) {
13311341
this.cloudSiemEventsSum = cloudSiemEventsSum;
13321342
}
13331343

1344+
public UsageSummaryDateOrg codeAnalysisSaCommittersHwm(Long codeAnalysisSaCommittersHwm) {
1345+
this.codeAnalysisSaCommittersHwm = codeAnalysisSaCommittersHwm;
1346+
return this;
1347+
}
1348+
1349+
/**
1350+
* Shows the high-water mark of all Static Analysis committers over all hours in the current date
1351+
* for the given org.
1352+
*
1353+
* @return codeAnalysisSaCommittersHwm
1354+
*/
1355+
@jakarta.annotation.Nullable
1356+
@JsonProperty(JSON_PROPERTY_CODE_ANALYSIS_SA_COMMITTERS_HWM)
1357+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1358+
public Long getCodeAnalysisSaCommittersHwm() {
1359+
return codeAnalysisSaCommittersHwm;
1360+
}
1361+
1362+
public void setCodeAnalysisSaCommittersHwm(Long codeAnalysisSaCommittersHwm) {
1363+
this.codeAnalysisSaCommittersHwm = codeAnalysisSaCommittersHwm;
1364+
}
1365+
1366+
public UsageSummaryDateOrg codeAnalysisScaCommittersHwm(Long codeAnalysisScaCommittersHwm) {
1367+
this.codeAnalysisScaCommittersHwm = codeAnalysisScaCommittersHwm;
1368+
return this;
1369+
}
1370+
1371+
/**
1372+
* Shows the high-water mark of all static Software Composition Analysis committers over all hours
1373+
* in the current date for the given org.
1374+
*
1375+
* @return codeAnalysisScaCommittersHwm
1376+
*/
1377+
@jakarta.annotation.Nullable
1378+
@JsonProperty(JSON_PROPERTY_CODE_ANALYSIS_SCA_COMMITTERS_HWM)
1379+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1380+
public Long getCodeAnalysisScaCommittersHwm() {
1381+
return codeAnalysisScaCommittersHwm;
1382+
}
1383+
1384+
public void setCodeAnalysisScaCommittersHwm(Long codeAnalysisScaCommittersHwm) {
1385+
this.codeAnalysisScaCommittersHwm = codeAnalysisScaCommittersHwm;
1386+
}
1387+
13341388
public UsageSummaryDateOrg containerAvg(Long containerAvg) {
13351389
this.containerAvg = containerAvg;
13361390
return this;
@@ -3937,6 +3991,10 @@ public boolean equals(Object o) {
39373991
this.cloudCostManagementHostCountAvg,
39383992
usageSummaryDateOrg.cloudCostManagementHostCountAvg)
39393993
&& Objects.equals(this.cloudSiemEventsSum, usageSummaryDateOrg.cloudSiemEventsSum)
3994+
&& Objects.equals(
3995+
this.codeAnalysisSaCommittersHwm, usageSummaryDateOrg.codeAnalysisSaCommittersHwm)
3996+
&& Objects.equals(
3997+
this.codeAnalysisScaCommittersHwm, usageSummaryDateOrg.codeAnalysisScaCommittersHwm)
39403998
&& Objects.equals(this.containerAvg, usageSummaryDateOrg.containerAvg)
39413999
&& Objects.equals(this.containerExclAgentAvg, usageSummaryDateOrg.containerExclAgentAvg)
39424000
&& Objects.equals(this.containerHwm, usageSummaryDateOrg.containerHwm)
@@ -4174,6 +4232,8 @@ public int hashCode() {
41744232
cloudCostManagementGcpHostCountAvg,
41754233
cloudCostManagementHostCountAvg,
41764234
cloudSiemEventsSum,
4235+
codeAnalysisSaCommittersHwm,
4236+
codeAnalysisScaCommittersHwm,
41774237
containerAvg,
41784238
containerExclAgentAvg,
41794239
containerHwm,
@@ -4362,6 +4422,12 @@ public String toString() {
43624422
.append(toIndentedString(cloudCostManagementHostCountAvg))
43634423
.append("\n");
43644424
sb.append(" cloudSiemEventsSum: ").append(toIndentedString(cloudSiemEventsSum)).append("\n");
4425+
sb.append(" codeAnalysisSaCommittersHwm: ")
4426+
.append(toIndentedString(codeAnalysisSaCommittersHwm))
4427+
.append("\n");
4428+
sb.append(" codeAnalysisScaCommittersHwm: ")
4429+
.append(toIndentedString(codeAnalysisScaCommittersHwm))
4430+
.append("\n");
43654431
sb.append(" containerAvg: ").append(toIndentedString(containerAvg)).append("\n");
43664432
sb.append(" containerExclAgentAvg: ")
43674433
.append(toIndentedString(containerExclAgentAvg))

0 commit comments

Comments
 (0)