Skip to content

Commit 4d766a2

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d09cbc0c of spec repo
1 parent a9de9b6 commit 4d766a2

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
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 10:37:49.383412",
8-
"spec_repo_commit": "c75940cb"
7+
"regenerated": "2025-05-27 13:50:54.357060",
8+
"spec_repo_commit": "d09cbc0c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-27 10:37:49.403493",
13-
"spec_repo_commit": "c75940cb"
12+
"regenerated": "2025-05-27 13:50:54.372833",
13+
"spec_repo_commit": "d09cbc0c"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,8 +1316,6 @@ components:
13161316
$ref: '#/components/schemas/AWSResourcesConfig'
13171317
traces_config:
13181318
$ref: '#/components/schemas/AWSTracesConfig'
1319-
required:
1320-
- aws_account_id
13211319
type: object
13221320
AWSAccountResponseData:
13231321
description: AWS Account response data.

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

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
import com.fasterxml.jackson.annotation.JsonAnyGetter;
1010
import com.fasterxml.jackson.annotation.JsonAnySetter;
11-
import com.fasterxml.jackson.annotation.JsonCreator;
1211
import com.fasterxml.jackson.annotation.JsonIgnore;
1312
import com.fasterxml.jackson.annotation.JsonInclude;
1413
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -72,14 +71,6 @@ public class AWSAccountResponseAttributes {
7271
public static final String JSON_PROPERTY_TRACES_CONFIG = "traces_config";
7372
private AWSTracesConfig tracesConfig;
7473

75-
public AWSAccountResponseAttributes() {}
76-
77-
@JsonCreator
78-
public AWSAccountResponseAttributes(
79-
@JsonProperty(required = true, value = JSON_PROPERTY_AWS_ACCOUNT_ID) String awsAccountId) {
80-
this.awsAccountId = awsAccountId;
81-
}
82-
8374
public AWSAccountResponseAttributes accountTags(List<String> accountTags) {
8475
this.accountTags = JsonNullable.<List<String>>of(accountTags);
8576
return this;
@@ -155,8 +146,9 @@ public AWSAccountResponseAttributes awsAccountId(String awsAccountId) {
155146
*
156147
* @return awsAccountId
157148
*/
149+
@jakarta.annotation.Nullable
158150
@JsonProperty(JSON_PROPERTY_AWS_ACCOUNT_ID)
159-
@JsonInclude(value = JsonInclude.Include.ALWAYS)
151+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
160152
public String getAwsAccountId() {
161153
return awsAccountId;
162154
}

0 commit comments

Comments
 (0)