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
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.4.1.dev2",
"regenerated": "2021-02-25 21:17:47.975841",
"spec_repo_commit": "5016587"
"regenerated": "2021-02-26 15:41:59.279139",
"spec_repo_commit": "ac9282d"
},
"v2": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-02-25 21:18:02.738896",
"spec_repo_commit": "5016587"
"regenerated": "2021-02-26 15:42:12.606507",
"spec_repo_commit": "ac9282d"
}
}
}
14 changes: 14 additions & 0 deletions data/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5096,6 +5096,12 @@ components:
type: array
event_query:
$ref: '#/components/schemas/LogQueryDefinition'
formulas:
description: List of formulas that operate on queries. **This feature is
currently in beta.**
items:
$ref: '#/components/schemas/WidgetFormula'
type: array
log_query:
$ref: '#/components/schemas/LogQueryDefinition'
network_query:
Expand All @@ -5107,6 +5113,14 @@ components:
q:
description: TODO.
type: string
queries:
description: List of queries that can be returned directly or used in formulas.
**This feature is currently in beta.**
items:
$ref: '#/components/schemas/FormulaAndFunctionQueryDefinition'
type: array
response_format:
$ref: '#/components/schemas/FormulaAndFunctionResponseFormat'
rum_query:
$ref: '#/components/schemas/LogQueryDefinition'
security_query:
Expand Down
6 changes: 6 additions & 0 deletions docs/v1/QueryValueWidgetRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@
| **apm_query** | [**LogQueryDefinition**](LogQueryDefinition.md) | | [optional] |
| **conditional_formats** | [**Array<WidgetConditionalFormat>**](WidgetConditionalFormat.md) | List of conditional formats. | [optional] |
| **event_query** | [**LogQueryDefinition**](LogQueryDefinition.md) | | [optional] |
| **formulas** | [**Array<WidgetFormula>**](WidgetFormula.md) | List of formulas that operate on queries. **This feature is currently in beta.** | [optional] |
| **log_query** | [**LogQueryDefinition**](LogQueryDefinition.md) | | [optional] |
| **network_query** | [**LogQueryDefinition**](LogQueryDefinition.md) | | [optional] |
| **process_query** | [**ProcessQueryDefinition**](ProcessQueryDefinition.md) | | [optional] |
| **profile_metrics_query** | [**LogQueryDefinition**](LogQueryDefinition.md) | | [optional] |
| **q** | **String** | TODO. | [optional] |
| **queries** | [**Array<FormulaAndFunctionQueryDefinition>**](FormulaAndFunctionQueryDefinition.md) | List of queries that can be returned directly or used in formulas. **This feature is currently in beta.** | [optional] |
| **response_format** | [**FormulaAndFunctionResponseFormat**](FormulaAndFunctionResponseFormat.md) | | [optional] |
| **rum_query** | [**LogQueryDefinition**](LogQueryDefinition.md) | | [optional] |
| **security_query** | [**LogQueryDefinition**](LogQueryDefinition.md) | | [optional] |

Expand All @@ -26,11 +29,14 @@ instance = DatadogAPIClient::V1::QueryValueWidgetRequest.new(
apm_query: null,
conditional_formats: null,
event_query: null,
formulas: null,
log_query: null,
network_query: null,
process_query: null,
profile_metrics_query: null,
q: null,
queries: null,
response_format: null,
rum_query: null,
security_query: null
)
Expand Down
35 changes: 34 additions & 1 deletion lib/datadog_api_client/v1/models/query_value_widget_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ class QueryValueWidgetRequest

attr_accessor :event_query

# List of formulas that operate on queries. **This feature is currently in beta.**
attr_accessor :formulas

attr_accessor :log_query

attr_accessor :network_query
Expand All @@ -39,6 +42,11 @@ class QueryValueWidgetRequest
# TODO.
attr_accessor :q

# List of queries that can be returned directly or used in formulas. **This feature is currently in beta.**
attr_accessor :queries

attr_accessor :response_format

attr_accessor :rum_query

attr_accessor :security_query
Expand All @@ -50,11 +58,14 @@ def self.attribute_map
:'apm_query' => :'apm_query',
:'conditional_formats' => :'conditional_formats',
:'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'
}
Expand All @@ -72,11 +83,14 @@ def self.openapi_types
:'apm_query' => :'LogQueryDefinition',
:'conditional_formats' => :'Array<WidgetConditionalFormat>',
:'event_query' => :'LogQueryDefinition',
:'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'
}
Expand Down Expand Up @@ -121,6 +135,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 @@ -141,6 +161,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 Down Expand Up @@ -172,11 +202,14 @@ def ==(o)
apm_query == o.apm_query &&
conditional_formats == o.conditional_formats &&
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
end
Expand All @@ -190,7 +223,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[aggregator, apm_query, conditional_formats, event_query, log_query, network_query, process_query, profile_metrics_query, q, rum_query, security_query].hash
[aggregator, apm_query, conditional_formats, event_query, formulas, log_query, network_query, process_query, profile_metrics_query, q, queries, response_format, rum_query, security_query].hash
end

# Builds the object from hash
Expand Down