2323 TreeMapWidgetRequest .JSON_PROPERTY_FORMULAS ,
2424 TreeMapWidgetRequest .JSON_PROPERTY_Q ,
2525 TreeMapWidgetRequest .JSON_PROPERTY_QUERIES ,
26- TreeMapWidgetRequest .JSON_PROPERTY_RESPONSE_FORMAT
26+ TreeMapWidgetRequest .JSON_PROPERTY_RESPONSE_FORMAT ,
27+ TreeMapWidgetRequest .JSON_PROPERTY_SORT ,
28+ TreeMapWidgetRequest .JSON_PROPERTY_STYLE
2729})
2830@ jakarta .annotation .Generated (
2931 value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator" )
@@ -41,6 +43,12 @@ public class TreeMapWidgetRequest {
4143 public static final String JSON_PROPERTY_RESPONSE_FORMAT = "response_format" ;
4244 private FormulaAndFunctionResponseFormat responseFormat ;
4345
46+ public static final String JSON_PROPERTY_SORT = "sort" ;
47+ private WidgetSortBy sort ;
48+
49+ public static final String JSON_PROPERTY_STYLE = "style" ;
50+ private WidgetRequestStyle style ;
51+
4452 public TreeMapWidgetRequest formulas (List <WidgetFormula > formulas ) {
4553 this .formulas = formulas ;
4654 for (WidgetFormula item : formulas ) {
@@ -158,6 +166,50 @@ public void setResponseFormat(FormulaAndFunctionResponseFormat responseFormat) {
158166 this .responseFormat = responseFormat ;
159167 }
160168
169+ public TreeMapWidgetRequest sort (WidgetSortBy sort ) {
170+ this .sort = sort ;
171+ this .unparsed |= sort .unparsed ;
172+ return this ;
173+ }
174+
175+ /**
176+ * The controls for sorting the widget.
177+ *
178+ * @return sort
179+ */
180+ @ jakarta .annotation .Nullable
181+ @ JsonProperty (JSON_PROPERTY_SORT )
182+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
183+ public WidgetSortBy getSort () {
184+ return sort ;
185+ }
186+
187+ public void setSort (WidgetSortBy sort ) {
188+ this .sort = sort ;
189+ }
190+
191+ public TreeMapWidgetRequest style (WidgetRequestStyle style ) {
192+ this .style = style ;
193+ this .unparsed |= style .unparsed ;
194+ return this ;
195+ }
196+
197+ /**
198+ * Define request widget style.
199+ *
200+ * @return style
201+ */
202+ @ jakarta .annotation .Nullable
203+ @ JsonProperty (JSON_PROPERTY_STYLE )
204+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
205+ public WidgetRequestStyle getStyle () {
206+ return style ;
207+ }
208+
209+ public void setStyle (WidgetRequestStyle style ) {
210+ this .style = style ;
211+ }
212+
161213 /**
162214 * A container for additional, undeclared properties. This is a holder for any undeclared
163215 * properties as specified with the 'additionalProperties' keyword in the OAS document.
@@ -218,12 +270,14 @@ public boolean equals(Object o) {
218270 && Objects .equals (this .q , treeMapWidgetRequest .q )
219271 && Objects .equals (this .queries , treeMapWidgetRequest .queries )
220272 && Objects .equals (this .responseFormat , treeMapWidgetRequest .responseFormat )
273+ && Objects .equals (this .sort , treeMapWidgetRequest .sort )
274+ && Objects .equals (this .style , treeMapWidgetRequest .style )
221275 && Objects .equals (this .additionalProperties , treeMapWidgetRequest .additionalProperties );
222276 }
223277
224278 @ Override
225279 public int hashCode () {
226- return Objects .hash (formulas , q , queries , responseFormat , additionalProperties );
280+ return Objects .hash (formulas , q , queries , responseFormat , sort , style , additionalProperties );
227281 }
228282
229283 @ Override
@@ -234,6 +288,8 @@ public String toString() {
234288 sb .append (" q: " ).append (toIndentedString (q )).append ("\n " );
235289 sb .append (" queries: " ).append (toIndentedString (queries )).append ("\n " );
236290 sb .append (" responseFormat: " ).append (toIndentedString (responseFormat )).append ("\n " );
291+ sb .append (" sort: " ).append (toIndentedString (sort )).append ("\n " );
292+ sb .append (" style: " ).append (toIndentedString (style )).append ("\n " );
237293 sb .append (" additionalProperties: " )
238294 .append (toIndentedString (additionalProperties ))
239295 .append ("\n " );
0 commit comments