From 4037cba5b3a855cb8cf608c30eaeb6e39130d470 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 18 Feb 2025 20:24:42 +0000 Subject: [PATCH] Regenerate client from commit c8707cdc of spec repo --- .apigentools-info | 8 +- .generator/schemas/v2/openapi.yaml | 23 ++++++ .../MetricBulkTagConfigCreateAttributes.java | 78 ++++++++++++++++++- 3 files changed, 104 insertions(+), 5 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index a9f0ebd961f..743f60beddc 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-02-14 15:03:35.352599", - "spec_repo_commit": "a739b49f" + "regenerated": "2025-02-18 20:22:48.887517", + "spec_repo_commit": "c8707cdc" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-02-14 15:03:35.368038", - "spec_repo_commit": "a739b49f" + "regenerated": "2025-02-18 20:22:48.903125", + "spec_repo_commit": "c8707cdc" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index c3d103107e9..ccfe56788ef 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -18141,6 +18141,29 @@ components: Defaults to false.' type: boolean + include_actively_queried_tags_window: + description: 'When provided, all tags that have been actively queried are + + configured (and, therefore, remain queryable) for each metric that + + matches the given prefix. Minimum value is 1 second, and maximum + + value is 7,776,000 seconds (90 days).' + format: double + maximum: 7776000 + minimum: 1 + type: number + override_existing_configurations: + description: 'When set to true, the configuration overrides any existing + + configurations for the given metric with the new set of tags in this + + configuration request. If false, old configurations are kept and + + are merged with the set of tags in this configuration request. + + Defaults to true.' + type: boolean tags: $ref: '#/components/schemas/MetricBulkTagConfigTagNameList' type: object diff --git a/src/main/java/com/datadog/api/client/v2/model/MetricBulkTagConfigCreateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/MetricBulkTagConfigCreateAttributes.java index d88e2678b58..cb7fd4653af 100644 --- a/src/main/java/com/datadog/api/client/v2/model/MetricBulkTagConfigCreateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/MetricBulkTagConfigCreateAttributes.java @@ -22,6 +22,8 @@ @JsonPropertyOrder({ MetricBulkTagConfigCreateAttributes.JSON_PROPERTY_EMAILS, MetricBulkTagConfigCreateAttributes.JSON_PROPERTY_EXCLUDE_TAGS_MODE, + MetricBulkTagConfigCreateAttributes.JSON_PROPERTY_INCLUDE_ACTIVELY_QUERIED_TAGS_WINDOW, + MetricBulkTagConfigCreateAttributes.JSON_PROPERTY_OVERRIDE_EXISTING_CONFIGURATIONS, MetricBulkTagConfigCreateAttributes.JSON_PROPERTY_TAGS }) @jakarta.annotation.Generated( @@ -34,6 +36,14 @@ public class MetricBulkTagConfigCreateAttributes { public static final String JSON_PROPERTY_EXCLUDE_TAGS_MODE = "exclude_tags_mode"; private Boolean excludeTagsMode; + public static final String JSON_PROPERTY_INCLUDE_ACTIVELY_QUERIED_TAGS_WINDOW = + "include_actively_queried_tags_window"; + private Double includeActivelyQueriedTagsWindow; + + public static final String JSON_PROPERTY_OVERRIDE_EXISTING_CONFIGURATIONS = + "override_existing_configurations"; + private Boolean overrideExistingConfigurations; + public static final String JSON_PROPERTY_TAGS = "tags"; private List tags = null; @@ -89,6 +99,54 @@ public void setExcludeTagsMode(Boolean excludeTagsMode) { this.excludeTagsMode = excludeTagsMode; } + public MetricBulkTagConfigCreateAttributes includeActivelyQueriedTagsWindow( + Double includeActivelyQueriedTagsWindow) { + this.includeActivelyQueriedTagsWindow = includeActivelyQueriedTagsWindow; + return this; + } + + /** + * When provided, all tags that have been actively queried are configured (and, therefore, remain + * queryable) for each metric that matches the given prefix. Minimum value is 1 second, and + * maximum value is 7,776,000 seconds (90 days). minimum: 1 maximum: 7776000 + * + * @return includeActivelyQueriedTagsWindow + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_INCLUDE_ACTIVELY_QUERIED_TAGS_WINDOW) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Double getIncludeActivelyQueriedTagsWindow() { + return includeActivelyQueriedTagsWindow; + } + + public void setIncludeActivelyQueriedTagsWindow(Double includeActivelyQueriedTagsWindow) { + this.includeActivelyQueriedTagsWindow = includeActivelyQueriedTagsWindow; + } + + public MetricBulkTagConfigCreateAttributes overrideExistingConfigurations( + Boolean overrideExistingConfigurations) { + this.overrideExistingConfigurations = overrideExistingConfigurations; + return this; + } + + /** + * When set to true, the configuration overrides any existing configurations for the given metric + * with the new set of tags in this configuration request. If false, old configurations are kept + * and are merged with the set of tags in this configuration request. Defaults to true. + * + * @return overrideExistingConfigurations + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_OVERRIDE_EXISTING_CONFIGURATIONS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getOverrideExistingConfigurations() { + return overrideExistingConfigurations; + } + + public void setOverrideExistingConfigurations(Boolean overrideExistingConfigurations) { + this.overrideExistingConfigurations = overrideExistingConfigurations; + } + public MetricBulkTagConfigCreateAttributes tags(List tags) { this.tags = tags; return this; @@ -177,6 +235,12 @@ public boolean equals(Object o) { (MetricBulkTagConfigCreateAttributes) o; return Objects.equals(this.emails, metricBulkTagConfigCreateAttributes.emails) && Objects.equals(this.excludeTagsMode, metricBulkTagConfigCreateAttributes.excludeTagsMode) + && Objects.equals( + this.includeActivelyQueriedTagsWindow, + metricBulkTagConfigCreateAttributes.includeActivelyQueriedTagsWindow) + && Objects.equals( + this.overrideExistingConfigurations, + metricBulkTagConfigCreateAttributes.overrideExistingConfigurations) && Objects.equals(this.tags, metricBulkTagConfigCreateAttributes.tags) && Objects.equals( this.additionalProperties, metricBulkTagConfigCreateAttributes.additionalProperties); @@ -184,7 +248,13 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(emails, excludeTagsMode, tags, additionalProperties); + return Objects.hash( + emails, + excludeTagsMode, + includeActivelyQueriedTagsWindow, + overrideExistingConfigurations, + tags, + additionalProperties); } @Override @@ -193,6 +263,12 @@ public String toString() { sb.append("class MetricBulkTagConfigCreateAttributes {\n"); sb.append(" emails: ").append(toIndentedString(emails)).append("\n"); sb.append(" excludeTagsMode: ").append(toIndentedString(excludeTagsMode)).append("\n"); + sb.append(" includeActivelyQueriedTagsWindow: ") + .append(toIndentedString(includeActivelyQueriedTagsWindow)) + .append("\n"); + sb.append(" overrideExistingConfigurations: ") + .append(toIndentedString(overrideExistingConfigurations)) + .append("\n"); sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties))