Skip to content

Commit e300c54

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add subtest for synthetics multistep tests (#2901)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent cc24da3 commit e300c54

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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:

lib/datadog_api_client/v1/models/heat_map_widget_x_axis.rb

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)