2929 TableWidgetRequest .JSON_PROPERTY_CELL_DISPLAY_MODE ,
3030 TableWidgetRequest .JSON_PROPERTY_CONDITIONAL_FORMATS ,
3131 TableWidgetRequest .JSON_PROPERTY_EVENT_QUERY ,
32+ TableWidgetRequest .JSON_PROPERTY_FORMULAS ,
3233 TableWidgetRequest .JSON_PROPERTY_LIMIT ,
3334 TableWidgetRequest .JSON_PROPERTY_LOG_QUERY ,
3435 TableWidgetRequest .JSON_PROPERTY_NETWORK_QUERY ,
3536 TableWidgetRequest .JSON_PROPERTY_ORDER ,
3637 TableWidgetRequest .JSON_PROPERTY_PROCESS_QUERY ,
3738 TableWidgetRequest .JSON_PROPERTY_PROFILE_METRICS_QUERY ,
3839 TableWidgetRequest .JSON_PROPERTY_Q ,
40+ TableWidgetRequest .JSON_PROPERTY_QUERIES ,
41+ TableWidgetRequest .JSON_PROPERTY_RESPONSE_FORMAT ,
3942 TableWidgetRequest .JSON_PROPERTY_RUM_QUERY ,
4043 TableWidgetRequest .JSON_PROPERTY_SECURITY_QUERY
4144})
@@ -62,6 +65,9 @@ public class TableWidgetRequest {
6265 public static final String JSON_PROPERTY_EVENT_QUERY = "event_query" ;
6366 private LogQueryDefinition eventQuery ;
6467
68+ public static final String JSON_PROPERTY_FORMULAS = "formulas" ;
69+ private List <WidgetFormula > formulas = null ;
70+
6571 public static final String JSON_PROPERTY_LIMIT = "limit" ;
6672 private Long limit ;
6773
@@ -83,6 +89,12 @@ public class TableWidgetRequest {
8389 public static final String JSON_PROPERTY_Q = "q" ;
8490 private String q ;
8591
92+ public static final String JSON_PROPERTY_QUERIES = "queries" ;
93+ private List <FormulaAndFunctionQueryDefinition > queries = null ;
94+
95+ public static final String JSON_PROPERTY_RESPONSE_FORMAT = "response_format" ;
96+ private FormulaAndFunctionResponseFormat responseFormat ;
97+
8698 public static final String JSON_PROPERTY_RUM_QUERY = "rum_query" ;
8799 private LogQueryDefinition rumQuery ;
88100
@@ -260,6 +272,37 @@ public void setEventQuery(LogQueryDefinition eventQuery) {
260272 this .eventQuery = eventQuery ;
261273 }
262274
275+ public TableWidgetRequest formulas (List <WidgetFormula > formulas ) {
276+ this .formulas = formulas ;
277+ return this ;
278+ }
279+
280+ public TableWidgetRequest addFormulasItem (WidgetFormula formulasItem ) {
281+ if (this .formulas == null ) {
282+ this .formulas = new ArrayList <>();
283+ }
284+ this .formulas .add (formulasItem );
285+ return this ;
286+ }
287+
288+ /**
289+ * List of formulas that operate on queries. **This feature is currently in beta.**
290+ *
291+ * @return formulas
292+ */
293+ @ javax .annotation .Nullable
294+ @ ApiModelProperty (
295+ value = "List of formulas that operate on queries. **This feature is currently in beta.**" )
296+ @ JsonProperty (JSON_PROPERTY_FORMULAS )
297+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
298+ public List <WidgetFormula > getFormulas () {
299+ return formulas ;
300+ }
301+
302+ public void setFormulas (List <WidgetFormula > formulas ) {
303+ this .formulas = formulas ;
304+ }
305+
263306 public TableWidgetRequest limit (Long limit ) {
264307 this .limit = limit ;
265308 return this ;
@@ -418,6 +461,62 @@ public void setQ(String q) {
418461 this .q = q ;
419462 }
420463
464+ public TableWidgetRequest queries (List <FormulaAndFunctionQueryDefinition > queries ) {
465+ this .queries = queries ;
466+ return this ;
467+ }
468+
469+ public TableWidgetRequest addQueriesItem (FormulaAndFunctionQueryDefinition queriesItem ) {
470+ if (this .queries == null ) {
471+ this .queries = new ArrayList <>();
472+ }
473+ this .queries .add (queriesItem );
474+ return this ;
475+ }
476+
477+ /**
478+ * List of queries that can be returned directly or used in formulas. **This feature is currently
479+ * in beta.**
480+ *
481+ * @return queries
482+ */
483+ @ javax .annotation .Nullable
484+ @ ApiModelProperty (
485+ value =
486+ "List of queries that can be returned directly or used in formulas. **This feature is"
487+ + " currently in beta.**" )
488+ @ JsonProperty (JSON_PROPERTY_QUERIES )
489+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
490+ public List <FormulaAndFunctionQueryDefinition > getQueries () {
491+ return queries ;
492+ }
493+
494+ public void setQueries (List <FormulaAndFunctionQueryDefinition > queries ) {
495+ this .queries = queries ;
496+ }
497+
498+ public TableWidgetRequest responseFormat (FormulaAndFunctionResponseFormat responseFormat ) {
499+ this .responseFormat = responseFormat ;
500+ return this ;
501+ }
502+
503+ /**
504+ * Get responseFormat
505+ *
506+ * @return responseFormat
507+ */
508+ @ javax .annotation .Nullable
509+ @ ApiModelProperty (value = "" )
510+ @ JsonProperty (JSON_PROPERTY_RESPONSE_FORMAT )
511+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
512+ public FormulaAndFunctionResponseFormat getResponseFormat () {
513+ return responseFormat ;
514+ }
515+
516+ public void setResponseFormat (FormulaAndFunctionResponseFormat responseFormat ) {
517+ this .responseFormat = responseFormat ;
518+ }
519+
421520 public TableWidgetRequest rumQuery (LogQueryDefinition rumQuery ) {
422521 this .rumQuery = rumQuery ;
423522 return this ;
@@ -479,13 +578,16 @@ public boolean equals(Object o) {
479578 && Objects .equals (this .cellDisplayMode , tableWidgetRequest .cellDisplayMode )
480579 && Objects .equals (this .conditionalFormats , tableWidgetRequest .conditionalFormats )
481580 && Objects .equals (this .eventQuery , tableWidgetRequest .eventQuery )
581+ && Objects .equals (this .formulas , tableWidgetRequest .formulas )
482582 && Objects .equals (this .limit , tableWidgetRequest .limit )
483583 && Objects .equals (this .logQuery , tableWidgetRequest .logQuery )
484584 && Objects .equals (this .networkQuery , tableWidgetRequest .networkQuery )
485585 && Objects .equals (this .order , tableWidgetRequest .order )
486586 && Objects .equals (this .processQuery , tableWidgetRequest .processQuery )
487587 && Objects .equals (this .profileMetricsQuery , tableWidgetRequest .profileMetricsQuery )
488588 && Objects .equals (this .q , tableWidgetRequest .q )
589+ && Objects .equals (this .queries , tableWidgetRequest .queries )
590+ && Objects .equals (this .responseFormat , tableWidgetRequest .responseFormat )
489591 && Objects .equals (this .rumQuery , tableWidgetRequest .rumQuery )
490592 && Objects .equals (this .securityQuery , tableWidgetRequest .securityQuery );
491593 }
@@ -500,13 +602,16 @@ public int hashCode() {
500602 cellDisplayMode ,
501603 conditionalFormats ,
502604 eventQuery ,
605+ formulas ,
503606 limit ,
504607 logQuery ,
505608 networkQuery ,
506609 order ,
507610 processQuery ,
508611 profileMetricsQuery ,
509612 q ,
613+ queries ,
614+ responseFormat ,
510615 rumQuery ,
511616 securityQuery );
512617 }
@@ -522,6 +627,7 @@ public String toString() {
522627 sb .append (" cellDisplayMode: " ).append (toIndentedString (cellDisplayMode )).append ("\n " );
523628 sb .append (" conditionalFormats: " ).append (toIndentedString (conditionalFormats )).append ("\n " );
524629 sb .append (" eventQuery: " ).append (toIndentedString (eventQuery )).append ("\n " );
630+ sb .append (" formulas: " ).append (toIndentedString (formulas )).append ("\n " );
525631 sb .append (" limit: " ).append (toIndentedString (limit )).append ("\n " );
526632 sb .append (" logQuery: " ).append (toIndentedString (logQuery )).append ("\n " );
527633 sb .append (" networkQuery: " ).append (toIndentedString (networkQuery )).append ("\n " );
@@ -531,6 +637,8 @@ public String toString() {
531637 .append (toIndentedString (profileMetricsQuery ))
532638 .append ("\n " );
533639 sb .append (" q: " ).append (toIndentedString (q )).append ("\n " );
640+ sb .append (" queries: " ).append (toIndentedString (queries )).append ("\n " );
641+ sb .append (" responseFormat: " ).append (toIndentedString (responseFormat )).append ("\n " );
534642 sb .append (" rumQuery: " ).append (toIndentedString (rumQuery )).append ("\n " );
535643 sb .append (" securityQuery: " ).append (toIndentedString (securityQuery )).append ("\n " );
536644 sb .append ("}" );
0 commit comments