From 186e908a673191063179fc6493d445ea228c02ea Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 7 Jul 2023 16:56:46 +0000 Subject: [PATCH] Regenerate client from commit 64593ced of spec repo --- .apigentools-info | 8 ++--- .generator/schemas/v2/openapi.yaml | 4 +++ .../ConfluentResourceResponseAttributes.java | 29 ++++++++++++++++++- 3 files changed, 36 insertions(+), 5 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 33b8f078344..e0902eff35e 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-07 15:50:16.611825", - "spec_repo_commit": "6f781b6c" + "regenerated": "2023-07-07 16:55:22.571907", + "spec_repo_commit": "64593ced" }, "v2": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-07 15:50:16.631822", - "spec_repo_commit": "6f781b6c" + "regenerated": "2023-07-07 16:55:22.585858", + "spec_repo_commit": "64593ced" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 6010d5a702e..be9971d698c 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -3316,6 +3316,10 @@ components: extra metric tags. example: false type: boolean + id: + description: The ID associated with the Confluent resource. + example: resource_id_abc123 + type: string resource_type: description: The resource type of the Resource. Can be `kafka`, `connector`, `ksql`, or `schema_registry`. diff --git a/src/main/java/com/datadog/api/client/v2/model/ConfluentResourceResponseAttributes.java b/src/main/java/com/datadog/api/client/v2/model/ConfluentResourceResponseAttributes.java index 634442a6c00..72788274707 100644 --- a/src/main/java/com/datadog/api/client/v2/model/ConfluentResourceResponseAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/ConfluentResourceResponseAttributes.java @@ -22,6 +22,7 @@ /** Model representation of a Confluent Cloud resource. */ @JsonPropertyOrder({ ConfluentResourceResponseAttributes.JSON_PROPERTY_ENABLE_CUSTOM_METRICS, + ConfluentResourceResponseAttributes.JSON_PROPERTY_ID, ConfluentResourceResponseAttributes.JSON_PROPERTY_RESOURCE_TYPE, ConfluentResourceResponseAttributes.JSON_PROPERTY_TAGS }) @@ -32,6 +33,9 @@ public class ConfluentResourceResponseAttributes { public static final String JSON_PROPERTY_ENABLE_CUSTOM_METRICS = "enable_custom_metrics"; private Boolean enableCustomMetrics = false; + public static final String JSON_PROPERTY_ID = "id"; + private String id; + public static final String JSON_PROPERTY_RESOURCE_TYPE = "resource_type"; private String resourceType; @@ -67,6 +71,27 @@ public void setEnableCustomMetrics(Boolean enableCustomMetrics) { this.enableCustomMetrics = enableCustomMetrics; } + public ConfluentResourceResponseAttributes id(String id) { + this.id = id; + return this; + } + + /** + * The ID associated with the Confluent resource. + * + * @return id + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + public ConfluentResourceResponseAttributes resourceType(String resourceType) { this.resourceType = resourceType; return this; @@ -177,6 +202,7 @@ public boolean equals(Object o) { (ConfluentResourceResponseAttributes) o; return Objects.equals( this.enableCustomMetrics, confluentResourceResponseAttributes.enableCustomMetrics) + && Objects.equals(this.id, confluentResourceResponseAttributes.id) && Objects.equals(this.resourceType, confluentResourceResponseAttributes.resourceType) && Objects.equals(this.tags, confluentResourceResponseAttributes.tags) && Objects.equals( @@ -185,7 +211,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(enableCustomMetrics, resourceType, tags, additionalProperties); + return Objects.hash(enableCustomMetrics, id, resourceType, tags, additionalProperties); } @Override @@ -195,6 +221,7 @@ public String toString() { sb.append(" enableCustomMetrics: ") .append(toIndentedString(enableCustomMetrics)) .append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" resourceType: ").append(toIndentedString(resourceType)).append("\n"); sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append(" additionalProperties: ")