Skip to content

Commit 7ada193

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 31302d2f of spec repo
1 parent 6c9bf17 commit 7ada193

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-03-14 07:51:10.767732",
8-
"spec_repo_commit": "899883be"
7+
"regenerated": "2025-03-14 10:56:26.815739",
8+
"spec_repo_commit": "31302d2f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-14 07:51:10.783055",
13-
"spec_repo_commit": "899883be"
12+
"regenerated": "2025-03-14 10:56:26.831197",
13+
"spec_repo_commit": "31302d2f"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14746,6 +14746,8 @@ components:
1474614746
properties:
1474714747
aggregation:
1474814748
$ref: '#/components/schemas/SecurityMonitoringRuleQueryAggregation'
14749+
dataSource:
14750+
$ref: '#/components/schemas/SecurityMonitoringStandardDataSource'
1474914751
distinctFields:
1475014752
description: Field for which the cardinality is measured. Sent as an array.
1475114753
items:

lib/datadog_api_client/v2/models/historical_job_query.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class HistoricalJobQuery
2424
# The aggregation type.
2525
attr_accessor :aggregation
2626

27+
# Source of events, either logs or audit trail.
28+
attr_accessor :data_source
29+
2730
# Field for which the cardinality is measured. Sent as an array.
2831
attr_accessor :distinct_fields
2932

@@ -49,6 +52,7 @@ class HistoricalJobQuery
4952
def self.attribute_map
5053
{
5154
:'aggregation' => :'aggregation',
55+
:'data_source' => :'dataSource',
5256
:'distinct_fields' => :'distinctFields',
5357
:'group_by_fields' => :'groupByFields',
5458
:'has_optional_group_by_fields' => :'hasOptionalGroupByFields',
@@ -63,6 +67,7 @@ def self.attribute_map
6367
def self.openapi_types
6468
{
6569
:'aggregation' => :'SecurityMonitoringRuleQueryAggregation',
70+
:'data_source' => :'SecurityMonitoringStandardDataSource',
6671
:'distinct_fields' => :'Array<String>',
6772
:'group_by_fields' => :'Array<String>',
6873
:'has_optional_group_by_fields' => :'Boolean',
@@ -94,6 +99,10 @@ def initialize(attributes = {})
9499
self.aggregation = attributes[:'aggregation']
95100
end
96101

102+
if attributes.key?(:'data_source')
103+
self.data_source = attributes[:'data_source']
104+
end
105+
97106
if attributes.key?(:'distinct_fields')
98107
if (value = attributes[:'distinct_fields']).is_a?(Array)
99108
self.distinct_fields = value
@@ -152,6 +161,7 @@ def ==(o)
152161
return true if self.equal?(o)
153162
self.class == o.class &&
154163
aggregation == o.aggregation &&
164+
data_source == o.data_source &&
155165
distinct_fields == o.distinct_fields &&
156166
group_by_fields == o.group_by_fields &&
157167
has_optional_group_by_fields == o.has_optional_group_by_fields &&
@@ -165,7 +175,7 @@ def ==(o)
165175
# @return [Integer] Hash code
166176
# @!visibility private
167177
def hash
168-
[aggregation, distinct_fields, group_by_fields, has_optional_group_by_fields, metrics, name, query, additional_properties].hash
178+
[aggregation, data_source, distinct_fields, group_by_fields, has_optional_group_by_fields, metrics, name, query, additional_properties].hash
169179
end
170180
end
171181
end

0 commit comments

Comments
 (0)