Skip to content

Commit f30574b

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d38d4d2 of spec repo
1 parent 6a05bef commit f30574b

176 files changed

Lines changed: 258 additions & 196 deletions

File tree

Some content is hidden

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

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26519,6 +26519,9 @@ components:
2651926519
description:
2652026520
description: Description of the degradation.
2652126521
type: string
26522+
is_backfilled:
26523+
description: Whether the degradation was backfilled.
26524+
type: boolean
2652226525
modified_at:
2652326526
description: Timestamp of when the degradation was last modified.
2652426527
format: date-time
@@ -50251,6 +50254,9 @@ components:
5025150254
in_progress_description:
5025250255
description: The description shown while the maintenance is in progress.
5025350256
type: string
50257+
is_backfilled:
50258+
description: Whether the maintenance was backfilled.
50259+
type: boolean
5025450260
modified_at:
5025550261
description: Timestamp of when the maintenance was last modified.
5025650262
format: date-time

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
DegradationDataAttributes.JSON_PROPERTY_COMPONENTS_AFFECTED,
2525
DegradationDataAttributes.JSON_PROPERTY_CREATED_AT,
2626
DegradationDataAttributes.JSON_PROPERTY_DESCRIPTION,
27+
DegradationDataAttributes.JSON_PROPERTY_IS_BACKFILLED,
2728
DegradationDataAttributes.JSON_PROPERTY_MODIFIED_AT,
2829
DegradationDataAttributes.JSON_PROPERTY_SOURCE,
2930
DegradationDataAttributes.JSON_PROPERTY_STATUS,
@@ -43,6 +44,9 @@ public class DegradationDataAttributes {
4344
public static final String JSON_PROPERTY_DESCRIPTION = "description";
4445
private String description;
4546

47+
public static final String JSON_PROPERTY_IS_BACKFILLED = "is_backfilled";
48+
private Boolean isBackfilled;
49+
4650
public static final String JSON_PROPERTY_MODIFIED_AT = "modified_at";
4751
private OffsetDateTime modifiedAt;
4852

@@ -136,6 +140,27 @@ public void setDescription(String description) {
136140
this.description = description;
137141
}
138142

143+
public DegradationDataAttributes isBackfilled(Boolean isBackfilled) {
144+
this.isBackfilled = isBackfilled;
145+
return this;
146+
}
147+
148+
/**
149+
* Whether the degradation was backfilled.
150+
*
151+
* @return isBackfilled
152+
*/
153+
@jakarta.annotation.Nullable
154+
@JsonProperty(JSON_PROPERTY_IS_BACKFILLED)
155+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
156+
public Boolean getIsBackfilled() {
157+
return isBackfilled;
158+
}
159+
160+
public void setIsBackfilled(Boolean isBackfilled) {
161+
this.isBackfilled = isBackfilled;
162+
}
163+
139164
public DegradationDataAttributes modifiedAt(OffsetDateTime modifiedAt) {
140165
this.modifiedAt = modifiedAt;
141166
return this;
@@ -318,6 +343,7 @@ public boolean equals(Object o) {
318343
return Objects.equals(this.componentsAffected, degradationDataAttributes.componentsAffected)
319344
&& Objects.equals(this.createdAt, degradationDataAttributes.createdAt)
320345
&& Objects.equals(this.description, degradationDataAttributes.description)
346+
&& Objects.equals(this.isBackfilled, degradationDataAttributes.isBackfilled)
321347
&& Objects.equals(this.modifiedAt, degradationDataAttributes.modifiedAt)
322348
&& Objects.equals(this.source, degradationDataAttributes.source)
323349
&& Objects.equals(this.status, degradationDataAttributes.status)
@@ -333,6 +359,7 @@ public int hashCode() {
333359
componentsAffected,
334360
createdAt,
335361
description,
362+
isBackfilled,
336363
modifiedAt,
337364
source,
338365
status,
@@ -348,6 +375,7 @@ public String toString() {
348375
sb.append(" componentsAffected: ").append(toIndentedString(componentsAffected)).append("\n");
349376
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
350377
sb.append(" description: ").append(toIndentedString(description)).append("\n");
378+
sb.append(" isBackfilled: ").append(toIndentedString(isBackfilled)).append("\n");
351379
sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n");
352380
sb.append(" source: ").append(toIndentedString(source)).append("\n");
353381
sb.append(" status: ").append(toIndentedString(status)).append("\n");

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
MaintenanceDataAttributes.JSON_PROPERTY_COMPLETED_DESCRIPTION,
2626
MaintenanceDataAttributes.JSON_PROPERTY_COMPONENTS_AFFECTED,
2727
MaintenanceDataAttributes.JSON_PROPERTY_IN_PROGRESS_DESCRIPTION,
28+
MaintenanceDataAttributes.JSON_PROPERTY_IS_BACKFILLED,
2829
MaintenanceDataAttributes.JSON_PROPERTY_MODIFIED_AT,
2930
MaintenanceDataAttributes.JSON_PROPERTY_PUBLISHED_DATE,
3031
MaintenanceDataAttributes.JSON_PROPERTY_SCHEDULED_DESCRIPTION,
@@ -49,6 +50,9 @@ public class MaintenanceDataAttributes {
4950
public static final String JSON_PROPERTY_IN_PROGRESS_DESCRIPTION = "in_progress_description";
5051
private String inProgressDescription;
5152

53+
public static final String JSON_PROPERTY_IS_BACKFILLED = "is_backfilled";
54+
private Boolean isBackfilled;
55+
5256
public static final String JSON_PROPERTY_MODIFIED_AT = "modified_at";
5357
private OffsetDateTime modifiedAt;
5458

@@ -169,6 +173,27 @@ public void setInProgressDescription(String inProgressDescription) {
169173
this.inProgressDescription = inProgressDescription;
170174
}
171175

176+
public MaintenanceDataAttributes isBackfilled(Boolean isBackfilled) {
177+
this.isBackfilled = isBackfilled;
178+
return this;
179+
}
180+
181+
/**
182+
* Whether the maintenance was backfilled.
183+
*
184+
* @return isBackfilled
185+
*/
186+
@jakarta.annotation.Nullable
187+
@JsonProperty(JSON_PROPERTY_IS_BACKFILLED)
188+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
189+
public Boolean getIsBackfilled() {
190+
return isBackfilled;
191+
}
192+
193+
public void setIsBackfilled(Boolean isBackfilled) {
194+
this.isBackfilled = isBackfilled;
195+
}
196+
172197
public MaintenanceDataAttributes modifiedAt(OffsetDateTime modifiedAt) {
173198
this.modifiedAt = modifiedAt;
174199
return this;
@@ -394,6 +419,7 @@ public boolean equals(Object o) {
394419
&& Objects.equals(this.componentsAffected, maintenanceDataAttributes.componentsAffected)
395420
&& Objects.equals(
396421
this.inProgressDescription, maintenanceDataAttributes.inProgressDescription)
422+
&& Objects.equals(this.isBackfilled, maintenanceDataAttributes.isBackfilled)
397423
&& Objects.equals(this.modifiedAt, maintenanceDataAttributes.modifiedAt)
398424
&& Objects.equals(this.publishedDate, maintenanceDataAttributes.publishedDate)
399425
&& Objects.equals(this.scheduledDescription, maintenanceDataAttributes.scheduledDescription)
@@ -412,6 +438,7 @@ public int hashCode() {
412438
completedDescription,
413439
componentsAffected,
414440
inProgressDescription,
441+
isBackfilled,
415442
modifiedAt,
416443
publishedDate,
417444
scheduledDescription,
@@ -434,6 +461,7 @@ public String toString() {
434461
sb.append(" inProgressDescription: ")
435462
.append(toIndentedString(inProgressDescription))
436463
.append("\n");
464+
sb.append(" isBackfilled: ").append(toIndentedString(isBackfilled)).append("\n");
437465
sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n");
438466
sb.append(" publishedDate: ").append(toIndentedString(publishedDate)).append("\n");
439467
sb.append(" scheduledDescription: ")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
"timeToLive": {
5454
"unlimited": true
5555
},
56-
"id": "af617072-2860-ba27-e045-b00c8baf0188"
56+
"id": "af617072-2860-ba27-e045-b00c8baf0187"
5757
}
5858
]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
"timeToLive": {
5454
"unlimited": true
5555
},
56-
"id": "af617072-2860-ba27-e045-b00c8baf0187"
56+
"id": "af617072-2860-ba27-e045-b00c8baf0188"
5757
}
5858
]

src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_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": "73fd406e-d686-10bd-50ee-83f2c499e8a8"
26+
"id": "73fd406e-d686-10bd-50ee-83f2c499e8a9"
2727
}
2828
]

src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_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": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9"
30+
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb"
3131
},
3232
{
3333
"httpRequest": {

src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Not_Found_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": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eed"
30+
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9"
3131
},
3232
{
3333
"httpRequest": {

src/test/resources/cassettes/features/v2/AWS_Integration_Get_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": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb"
30+
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eee"
3131
},
3232
{
3333
"httpRequest": {

src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Not_Found_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": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d3"
26+
"id": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d4"
2727
}
2828
]

0 commit comments

Comments
 (0)