Skip to content

Commit

Permalink
Regenerate client from commit e323bbe3 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Sep 12, 2023
1 parent 088563b commit 540aaef
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 5 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.5",
"regenerated": "2023-09-12 16:35:57.004645",
"spec_repo_commit": "cbc99635"
"regenerated": "2023-09-12 17:48:38.706995",
"spec_repo_commit": "e323bbe3"
},
"v2": {
"apigentools_version": "1.6.5",
"regenerated": "2023-09-12 16:35:57.017837",
"spec_repo_commit": "cbc99635"
"regenerated": "2023-09-12 17:48:38.721330",
"spec_repo_commit": "e323bbe3"
}
}
}
12 changes: 12 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3422,6 +3422,11 @@ components:
$ref: '#/components/schemas/LogQueryDefinition'
event_query:
$ref: '#/components/schemas/EventQueryDefinition'
formulas:
description: List of formulas that operate on queries.
items:
$ref: '#/components/schemas/WidgetFormula'
type: array
log_query:
$ref: '#/components/schemas/LogQueryDefinition'
network_query:
Expand All @@ -3433,6 +3438,13 @@ components:
q:
description: Widget query.
type: string
queries:
description: List of queries that can be returned directly or used in formulas.
items:
$ref: '#/components/schemas/FormulaAndFunctionQueryDefinition'
type: array
response_format:
$ref: '#/components/schemas/FormulaAndFunctionResponseFormat'
rum_query:
$ref: '#/components/schemas/LogQueryDefinition'
security_query:
Expand Down
36 changes: 35 additions & 1 deletion lib/datadog_api_client/v1/models/heat_map_widget_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ class HeatMapWidgetRequest
# The event query.
attr_accessor :event_query

# List of formulas that operate on queries.
attr_accessor :formulas

# The log query.
attr_accessor :log_query

Expand All @@ -42,6 +45,12 @@ class HeatMapWidgetRequest
# Widget query.
attr_accessor :q

# List of queries that can be returned directly or used in formulas.
attr_accessor :queries

# Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets.
attr_accessor :response_format

# The log query.
attr_accessor :rum_query

Expand All @@ -57,11 +66,14 @@ def self.attribute_map
{
:'apm_query' => :'apm_query',
:'event_query' => :'event_query',
:'formulas' => :'formulas',
:'log_query' => :'log_query',
:'network_query' => :'network_query',
:'process_query' => :'process_query',
:'profile_metrics_query' => :'profile_metrics_query',
:'q' => :'q',
:'queries' => :'queries',
:'response_format' => :'response_format',
:'rum_query' => :'rum_query',
:'security_query' => :'security_query',
:'style' => :'style'
Expand All @@ -74,11 +86,14 @@ def self.openapi_types
{
:'apm_query' => :'LogQueryDefinition',
:'event_query' => :'EventQueryDefinition',
:'formulas' => :'Array<WidgetFormula>',
:'log_query' => :'LogQueryDefinition',
:'network_query' => :'LogQueryDefinition',
:'process_query' => :'ProcessQueryDefinition',
:'profile_metrics_query' => :'LogQueryDefinition',
:'q' => :'String',
:'queries' => :'Array<FormulaAndFunctionQueryDefinition>',
:'response_format' => :'FormulaAndFunctionResponseFormat',
:'rum_query' => :'LogQueryDefinition',
:'security_query' => :'LogQueryDefinition',
:'style' => :'WidgetStyle'
Expand Down Expand Up @@ -109,6 +124,12 @@ def initialize(attributes = {})
self.event_query = attributes[:'event_query']
end

if attributes.key?(:'formulas')
if (value = attributes[:'formulas']).is_a?(Array)
self.formulas = value
end
end

if attributes.key?(:'log_query')
self.log_query = attributes[:'log_query']
end
Expand All @@ -129,6 +150,16 @@ def initialize(attributes = {})
self.q = attributes[:'q']
end

if attributes.key?(:'queries')
if (value = attributes[:'queries']).is_a?(Array)
self.queries = value
end
end

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

if attributes.key?(:'rum_query')
self.rum_query = attributes[:'rum_query']
end
Expand All @@ -150,11 +181,14 @@ def ==(o)
self.class == o.class &&
apm_query == o.apm_query &&
event_query == o.event_query &&
formulas == o.formulas &&
log_query == o.log_query &&
network_query == o.network_query &&
process_query == o.process_query &&
profile_metrics_query == o.profile_metrics_query &&
q == o.q &&
queries == o.queries &&
response_format == o.response_format &&
rum_query == o.rum_query &&
security_query == o.security_query &&
style == o.style
Expand All @@ -164,7 +198,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[apm_query, event_query, log_query, network_query, process_query, profile_metrics_query, q, rum_query, security_query, style].hash
[apm_query, event_query, formulas, log_query, network_query, process_query, profile_metrics_query, q, queries, response_format, rum_query, security_query, style].hash
end
end
end

0 comments on commit 540aaef

Please sign in to comment.