Skip to content

Commit fa80499

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e2d431b of spec repo
1 parent c3027d5 commit fa80499

13 files changed

Lines changed: 504 additions & 10 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4231,6 +4231,8 @@ components:
42314231
description: >-
42324232
A query for APM dependency statistics between services, such as call latency and error rates.
42334233
properties:
4234+
cross_org_uuids:
4235+
$ref: "#/components/schemas/CrossOrgUuids"
42344236
data_source:
42354237
$ref: "#/components/schemas/ApmDependencyStatsDataSource"
42364238
env:
@@ -4289,6 +4291,8 @@ components:
42894291
description: >-
42904292
A query for APM trace metrics such as hits, errors, and latency percentiles, aggregated across services.
42914293
properties:
4294+
cross_org_uuids:
4295+
$ref: "#/components/schemas/CrossOrgUuids"
42924296
data_source:
42934297
$ref: "#/components/schemas/ApmMetricsDataSource"
42944298
group_by:
@@ -4439,6 +4443,8 @@ components:
44394443
description: >-
44404444
A query for APM resource statistics such as latency, error rate, and hit count, grouped by resource name.
44414445
properties:
4446+
cross_org_uuids:
4447+
$ref: "#/components/schemas/CrossOrgUuids"
44424448
data_source:
44434449
$ref: "#/components/schemas/ApmResourceStatsDataSource"
44444450
env:
@@ -15258,6 +15264,8 @@ components:
1525815264
properties:
1525915265
aggregator:
1526015266
$ref: "#/components/schemas/MetricsAggregator"
15267+
cross_org_uuids:
15268+
$ref: "#/components/schemas/CrossOrgUuids"
1526115269
data_source:
1526215270
$ref: "#/components/schemas/ContainerDataSource"
1526315271
is_normalized_cpu:
@@ -15295,6 +15303,8 @@ components:
1529515303
ContainerTimeseriesQuery:
1529615304
description: A query for container-level metrics such as CPU and memory usage.
1529715305
properties:
15306+
cross_org_uuids:
15307+
$ref: "#/components/schemas/CrossOrgUuids"
1529815308
data_source:
1529915309
$ref: "#/components/schemas/ContainerDataSource"
1530015310
is_normalized_cpu:
@@ -18122,6 +18132,14 @@ components:
1812218132
nullable: true
1812318133
type: string
1812418134
type: object
18135+
CrossOrgUuids:
18136+
description: >-
18137+
Organization UUIDs to query when using [cross-organization visibility](/account_management/org_settings/cross_org_visibility/). Limited to one organization UUID.
18138+
items:
18139+
description: An organization UUID.
18140+
type: string
18141+
maxItems: 1
18142+
type: array
1812518143
CsmAgentData:
1812618144
description: Single Agent Data.
1812718145
properties:
@@ -26178,6 +26196,8 @@ components:
2617826196
properties:
2617926197
compute:
2618026198
$ref: "#/components/schemas/EventsCompute"
26199+
cross_org_uuids:
26200+
$ref: "#/components/schemas/CrossOrgUuids"
2618126201
data_source:
2618226202
$ref: "#/components/schemas/EventsDataSource"
2618326203
group_by:
@@ -26231,6 +26251,8 @@ components:
2623126251
properties:
2623226252
compute:
2623326253
$ref: "#/components/schemas/EventsCompute"
26254+
cross_org_uuids:
26255+
$ref: "#/components/schemas/CrossOrgUuids"
2623426256
data_source:
2623526257
$ref: "#/components/schemas/EventsDataSource"
2623626258
group_by:
@@ -44132,6 +44154,8 @@ components:
4413244154
properties:
4413344155
aggregator:
4413444156
$ref: "#/components/schemas/MetricsAggregator"
44157+
cross_org_uuids:
44158+
$ref: "#/components/schemas/CrossOrgUuids"
4413544159
data_source:
4413644160
$ref: "#/components/schemas/MetricsDataSource"
4413744161
name:
@@ -44149,6 +44173,8 @@ components:
4414944173
MetricsTimeseriesQuery:
4415044174
description: A query against Datadog custom metrics or Cloud Cost data sources.
4415144175
properties:
44176+
cross_org_uuids:
44177+
$ref: "#/components/schemas/CrossOrgUuids"
4415244178
data_source:
4415344179
$ref: "#/components/schemas/MetricsDataSource"
4415444180
name:
@@ -55263,6 +55289,8 @@ components:
5526355289
properties:
5526455290
aggregator:
5526555291
$ref: "#/components/schemas/MetricsAggregator"
55292+
cross_org_uuids:
55293+
$ref: "#/components/schemas/CrossOrgUuids"
5526655294
data_source:
5526755295
$ref: "#/components/schemas/ProcessDataSource"
5526855296
is_normalized_cpu:
@@ -55386,6 +55414,8 @@ components:
5538655414
ProcessTimeseriesQuery:
5538755415
description: A query for host-level process metrics such as CPU and memory usage.
5538855416
properties:
55417+
cross_org_uuids:
55418+
$ref: "#/components/schemas/CrossOrgUuids"
5538955419
data_source:
5539055420
$ref: "#/components/schemas/ProcessDataSource"
5539155421
is_normalized_cpu:
@@ -69793,6 +69823,8 @@ components:
6979369823
description: Additional filters applied to the SLO query.
6979469824
example: "host:host_a,env:prod"
6979569825
type: string
69826+
cross_org_uuids:
69827+
$ref: "#/components/schemas/CrossOrgUuids"
6979669828
data_source:
6979769829
$ref: "#/components/schemas/SloDataSource"
6979869830
group_mode:

src/main/java/com/datadog/api/client/v2/model/ApmDependencyStatsQuery.java

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@
1313
import com.fasterxml.jackson.annotation.JsonInclude;
1414
import com.fasterxml.jackson.annotation.JsonProperty;
1515
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
16+
import java.util.ArrayList;
1617
import java.util.HashMap;
18+
import java.util.List;
1719
import java.util.Map;
1820
import java.util.Objects;
1921

2022
/** A query for APM dependency statistics between services, such as call latency and error rates. */
2123
@JsonPropertyOrder({
24+
ApmDependencyStatsQuery.JSON_PROPERTY_CROSS_ORG_UUIDS,
2225
ApmDependencyStatsQuery.JSON_PROPERTY_DATA_SOURCE,
2326
ApmDependencyStatsQuery.JSON_PROPERTY_ENV,
2427
ApmDependencyStatsQuery.JSON_PROPERTY_IS_UPSTREAM,
@@ -34,6 +37,9 @@
3437
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
3538
public class ApmDependencyStatsQuery {
3639
@JsonIgnore public boolean unparsed = false;
40+
public static final String JSON_PROPERTY_CROSS_ORG_UUIDS = "cross_org_uuids";
41+
private List<String> crossOrgUuids = null;
42+
3743
public static final String JSON_PROPERTY_DATA_SOURCE = "data_source";
3844
private ApmDependencyStatsDataSource dataSource =
3945
ApmDependencyStatsDataSource.APM_DEPENDENCY_STATS;
@@ -88,6 +94,37 @@ public ApmDependencyStatsQuery(
8894
this.unparsed |= !stat.isValid();
8995
}
9096

97+
public ApmDependencyStatsQuery crossOrgUuids(List<String> crossOrgUuids) {
98+
this.crossOrgUuids = crossOrgUuids;
99+
return this;
100+
}
101+
102+
public ApmDependencyStatsQuery addCrossOrgUuidsItem(String crossOrgUuidsItem) {
103+
if (this.crossOrgUuids == null) {
104+
this.crossOrgUuids = new ArrayList<>();
105+
}
106+
this.crossOrgUuids.add(crossOrgUuidsItem);
107+
return this;
108+
}
109+
110+
/**
111+
* Organization UUIDs to query when using <a
112+
* href="/account_management/org_settings/cross_org_visibility/">cross-organization
113+
* visibility</a>. Limited to one organization UUID.
114+
*
115+
* @return crossOrgUuids
116+
*/
117+
@jakarta.annotation.Nullable
118+
@JsonProperty(JSON_PROPERTY_CROSS_ORG_UUIDS)
119+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
120+
public List<String> getCrossOrgUuids() {
121+
return crossOrgUuids;
122+
}
123+
124+
public void setCrossOrgUuids(List<String> crossOrgUuids) {
125+
this.crossOrgUuids = crossOrgUuids;
126+
}
127+
91128
public ApmDependencyStatsQuery dataSource(ApmDependencyStatsDataSource dataSource) {
92129
this.dataSource = dataSource;
93130
this.unparsed |= !dataSource.isValid();
@@ -358,7 +395,8 @@ public boolean equals(Object o) {
358395
return false;
359396
}
360397
ApmDependencyStatsQuery apmDependencyStatsQuery = (ApmDependencyStatsQuery) o;
361-
return Objects.equals(this.dataSource, apmDependencyStatsQuery.dataSource)
398+
return Objects.equals(this.crossOrgUuids, apmDependencyStatsQuery.crossOrgUuids)
399+
&& Objects.equals(this.dataSource, apmDependencyStatsQuery.dataSource)
362400
&& Objects.equals(this.env, apmDependencyStatsQuery.env)
363401
&& Objects.equals(this.isUpstream, apmDependencyStatsQuery.isUpstream)
364402
&& Objects.equals(this.name, apmDependencyStatsQuery.name)
@@ -374,6 +412,7 @@ public boolean equals(Object o) {
374412
@Override
375413
public int hashCode() {
376414
return Objects.hash(
415+
crossOrgUuids,
377416
dataSource,
378417
env,
379418
isUpstream,
@@ -391,6 +430,7 @@ public int hashCode() {
391430
public String toString() {
392431
StringBuilder sb = new StringBuilder();
393432
sb.append("class ApmDependencyStatsQuery {\n");
433+
sb.append(" crossOrgUuids: ").append(toIndentedString(crossOrgUuids)).append("\n");
394434
sb.append(" dataSource: ").append(toIndentedString(dataSource)).append("\n");
395435
sb.append(" env: ").append(toIndentedString(env)).append("\n");
396436
sb.append(" isUpstream: ").append(toIndentedString(isUpstream)).append("\n");

src/main/java/com/datadog/api/client/v2/model/ApmMetricsQuery.java

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* services.
2525
*/
2626
@JsonPropertyOrder({
27+
ApmMetricsQuery.JSON_PROPERTY_CROSS_ORG_UUIDS,
2728
ApmMetricsQuery.JSON_PROPERTY_DATA_SOURCE,
2829
ApmMetricsQuery.JSON_PROPERTY_GROUP_BY,
2930
ApmMetricsQuery.JSON_PROPERTY_NAME,
@@ -41,6 +42,9 @@
4142
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
4243
public class ApmMetricsQuery {
4344
@JsonIgnore public boolean unparsed = false;
45+
public static final String JSON_PROPERTY_CROSS_ORG_UUIDS = "cross_org_uuids";
46+
private List<String> crossOrgUuids = null;
47+
4448
public static final String JSON_PROPERTY_DATA_SOURCE = "data_source";
4549
private ApmMetricsDataSource dataSource = ApmMetricsDataSource.APM_METRICS;
4650

@@ -92,6 +96,37 @@ public ApmMetricsQuery(
9296
this.unparsed |= !stat.isValid();
9397
}
9498

99+
public ApmMetricsQuery crossOrgUuids(List<String> crossOrgUuids) {
100+
this.crossOrgUuids = crossOrgUuids;
101+
return this;
102+
}
103+
104+
public ApmMetricsQuery addCrossOrgUuidsItem(String crossOrgUuidsItem) {
105+
if (this.crossOrgUuids == null) {
106+
this.crossOrgUuids = new ArrayList<>();
107+
}
108+
this.crossOrgUuids.add(crossOrgUuidsItem);
109+
return this;
110+
}
111+
112+
/**
113+
* Organization UUIDs to query when using <a
114+
* href="/account_management/org_settings/cross_org_visibility/">cross-organization
115+
* visibility</a>. Limited to one organization UUID.
116+
*
117+
* @return crossOrgUuids
118+
*/
119+
@jakarta.annotation.Nullable
120+
@JsonProperty(JSON_PROPERTY_CROSS_ORG_UUIDS)
121+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
122+
public List<String> getCrossOrgUuids() {
123+
return crossOrgUuids;
124+
}
125+
126+
public void setCrossOrgUuids(List<String> crossOrgUuids) {
127+
this.crossOrgUuids = crossOrgUuids;
128+
}
129+
95130
public ApmMetricsQuery dataSource(ApmMetricsDataSource dataSource) {
96131
this.dataSource = dataSource;
97132
this.unparsed |= !dataSource.isValid();
@@ -426,7 +461,8 @@ public boolean equals(Object o) {
426461
return false;
427462
}
428463
ApmMetricsQuery apmMetricsQuery = (ApmMetricsQuery) o;
429-
return Objects.equals(this.dataSource, apmMetricsQuery.dataSource)
464+
return Objects.equals(this.crossOrgUuids, apmMetricsQuery.crossOrgUuids)
465+
&& Objects.equals(this.dataSource, apmMetricsQuery.dataSource)
430466
&& Objects.equals(this.groupBy, apmMetricsQuery.groupBy)
431467
&& Objects.equals(this.name, apmMetricsQuery.name)
432468
&& Objects.equals(this.operationMode, apmMetricsQuery.operationMode)
@@ -444,6 +480,7 @@ public boolean equals(Object o) {
444480
@Override
445481
public int hashCode() {
446482
return Objects.hash(
483+
crossOrgUuids,
447484
dataSource,
448485
groupBy,
449486
name,
@@ -463,6 +500,7 @@ public int hashCode() {
463500
public String toString() {
464501
StringBuilder sb = new StringBuilder();
465502
sb.append("class ApmMetricsQuery {\n");
503+
sb.append(" crossOrgUuids: ").append(toIndentedString(crossOrgUuids)).append("\n");
466504
sb.append(" dataSource: ").append(toIndentedString(dataSource)).append("\n");
467505
sb.append(" groupBy: ").append(toIndentedString(groupBy)).append("\n");
468506
sb.append(" name: ").append(toIndentedString(name)).append("\n");

src/main/java/com/datadog/api/client/v2/model/ApmResourceStatsQuery.java

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* resource name.
2525
*/
2626
@JsonPropertyOrder({
27+
ApmResourceStatsQuery.JSON_PROPERTY_CROSS_ORG_UUIDS,
2728
ApmResourceStatsQuery.JSON_PROPERTY_DATA_SOURCE,
2829
ApmResourceStatsQuery.JSON_PROPERTY_ENV,
2930
ApmResourceStatsQuery.JSON_PROPERTY_GROUP_BY,
@@ -39,6 +40,9 @@
3940
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
4041
public class ApmResourceStatsQuery {
4142
@JsonIgnore public boolean unparsed = false;
43+
public static final String JSON_PROPERTY_CROSS_ORG_UUIDS = "cross_org_uuids";
44+
private List<String> crossOrgUuids = null;
45+
4246
public static final String JSON_PROPERTY_DATA_SOURCE = "data_source";
4347
private ApmResourceStatsDataSource dataSource = ApmResourceStatsDataSource.APM_RESOURCE_STATS;
4448

@@ -88,6 +92,37 @@ public ApmResourceStatsQuery(
8892
this.unparsed |= !stat.isValid();
8993
}
9094

95+
public ApmResourceStatsQuery crossOrgUuids(List<String> crossOrgUuids) {
96+
this.crossOrgUuids = crossOrgUuids;
97+
return this;
98+
}
99+
100+
public ApmResourceStatsQuery addCrossOrgUuidsItem(String crossOrgUuidsItem) {
101+
if (this.crossOrgUuids == null) {
102+
this.crossOrgUuids = new ArrayList<>();
103+
}
104+
this.crossOrgUuids.add(crossOrgUuidsItem);
105+
return this;
106+
}
107+
108+
/**
109+
* Organization UUIDs to query when using <a
110+
* href="/account_management/org_settings/cross_org_visibility/">cross-organization
111+
* visibility</a>. Limited to one organization UUID.
112+
*
113+
* @return crossOrgUuids
114+
*/
115+
@jakarta.annotation.Nullable
116+
@JsonProperty(JSON_PROPERTY_CROSS_ORG_UUIDS)
117+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
118+
public List<String> getCrossOrgUuids() {
119+
return crossOrgUuids;
120+
}
121+
122+
public void setCrossOrgUuids(List<String> crossOrgUuids) {
123+
this.crossOrgUuids = crossOrgUuids;
124+
}
125+
91126
public ApmResourceStatsQuery dataSource(ApmResourceStatsDataSource dataSource) {
92127
this.dataSource = dataSource;
93128
this.unparsed |= !dataSource.isValid();
@@ -368,7 +403,8 @@ public boolean equals(Object o) {
368403
return false;
369404
}
370405
ApmResourceStatsQuery apmResourceStatsQuery = (ApmResourceStatsQuery) o;
371-
return Objects.equals(this.dataSource, apmResourceStatsQuery.dataSource)
406+
return Objects.equals(this.crossOrgUuids, apmResourceStatsQuery.crossOrgUuids)
407+
&& Objects.equals(this.dataSource, apmResourceStatsQuery.dataSource)
372408
&& Objects.equals(this.env, apmResourceStatsQuery.env)
373409
&& Objects.equals(this.groupBy, apmResourceStatsQuery.groupBy)
374410
&& Objects.equals(this.name, apmResourceStatsQuery.name)
@@ -384,6 +420,7 @@ public boolean equals(Object o) {
384420
@Override
385421
public int hashCode() {
386422
return Objects.hash(
423+
crossOrgUuids,
387424
dataSource,
388425
env,
389426
groupBy,
@@ -401,6 +438,7 @@ public int hashCode() {
401438
public String toString() {
402439
StringBuilder sb = new StringBuilder();
403440
sb.append("class ApmResourceStatsQuery {\n");
441+
sb.append(" crossOrgUuids: ").append(toIndentedString(crossOrgUuids)).append("\n");
404442
sb.append(" dataSource: ").append(toIndentedString(dataSource)).append("\n");
405443
sb.append(" env: ").append(toIndentedString(env)).append("\n");
406444
sb.append(" groupBy: ").append(toIndentedString(groupBy)).append("\n");

0 commit comments

Comments
 (0)