From 85bf4bee864a7f321cd3047c2d2e8a9cb017888a Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 2 Sep 2026 18:44:09 +0000 Subject: [PATCH] Regenerate client from commit 38932df of spec repo --- .generator/schemas/v2/openapi.yaml | 3 ++ .../v2/model/MaintenanceDataAttributes.java | 32 ++++++++++++++++++- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index e8bb5351a80..1dbd4967877 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -65679,6 +65679,9 @@ components: MaintenanceDataAttributes: description: The attributes of a maintenance. properties: + canceled_description: + description: The description shown when the maintenance is canceled. + type: string completed_date: description: Timestamp of when the maintenance was completed. format: date-time diff --git a/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataAttributes.java index 9af09061818..746e5997afd 100644 --- a/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/MaintenanceDataAttributes.java @@ -21,6 +21,7 @@ /** The attributes of a maintenance. */ @JsonPropertyOrder({ + MaintenanceDataAttributes.JSON_PROPERTY_CANCELED_DESCRIPTION, MaintenanceDataAttributes.JSON_PROPERTY_COMPLETED_DATE, MaintenanceDataAttributes.JSON_PROPERTY_COMPLETED_DESCRIPTION, MaintenanceDataAttributes.JSON_PROPERTY_COMPONENTS_AFFECTED, @@ -38,6 +39,9 @@ value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MaintenanceDataAttributes { @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_CANCELED_DESCRIPTION = "canceled_description"; + private String canceledDescription; + public static final String JSON_PROPERTY_COMPLETED_DATE = "completed_date"; private OffsetDateTime completedDate; @@ -74,6 +78,27 @@ public class MaintenanceDataAttributes { public static final String JSON_PROPERTY_UPDATES = "updates"; private List updates = null; + public MaintenanceDataAttributes canceledDescription(String canceledDescription) { + this.canceledDescription = canceledDescription; + return this; + } + + /** + * The description shown when the maintenance is canceled. + * + * @return canceledDescription + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CANCELED_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCanceledDescription() { + return canceledDescription; + } + + public void setCanceledDescription(String canceledDescription) { + this.canceledDescription = canceledDescription; + } + public MaintenanceDataAttributes completedDate(OffsetDateTime completedDate) { this.completedDate = completedDate; return this; @@ -428,7 +453,8 @@ public boolean equals(Object o) { return false; } MaintenanceDataAttributes maintenanceDataAttributes = (MaintenanceDataAttributes) o; - return Objects.equals(this.completedDate, maintenanceDataAttributes.completedDate) + return Objects.equals(this.canceledDescription, maintenanceDataAttributes.canceledDescription) + && Objects.equals(this.completedDate, maintenanceDataAttributes.completedDate) && Objects.equals(this.completedDescription, maintenanceDataAttributes.completedDescription) && Objects.equals(this.componentsAffected, maintenanceDataAttributes.componentsAffected) && Objects.equals( @@ -448,6 +474,7 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( + canceledDescription, completedDate, completedDescription, componentsAffected, @@ -467,6 +494,9 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class MaintenanceDataAttributes {\n"); + sb.append(" canceledDescription: ") + .append(toIndentedString(canceledDescription)) + .append("\n"); sb.append(" completedDate: ").append(toIndentedString(completedDate)).append("\n"); sb.append(" completedDescription: ") .append(toIndentedString(completedDescription))