Skip to content

Commit 83361f7

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 74866a53 of spec repo (#2932)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 6c0e671 commit 83361f7

File tree

3 files changed

+8
-20
lines changed

3 files changed

+8
-20
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-06-20 19:51:49.507932",
8-
"spec_repo_commit": "51272749"
7+
"regenerated": "2025-06-23 07:59:26.325614",
8+
"spec_repo_commit": "74866a53"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-20 19:51:49.524444",
13-
"spec_repo_commit": "51272749"
12+
"regenerated": "2025-06-23 07:59:26.342135",
13+
"spec_repo_commit": "74866a53"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14785,9 +14785,6 @@ components:
1478514785
description: Username to use for the basic authentication.
1478614786
example: my_username
1478714787
type: string
14788-
required:
14789-
- password
14790-
- username
1479114788
type: object
1479214789
SyntheticsBasicAuthWebType:
1479314790
default: web

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

Lines changed: 4 additions & 13 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;
@@ -36,16 +35,6 @@ public class SyntheticsBasicAuthWeb {
3635
public static final String JSON_PROPERTY_USERNAME = "username";
3736
private String username;
3837

39-
public SyntheticsBasicAuthWeb() {}
40-
41-
@JsonCreator
42-
public SyntheticsBasicAuthWeb(
43-
@JsonProperty(required = true, value = JSON_PROPERTY_PASSWORD) String password,
44-
@JsonProperty(required = true, value = JSON_PROPERTY_USERNAME) String username) {
45-
this.password = password;
46-
this.username = username;
47-
}
48-
4938
public SyntheticsBasicAuthWeb password(String password) {
5039
this.password = password;
5140
return this;
@@ -56,8 +45,9 @@ public SyntheticsBasicAuthWeb password(String password) {
5645
*
5746
* @return password
5847
*/
48+
@jakarta.annotation.Nullable
5949
@JsonProperty(JSON_PROPERTY_PASSWORD)
60-
@JsonInclude(value = JsonInclude.Include.ALWAYS)
50+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
6151
public String getPassword() {
6252
return password;
6353
}
@@ -101,8 +91,9 @@ public SyntheticsBasicAuthWeb username(String username) {
10191
*
10292
* @return username
10393
*/
94+
@jakarta.annotation.Nullable
10495
@JsonProperty(JSON_PROPERTY_USERNAME)
105-
@JsonInclude(value = JsonInclude.Include.ALWAYS)
96+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
10697
public String getUsername() {
10798
return username;
10899
}

0 commit comments

Comments
 (0)