Skip to content

Commit f350e58

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit c21f41b of spec repo
1 parent b1190b5 commit f350e58

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31357,6 +31357,10 @@ components:
3135731357
items:
3135831358
$ref: '#/components/schemas/ObservabilityPipelineConfigSourceItem'
3135931359
type: array
31360+
use_legacy_search_syntax:
31361+
description: Use this field to configure the pipeline's filter queries to
31362+
use the deprecated search syntax.
31363+
type: boolean
3136031364
required:
3136131365
- sources
3136231366
- destinations

lib/datadog_api_client/v2/models/observability_pipeline_config.rb

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ class ObservabilityPipelineConfig
3030
# A list of configured data sources for the pipeline.
3131
attr_reader :sources
3232

33+
# Use this field to configure the pipeline's filter queries to use the deprecated search syntax.
34+
attr_accessor :use_legacy_search_syntax
35+
3336
attr_accessor :additional_properties
3437

3538
# Attribute mapping from ruby-style variable name to JSON key.
@@ -38,7 +41,8 @@ def self.attribute_map
3841
{
3942
:'destinations' => :'destinations',
4043
:'processors' => :'processors',
41-
:'sources' => :'sources'
44+
:'sources' => :'sources',
45+
:'use_legacy_search_syntax' => :'use_legacy_search_syntax'
4246
}
4347
end
4448

@@ -48,7 +52,8 @@ def self.openapi_types
4852
{
4953
:'destinations' => :'Array<ObservabilityPipelineConfigDestinationItem>',
5054
:'processors' => :'Array<ObservabilityPipelineConfigProcessorItem>',
51-
:'sources' => :'Array<ObservabilityPipelineConfigSourceItem>'
55+
:'sources' => :'Array<ObservabilityPipelineConfigSourceItem>',
56+
:'use_legacy_search_syntax' => :'Boolean'
5257
}
5358
end
5459

@@ -87,6 +92,10 @@ def initialize(attributes = {})
8792
self.sources = value
8893
end
8994
end
95+
96+
if attributes.key?(:'use_legacy_search_syntax')
97+
self.use_legacy_search_syntax = attributes[:'use_legacy_search_syntax']
98+
end
9099
end
91100

92101
# Check to see if the all the properties in the model are valid
@@ -147,14 +156,15 @@ def ==(o)
147156
destinations == o.destinations &&
148157
processors == o.processors &&
149158
sources == o.sources &&
159+
use_legacy_search_syntax == o.use_legacy_search_syntax &&
150160
additional_properties == o.additional_properties
151161
end
152162

153163
# Calculates hash code according to all attributes.
154164
# @return [Integer] Hash code
155165
# @!visibility private
156166
def hash
157-
[destinations, processors, sources, additional_properties].hash
167+
[destinations, processors, sources, use_legacy_search_syntax, additional_properties].hash
158168
end
159169
end
160170
end

0 commit comments

Comments
 (0)