From 2257a9ea40e2e73d4733981c704729d4f27afcdb Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 13 Jan 2026 17:37:25 +0000 Subject: [PATCH] Regenerate client from commit d33e689 of spec repo --- .generator/schemas/v1/openapi.yaml | 1 - .../v1/models/heat_map_widget_x_axis.rb | 20 +------------------ 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index c8cd24def74..56084ed19bc 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -3865,7 +3865,6 @@ components: points (group distributions use the roll-up modifier).' format: int64 - minimum: 1 type: integer type: object Host: diff --git a/lib/datadog_api_client/v1/models/heat_map_widget_x_axis.rb b/lib/datadog_api_client/v1/models/heat_map_widget_x_axis.rb index 766d953109d..8dcac8e136b 100644 --- a/lib/datadog_api_client/v1/models/heat_map_widget_x_axis.rb +++ b/lib/datadog_api_client/v1/models/heat_map_widget_x_axis.rb @@ -24,7 +24,7 @@ class HeatMapWidgetXAxis # Number of time buckets to target, also known as the resolution # of the time bins. This is only applicable for distribution of # points (group distributions use the roll-up modifier). - attr_reader :num_buckets + attr_accessor :num_buckets attr_accessor :additional_properties @@ -67,24 +67,6 @@ def initialize(attributes = {}) end end - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - # @!visibility private - def valid? - return false if !@num_buckets.nil? && @num_buckets < 1 - true - end - - # Custom attribute writer method with validation - # @param num_buckets [Object] Object to be assigned - # @!visibility private - def num_buckets=(num_buckets) - if !num_buckets.nil? && num_buckets < 1 - fail ArgumentError, 'invalid value for "num_buckets", must be greater than or equal to 1.' - end - @num_buckets = num_buckets - end - # Returns the object in the form of hash, with additionalProperties support. # @return [Hash] Returns the object in the form of hash # @!visibility private