Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3865,7 +3865,6 @@ components:

points (group distributions use the roll-up modifier).'
format: int64
minimum: 1
type: integer
type: object
Host:
Expand Down
20 changes: 1 addition & 19 deletions lib/datadog_api_client/v1/models/heat_map_widget_x_axis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
Loading