File tree Expand file tree Collapse file tree 2 files changed +1
-20
lines changed
lib/datadog_api_client/v1/models Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -3865,7 +3865,6 @@ components:
38653865
38663866 points (group distributions use the roll-up modifier).'
38673867 format: int64
3868- minimum: 1
38693868 type: integer
38703869 type: object
38713870 Host:
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class HeatMapWidgetXAxis
2424 # Number of time buckets to target, also known as the resolution
2525 # of the time bins. This is only applicable for distribution of
2626 # points (group distributions use the roll-up modifier).
27- attr_reader :num_buckets
27+ attr_accessor :num_buckets
2828
2929 attr_accessor :additional_properties
3030
@@ -67,24 +67,6 @@ def initialize(attributes = {})
6767 end
6868 end
6969
70- # Check to see if the all the properties in the model are valid
71- # @return true if the model is valid
72- # @!visibility private
73- def valid?
74- return false if !@num_buckets . nil? && @num_buckets < 1
75- true
76- end
77-
78- # Custom attribute writer method with validation
79- # @param num_buckets [Object] Object to be assigned
80- # @!visibility private
81- def num_buckets = ( num_buckets )
82- if !num_buckets . nil? && num_buckets < 1
83- fail ArgumentError , 'invalid value for "num_buckets", must be greater than or equal to 1.'
84- end
85- @num_buckets = num_buckets
86- end
87-
8870 # Returns the object in the form of hash, with additionalProperties support.
8971 # @return [Hash] Returns the object in the form of hash
9072 # @!visibility private
You can’t perform that action at this time.
0 commit comments