Skip to content

Commit 48c48f7

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 5a431b84 of spec repo
1 parent c08b647 commit 48c48f7

File tree

130 files changed

+322
-193
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+322
-193
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": "2025-05-27 17:12:14.968856",
8-
"spec_repo_commit": "ed439f7c"
7+
"regenerated": "2025-06-02 21:09:16.060516",
8+
"spec_repo_commit": "5a431b84"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-27 17:12:14.988382",
13-
"spec_repo_commit": "ed439f7c"
12+
"regenerated": "2025-06-02 21:09:16.076599",
13+
"spec_repo_commit": "5a431b84"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10994,6 +10994,17 @@ components:
1099410994
- version
1099510995
- name
1099610996
type: object
10997+
DORACustomTags:
10998+
description: A list of user-defined tags. The tags must follow the `key:value`
10999+
pattern. Up to 100 may be added per event.
11000+
example:
11001+
- language:java
11002+
- department:engineering
11003+
items:
11004+
description: Tags in the form of `key:value`.
11005+
type: string
11006+
nullable: true
11007+
type: array
1099711008
DORADeploymentRequest:
1099811009
description: Request to create a DORA deployment event.
1099911010
properties:
@@ -11005,6 +11016,8 @@ components:
1100511016
DORADeploymentRequestAttributes:
1100611017
description: Attributes to create a DORA deployment event.
1100711018
properties:
11019+
custom_tags:
11020+
$ref: '#/components/schemas/DORACustomTags'
1100811021
env:
1100911022
description: Environment name to where the service was deployed.
1101011023
example: staging
@@ -11124,6 +11137,8 @@ components:
1112411137
DORAIncidentRequestAttributes:
1112511138
description: Attributes to create a DORA incident event.
1112611139
properties:
11140+
custom_tags:
11141+
$ref: '#/components/schemas/DORACustomTags'
1112711142
env:
1112811143
description: Environment name that was impacted by the incident.
1112911144
example: staging

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

Lines changed: 64 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@
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;
21+
import org.openapitools.jackson.nullable.JsonNullable;
1922

2023
/** Attributes to create a DORA deployment event. */
2124
@JsonPropertyOrder({
25+
DORADeploymentRequestAttributes.JSON_PROPERTY_CUSTOM_TAGS,
2226
DORADeploymentRequestAttributes.JSON_PROPERTY_ENV,
2327
DORADeploymentRequestAttributes.JSON_PROPERTY_FINISHED_AT,
2428
DORADeploymentRequestAttributes.JSON_PROPERTY_GIT,
@@ -32,6 +36,9 @@
3236
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
3337
public class DORADeploymentRequestAttributes {
3438
@JsonIgnore public boolean unparsed = false;
39+
public static final String JSON_PROPERTY_CUSTOM_TAGS = "custom_tags";
40+
private JsonNullable<List<String>> customTags = JsonNullable.<List<String>>undefined();
41+
3542
public static final String JSON_PROPERTY_ENV = "env";
3643
private String env;
3744

@@ -68,6 +75,50 @@ public DORADeploymentRequestAttributes(
6875
this.startedAt = startedAt;
6976
}
7077

78+
public DORADeploymentRequestAttributes customTags(List<String> customTags) {
79+
this.customTags = JsonNullable.<List<String>>of(customTags);
80+
return this;
81+
}
82+
83+
public DORADeploymentRequestAttributes addCustomTagsItem(String customTagsItem) {
84+
if (this.customTags == null || !this.customTags.isPresent()) {
85+
this.customTags = JsonNullable.<List<String>>of(new ArrayList<>());
86+
}
87+
try {
88+
this.customTags.get().add(customTagsItem);
89+
} catch (java.util.NoSuchElementException e) {
90+
// this can never happen, as we make sure above that the value is present
91+
}
92+
return this;
93+
}
94+
95+
/**
96+
* A list of user-defined tags. The tags must follow the <code>key:value</code> pattern. Up to 100
97+
* may be added per event.
98+
*
99+
* @return customTags
100+
*/
101+
@jakarta.annotation.Nullable
102+
@JsonIgnore
103+
public List<String> getCustomTags() {
104+
return customTags.orElse(null);
105+
}
106+
107+
@JsonProperty(JSON_PROPERTY_CUSTOM_TAGS)
108+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
109+
public JsonNullable<List<String>> getCustomTags_JsonNullable() {
110+
return customTags;
111+
}
112+
113+
@JsonProperty(JSON_PROPERTY_CUSTOM_TAGS)
114+
public void setCustomTags_JsonNullable(JsonNullable<List<String>> customTags) {
115+
this.customTags = customTags;
116+
}
117+
118+
public void setCustomTags(List<String> customTags) {
119+
this.customTags = JsonNullable.<List<String>>of(customTags);
120+
}
121+
71122
public DORADeploymentRequestAttributes env(String env) {
72123
this.env = env;
73124
return this;
@@ -296,7 +347,8 @@ public boolean equals(Object o) {
296347
}
297348
DORADeploymentRequestAttributes doraDeploymentRequestAttributes =
298349
(DORADeploymentRequestAttributes) o;
299-
return Objects.equals(this.env, doraDeploymentRequestAttributes.env)
350+
return Objects.equals(this.customTags, doraDeploymentRequestAttributes.customTags)
351+
&& Objects.equals(this.env, doraDeploymentRequestAttributes.env)
300352
&& Objects.equals(this.finishedAt, doraDeploymentRequestAttributes.finishedAt)
301353
&& Objects.equals(this.git, doraDeploymentRequestAttributes.git)
302354
&& Objects.equals(this.id, doraDeploymentRequestAttributes.id)
@@ -311,13 +363,23 @@ public boolean equals(Object o) {
311363
@Override
312364
public int hashCode() {
313365
return Objects.hash(
314-
env, finishedAt, git, id, service, startedAt, team, version, additionalProperties);
366+
customTags,
367+
env,
368+
finishedAt,
369+
git,
370+
id,
371+
service,
372+
startedAt,
373+
team,
374+
version,
375+
additionalProperties);
315376
}
316377

317378
@Override
318379
public String toString() {
319380
StringBuilder sb = new StringBuilder();
320381
sb.append("class DORADeploymentRequestAttributes {\n");
382+
sb.append(" customTags: ").append(toIndentedString(customTags)).append("\n");
321383
sb.append(" env: ").append(toIndentedString(env)).append("\n");
322384
sb.append(" finishedAt: ").append(toIndentedString(finishedAt)).append("\n");
323385
sb.append(" git: ").append(toIndentedString(git)).append("\n");

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

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818
import java.util.List;
1919
import java.util.Map;
2020
import java.util.Objects;
21+
import org.openapitools.jackson.nullable.JsonNullable;
2122

2223
/** Attributes to create a DORA incident event. */
2324
@JsonPropertyOrder({
25+
DORAIncidentRequestAttributes.JSON_PROPERTY_CUSTOM_TAGS,
2426
DORAIncidentRequestAttributes.JSON_PROPERTY_ENV,
2527
DORAIncidentRequestAttributes.JSON_PROPERTY_FINISHED_AT,
2628
DORAIncidentRequestAttributes.JSON_PROPERTY_GIT,
@@ -36,6 +38,9 @@
3638
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
3739
public class DORAIncidentRequestAttributes {
3840
@JsonIgnore public boolean unparsed = false;
41+
public static final String JSON_PROPERTY_CUSTOM_TAGS = "custom_tags";
42+
private JsonNullable<List<String>> customTags = JsonNullable.<List<String>>undefined();
43+
3944
public static final String JSON_PROPERTY_ENV = "env";
4045
private String env;
4146

@@ -74,6 +79,50 @@ public DORAIncidentRequestAttributes(
7479
this.startedAt = startedAt;
7580
}
7681

82+
public DORAIncidentRequestAttributes customTags(List<String> customTags) {
83+
this.customTags = JsonNullable.<List<String>>of(customTags);
84+
return this;
85+
}
86+
87+
public DORAIncidentRequestAttributes addCustomTagsItem(String customTagsItem) {
88+
if (this.customTags == null || !this.customTags.isPresent()) {
89+
this.customTags = JsonNullable.<List<String>>of(new ArrayList<>());
90+
}
91+
try {
92+
this.customTags.get().add(customTagsItem);
93+
} catch (java.util.NoSuchElementException e) {
94+
// this can never happen, as we make sure above that the value is present
95+
}
96+
return this;
97+
}
98+
99+
/**
100+
* A list of user-defined tags. The tags must follow the <code>key:value</code> pattern. Up to 100
101+
* may be added per event.
102+
*
103+
* @return customTags
104+
*/
105+
@jakarta.annotation.Nullable
106+
@JsonIgnore
107+
public List<String> getCustomTags() {
108+
return customTags.orElse(null);
109+
}
110+
111+
@JsonProperty(JSON_PROPERTY_CUSTOM_TAGS)
112+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
113+
public JsonNullable<List<String>> getCustomTags_JsonNullable() {
114+
return customTags;
115+
}
116+
117+
@JsonProperty(JSON_PROPERTY_CUSTOM_TAGS)
118+
public void setCustomTags_JsonNullable(JsonNullable<List<String>> customTags) {
119+
this.customTags = customTags;
120+
}
121+
122+
public void setCustomTags(List<String> customTags) {
123+
this.customTags = JsonNullable.<List<String>>of(customTags);
124+
}
125+
77126
public DORAIncidentRequestAttributes env(String env) {
78127
this.env = env;
79128
return this;
@@ -353,7 +402,8 @@ public boolean equals(Object o) {
353402
return false;
354403
}
355404
DORAIncidentRequestAttributes doraIncidentRequestAttributes = (DORAIncidentRequestAttributes) o;
356-
return Objects.equals(this.env, doraIncidentRequestAttributes.env)
405+
return Objects.equals(this.customTags, doraIncidentRequestAttributes.customTags)
406+
&& Objects.equals(this.env, doraIncidentRequestAttributes.env)
357407
&& Objects.equals(this.finishedAt, doraIncidentRequestAttributes.finishedAt)
358408
&& Objects.equals(this.git, doraIncidentRequestAttributes.git)
359409
&& Objects.equals(this.id, doraIncidentRequestAttributes.id)
@@ -370,6 +420,7 @@ public boolean equals(Object o) {
370420
@Override
371421
public int hashCode() {
372422
return Objects.hash(
423+
customTags,
373424
env,
374425
finishedAt,
375426
git,
@@ -387,6 +438,7 @@ public int hashCode() {
387438
public String toString() {
388439
StringBuilder sb = new StringBuilder();
389440
sb.append("class DORAIncidentRequestAttributes {\n");
441+
sb.append(" customTags: ").append(toIndentedString(customTags)).append("\n");
390442
sb.append(" env: ").append(toIndentedString(env)).append("\n");
391443
sb.append(" finishedAt: ").append(toIndentedString(finishedAt)).append("\n");
392444
sb.append(" git: ").append(toIndentedString(git)).append("\n");

src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_deserializes_successfully.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
"timeToLive": {
2929
"unlimited": true
3030
},
31-
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e"
31+
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d"
3232
}
3333
]

src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_for_your_organization_returns_OK_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
"timeToLive": {
2929
"unlimited": true
3030
},
31-
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d"
31+
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e"
3232
}
3333
]

src/test/resources/cassettes/features/v1/Validate_API_key_returns_Forbidden_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"timeToLive": {
2424
"unlimited": true
2525
},
26-
"id": "3f83caea-c405-97df-c554-ee2d9f9e4f02"
26+
"id": "3f83caea-c405-97df-c554-ee2d9f9e4f01"
2727
}
2828
]

src/test/resources/cassettes/features/v1/Validate_API_key_returns_OK_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"timeToLive": {
2424
"unlimited": true
2525
},
26-
"id": "3f83caea-c405-97df-c554-ee2d9f9e4f01"
26+
"id": "3f83caea-c405-97df-c554-ee2d9f9e4f02"
2727
}
2828
]

src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_AWS_Account_object_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "c206b9cd-771e-14f0-5d18-42a3a48556d0"
30+
"id": "c206b9cd-771e-14f0-5d18-42a3a48556d1"
3131
},
3232
{
3333
"httpRequest": {

src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Bad_Request_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "f1ca6244-e46c-b3a2-86bf-65d4e9044ba5"
30+
"id": "f1ca6244-e46c-b3a2-86bf-65d4e9044ba4"
3131
}
3232
]

0 commit comments

Comments
 (0)