2323@ JsonPropertyOrder ({
2424 ObservabilityPipelineConfig .JSON_PROPERTY_DESTINATIONS ,
2525 ObservabilityPipelineConfig .JSON_PROPERTY_PROCESSORS ,
26- ObservabilityPipelineConfig .JSON_PROPERTY_SOURCES
26+ ObservabilityPipelineConfig .JSON_PROPERTY_SOURCES ,
27+ ObservabilityPipelineConfig .JSON_PROPERTY_USE_LEGACY_SEARCH_SYNTAX
2728})
2829@ jakarta .annotation .Generated (
2930 value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator" )
@@ -38,6 +39,9 @@ public class ObservabilityPipelineConfig {
3839 public static final String JSON_PROPERTY_SOURCES = "sources" ;
3940 private List <ObservabilityPipelineConfigSourceItem > sources = new ArrayList <>();
4041
42+ public static final String JSON_PROPERTY_USE_LEGACY_SEARCH_SYNTAX = "use_legacy_search_syntax" ;
43+ private Boolean useLegacySearchSyntax ;
44+
4145 public ObservabilityPipelineConfig () {}
4246
4347 @ JsonCreator
@@ -146,6 +150,27 @@ public void setSources(List<ObservabilityPipelineConfigSourceItem> sources) {
146150 this .sources = sources ;
147151 }
148152
153+ public ObservabilityPipelineConfig useLegacySearchSyntax (Boolean useLegacySearchSyntax ) {
154+ this .useLegacySearchSyntax = useLegacySearchSyntax ;
155+ return this ;
156+ }
157+
158+ /**
159+ * Use this field to configure the pipeline's filter queries to use the deprecated search syntax.
160+ *
161+ * @return useLegacySearchSyntax
162+ */
163+ @ jakarta .annotation .Nullable
164+ @ JsonProperty (JSON_PROPERTY_USE_LEGACY_SEARCH_SYNTAX )
165+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
166+ public Boolean getUseLegacySearchSyntax () {
167+ return useLegacySearchSyntax ;
168+ }
169+
170+ public void setUseLegacySearchSyntax (Boolean useLegacySearchSyntax ) {
171+ this .useLegacySearchSyntax = useLegacySearchSyntax ;
172+ }
173+
149174 /**
150175 * A container for additional, undeclared properties. This is a holder for any undeclared
151176 * properties as specified with the 'additionalProperties' keyword in the OAS document.
@@ -205,13 +230,16 @@ public boolean equals(Object o) {
205230 return Objects .equals (this .destinations , observabilityPipelineConfig .destinations )
206231 && Objects .equals (this .processors , observabilityPipelineConfig .processors )
207232 && Objects .equals (this .sources , observabilityPipelineConfig .sources )
233+ && Objects .equals (
234+ this .useLegacySearchSyntax , observabilityPipelineConfig .useLegacySearchSyntax )
208235 && Objects .equals (
209236 this .additionalProperties , observabilityPipelineConfig .additionalProperties );
210237 }
211238
212239 @ Override
213240 public int hashCode () {
214- return Objects .hash (destinations , processors , sources , additionalProperties );
241+ return Objects .hash (
242+ destinations , processors , sources , useLegacySearchSyntax , additionalProperties );
215243 }
216244
217245 @ Override
@@ -221,6 +249,9 @@ public String toString() {
221249 sb .append (" destinations: " ).append (toIndentedString (destinations )).append ("\n " );
222250 sb .append (" processors: " ).append (toIndentedString (processors )).append ("\n " );
223251 sb .append (" sources: " ).append (toIndentedString (sources )).append ("\n " );
252+ sb .append (" useLegacySearchSyntax: " )
253+ .append (toIndentedString (useLegacySearchSyntax ))
254+ .append ("\n " );
224255 sb .append (" additionalProperties: " )
225256 .append (toIndentedString (additionalProperties ))
226257 .append ("\n " );
0 commit comments