Skip to content

Commit

Permalink
Regenerate client from commit bb12dce7 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Sep 25, 2024
1 parent 814866d commit 602080b
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-09-24 18:16:25.337140",
"spec_repo_commit": "2eb52c63"
"regenerated": "2024-09-25 18:30:19.477008",
"spec_repo_commit": "bb12dce7"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-09-24 18:16:25.361129",
"spec_repo_commit": "2eb52c63"
"regenerated": "2024-09-25 18:30:19.491102",
"spec_repo_commit": "bb12dce7"
}
}
}
11 changes: 8 additions & 3 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6559,6 +6559,12 @@ components:
example: 1693491974000000000
format: int64
type: integer
team:
description: Name of the team owning the deployed service. If not provided,
this is automatically populated with the team associated with the service
in the Service Catalog.
example: backend
type: string
version:
description: Version to correlate with [APM Deployment Tracking](https://docs.datadoghq.com/tracing/services/deployment_tracking/).
example: v1.12.07
Expand Down Expand Up @@ -32865,8 +32871,7 @@ paths:
schema:
type: string
- description: The number of hours of look back (from now) to estimate cardinality
with. Estimates are based on historical data, and unspecified fields default
to the minimum 49 hours.
with. If unspecified, it defaults to 0 hours.
example: 49
in: query
name: filter[hours_ago]
Expand Down Expand Up @@ -32895,7 +32900,7 @@ paths:
schema:
type: boolean
- description: A window, in hours, from the look back to estimate cardinality
with.
with. The minimum is 1 hour.
example: 6
in: query
name: filter[timespan_h]
Expand Down
4 changes: 2 additions & 2 deletions lib/datadog_api_client/v2/api/metrics_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,10 @@ def estimate_metrics_output_series(metric_name, opts = {})
# @param metric_name [String] The name of the metric.
# @param opts [Hash] the optional parameters
# @option opts [String] :filter_groups Filtered tag keys that the metric is configured to query with.
# @option opts [Integer] :filter_hours_ago The number of hours of look back (from now) to estimate cardinality with. Estimates are based on historical data, and unspecified fields default to the minimum 49 hours.
# @option opts [Integer] :filter_hours_ago The number of hours of look back (from now) to estimate cardinality with. If unspecified, it defaults to 0 hours.
# @option opts [Integer] :filter_num_aggregations The number of aggregations that a `count`, `rate`, or `gauge` metric is configured to use. Max number of aggregation combos is 9.
# @option opts [Boolean] :filter_pct A boolean, for distribution metrics only, to estimate cardinality if the metric includes additional percentile aggregators.
# @option opts [Integer] :filter_timespan_h A window, in hours, from the look back to estimate cardinality with.
# @option opts [Integer] :filter_timespan_h A window, in hours, from the look back to estimate cardinality with. The minimum is 1 hour.
# @return [Array<(MetricEstimateResponse, Integer, Hash)>] MetricEstimateResponse data, response status code and response headers
def estimate_metrics_output_series_with_http_info(metric_name, opts = {})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class DORADeploymentRequestAttributes
# Unix timestamp when the deployment started. It must be in nanoseconds, milliseconds, or seconds.
attr_reader :started_at

# Name of the team owning the deployed service. If not provided, this is automatically populated with the team associated with the service in the Service Catalog.
attr_accessor :team

# Version to correlate with [APM Deployment Tracking](https://docs.datadoghq.com/tracing/services/deployment_tracking/).
attr_accessor :version

Expand All @@ -54,6 +57,7 @@ def self.attribute_map
:'id' => :'id',
:'service' => :'service',
:'started_at' => :'started_at',
:'team' => :'team',
:'version' => :'version'
}
end
Expand All @@ -68,6 +72,7 @@ def self.openapi_types
:'id' => :'String',
:'service' => :'String',
:'started_at' => :'Integer',
:'team' => :'String',
:'version' => :'String'
}
end
Expand Down Expand Up @@ -114,6 +119,10 @@ def initialize(attributes = {})
self.started_at = attributes[:'started_at']
end

if attributes.key?(:'team')
self.team = attributes[:'team']
end

if attributes.key?(:'version')
self.version = attributes[:'version']
end
Expand Down Expand Up @@ -191,6 +200,7 @@ def ==(o)
id == o.id &&
service == o.service &&
started_at == o.started_at &&
team == o.team &&
version == o.version
additional_properties == o.additional_properties
end
Expand All @@ -199,7 +209,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[env, finished_at, git, id, service, started_at, version].hash
[env, finished_at, git, id, service, started_at, team, version].hash
end
end
end

0 comments on commit 602080b

Please sign in to comment.