From ad02c5789a2a22ecb37239a9c496956828ad0a91 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 10 Nov 2025 19:27:12 +0000 Subject: [PATCH] Regenerate client from commit 3c17510 of spec repo --- .generator/schemas/v2/openapi.yaml | 2 + ...ataAttributesFileMetadataCloudStorage.java | 62 +------------------ ...V2DataAttributesFileMetadataLocalFile.java | 61 +----------------- 3 files changed, 6 insertions(+), 119 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index d5ef9bfc5d3..83beef00d59 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -50997,6 +50997,7 @@ components: - $ref: '#/components/schemas/TableResultV2DataAttributesFileMetadataCloudStorage' - $ref: '#/components/schemas/TableResultV2DataAttributesFileMetadataLocalFile' TableResultV2DataAttributesFileMetadataCloudStorage: + additionalProperties: false description: File metadata for reference tables created by cloud storage. properties: access_details: @@ -51043,6 +51044,7 @@ components: - OPERATION_ERROR - SYSTEM_ERROR TableResultV2DataAttributesFileMetadataLocalFile: + additionalProperties: false description: File metadata for reference tables created by upload. Note that upload_id is only returned in the immediate create/replace response and is not available in subsequent GET requests. diff --git a/src/main/java/com/datadog/api/client/v2/model/TableResultV2DataAttributesFileMetadataCloudStorage.java b/src/main/java/com/datadog/api/client/v2/model/TableResultV2DataAttributesFileMetadataCloudStorage.java index 6253d806f46..eb8ea9bfc9f 100644 --- a/src/main/java/com/datadog/api/client/v2/model/TableResultV2DataAttributesFileMetadataCloudStorage.java +++ b/src/main/java/com/datadog/api/client/v2/model/TableResultV2DataAttributesFileMetadataCloudStorage.java @@ -6,15 +6,11 @@ package com.datadog.api.client.v2.model; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import java.util.HashMap; -import java.util.Map; import java.util.Objects; /** File metadata for reference tables created by cloud storage. */ @@ -167,53 +163,6 @@ public void setSyncEnabled(Boolean syncEnabled) { this.syncEnabled = syncEnabled; } - /** - * A container for additional, undeclared properties. This is a holder for any undeclared - * properties as specified with the 'additionalProperties' keyword in the OAS document. - */ - private Map additionalProperties; - - /** - * Set the additional (undeclared) property with the specified name and value. If the property - * does not already exist, create it otherwise replace it. - * - * @param key The arbitrary key to set - * @param value The associated value - * @return TableResultV2DataAttributesFileMetadataCloudStorage - */ - @JsonAnySetter - public TableResultV2DataAttributesFileMetadataCloudStorage putAdditionalProperty( - String key, Object value) { - if (this.additionalProperties == null) { - this.additionalProperties = new HashMap(); - } - this.additionalProperties.put(key, value); - return this; - } - - /** - * Return the additional (undeclared) property. - * - * @return The additional properties - */ - @JsonAnyGetter - public Map getAdditionalProperties() { - return additionalProperties; - } - - /** - * Return the additional (undeclared) property with the specified name. - * - * @param key The arbitrary key to get - * @return The specific additional property for the given key - */ - public Object getAdditionalProperty(String key) { - if (this.additionalProperties == null) { - return null; - } - return this.additionalProperties.get(key); - } - /** * Return true if this TableResultV2DataAttributesFileMetadataCloudStorage object is equal to o. */ @@ -237,16 +186,12 @@ public boolean equals(Object o) { && Objects.equals( this.errorType, tableResultV2DataAttributesFileMetadataCloudStorage.errorType) && Objects.equals( - this.syncEnabled, tableResultV2DataAttributesFileMetadataCloudStorage.syncEnabled) - && Objects.equals( - this.additionalProperties, - tableResultV2DataAttributesFileMetadataCloudStorage.additionalProperties); + this.syncEnabled, tableResultV2DataAttributesFileMetadataCloudStorage.syncEnabled); } @Override public int hashCode() { - return Objects.hash( - accessDetails, errorMessage, errorRowCount, errorType, syncEnabled, additionalProperties); + return Objects.hash(accessDetails, errorMessage, errorRowCount, errorType, syncEnabled); } @Override @@ -258,9 +203,6 @@ public String toString() { sb.append(" errorRowCount: ").append(toIndentedString(errorRowCount)).append("\n"); sb.append(" errorType: ").append(toIndentedString(errorType)).append("\n"); sb.append(" syncEnabled: ").append(toIndentedString(syncEnabled)).append("\n"); - sb.append(" additionalProperties: ") - .append(toIndentedString(additionalProperties)) - .append("\n"); sb.append('}'); return sb.toString(); } diff --git a/src/main/java/com/datadog/api/client/v2/model/TableResultV2DataAttributesFileMetadataLocalFile.java b/src/main/java/com/datadog/api/client/v2/model/TableResultV2DataAttributesFileMetadataLocalFile.java index b57a58ce817..5cd29e76eac 100644 --- a/src/main/java/com/datadog/api/client/v2/model/TableResultV2DataAttributesFileMetadataLocalFile.java +++ b/src/main/java/com/datadog/api/client/v2/model/TableResultV2DataAttributesFileMetadataLocalFile.java @@ -6,14 +6,10 @@ package com.datadog.api.client.v2.model; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import java.util.HashMap; -import java.util.Map; import java.util.Objects; /** @@ -76,53 +72,6 @@ public void setErrorRowCount(Long errorRowCount) { this.errorRowCount = errorRowCount; } - /** - * A container for additional, undeclared properties. This is a holder for any undeclared - * properties as specified with the 'additionalProperties' keyword in the OAS document. - */ - private Map additionalProperties; - - /** - * Set the additional (undeclared) property with the specified name and value. If the property - * does not already exist, create it otherwise replace it. - * - * @param key The arbitrary key to set - * @param value The associated value - * @return TableResultV2DataAttributesFileMetadataLocalFile - */ - @JsonAnySetter - public TableResultV2DataAttributesFileMetadataLocalFile putAdditionalProperty( - String key, Object value) { - if (this.additionalProperties == null) { - this.additionalProperties = new HashMap(); - } - this.additionalProperties.put(key, value); - return this; - } - - /** - * Return the additional (undeclared) property. - * - * @return The additional properties - */ - @JsonAnyGetter - public Map getAdditionalProperties() { - return additionalProperties; - } - - /** - * Return the additional (undeclared) property with the specified name. - * - * @param key The arbitrary key to get - * @return The specific additional property for the given key - */ - public Object getAdditionalProperty(String key) { - if (this.additionalProperties == null) { - return null; - } - return this.additionalProperties.get(key); - } - /** Return true if this TableResultV2DataAttributesFileMetadataLocalFile object is equal to o. */ @Override public boolean equals(Object o) { @@ -138,15 +87,12 @@ public boolean equals(Object o) { return Objects.equals( this.errorMessage, tableResultV2DataAttributesFileMetadataLocalFile.errorMessage) && Objects.equals( - this.errorRowCount, tableResultV2DataAttributesFileMetadataLocalFile.errorRowCount) - && Objects.equals( - this.additionalProperties, - tableResultV2DataAttributesFileMetadataLocalFile.additionalProperties); + this.errorRowCount, tableResultV2DataAttributesFileMetadataLocalFile.errorRowCount); } @Override public int hashCode() { - return Objects.hash(errorMessage, errorRowCount, additionalProperties); + return Objects.hash(errorMessage, errorRowCount); } @Override @@ -155,9 +101,6 @@ public String toString() { sb.append("class TableResultV2DataAttributesFileMetadataLocalFile {\n"); sb.append(" errorMessage: ").append(toIndentedString(errorMessage)).append("\n"); sb.append(" errorRowCount: ").append(toIndentedString(errorRowCount)).append("\n"); - sb.append(" additionalProperties: ") - .append(toIndentedString(additionalProperties)) - .append("\n"); sb.append('}'); return sb.toString(); }