Skip to content
Open
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
4 changes: 4 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31470,6 +31470,10 @@ components:
items:
$ref: '#/components/schemas/ObservabilityPipelineConfigSourceItem'
type: array
use_legacy_search_syntax:
description: Use this field to configure the pipeline's filter queries to
use the deprecated search syntax.
type: boolean
required:
- sources
- destinations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ class ObservabilityPipelineConfig
# A list of configured data sources for the pipeline.
attr_reader :sources

# Use this field to configure the pipeline's filter queries to use the deprecated search syntax.
attr_accessor :use_legacy_search_syntax

attr_accessor :additional_properties

# Attribute mapping from ruby-style variable name to JSON key.
Expand All @@ -38,7 +41,8 @@ def self.attribute_map
{
:'destinations' => :'destinations',
:'processors' => :'processors',
:'sources' => :'sources'
:'sources' => :'sources',
:'use_legacy_search_syntax' => :'use_legacy_search_syntax'
}
end

Expand All @@ -48,7 +52,8 @@ def self.openapi_types
{
:'destinations' => :'Array<ObservabilityPipelineConfigDestinationItem>',
:'processors' => :'Array<ObservabilityPipelineConfigProcessorItem>',
:'sources' => :'Array<ObservabilityPipelineConfigSourceItem>'
:'sources' => :'Array<ObservabilityPipelineConfigSourceItem>',
:'use_legacy_search_syntax' => :'Boolean'
}
end

Expand Down Expand Up @@ -87,6 +92,10 @@ def initialize(attributes = {})
self.sources = value
end
end

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

# Check to see if the all the properties in the model are valid
Expand Down Expand Up @@ -147,14 +156,15 @@ def ==(o)
destinations == o.destinations &&
processors == o.processors &&
sources == o.sources &&
use_legacy_search_syntax == o.use_legacy_search_syntax &&
additional_properties == o.additional_properties
end

# Calculates hash code according to all attributes.
# @return [Integer] Hash code
# @!visibility private
def hash
[destinations, processors, sources, additional_properties].hash
[destinations, processors, sources, use_legacy_search_syntax, additional_properties].hash
end
end
end
Loading