2626 DashboardTemplateVariable .JSON_PROPERTY_DEFAULT ,
2727 DashboardTemplateVariable .JSON_PROPERTY_DEFAULTS ,
2828 DashboardTemplateVariable .JSON_PROPERTY_NAME ,
29- DashboardTemplateVariable .JSON_PROPERTY_PREFIX
29+ DashboardTemplateVariable .JSON_PROPERTY_PREFIX ,
30+ DashboardTemplateVariable .JSON_PROPERTY_TYPE
3031})
3132@ jakarta .annotation .Generated (
3233 value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator" )
@@ -47,6 +48,9 @@ public class DashboardTemplateVariable {
4748 public static final String JSON_PROPERTY_PREFIX = "prefix" ;
4849 private JsonNullable <String > prefix = JsonNullable .<String >undefined ();
4950
51+ public static final String JSON_PROPERTY_TYPE = "type" ;
52+ private JsonNullable <String > type = JsonNullable .<String >undefined ();
53+
5054 public DashboardTemplateVariable () {}
5155
5256 @ JsonCreator
@@ -216,6 +220,38 @@ public void setPrefix(String prefix) {
216220 this .prefix = JsonNullable .<String >of (prefix );
217221 }
218222
223+ public DashboardTemplateVariable type (String type ) {
224+ this .type = JsonNullable .<String >of (type );
225+ return this ;
226+ }
227+
228+ /**
229+ * The type of variable. This is to differentiate between filter variables (interpolated in query)
230+ * and group by variables (interpolated into group by).
231+ *
232+ * @return type
233+ */
234+ @ jakarta .annotation .Nullable
235+ @ JsonIgnore
236+ public String getType () {
237+ return type .orElse (null );
238+ }
239+
240+ @ JsonProperty (JSON_PROPERTY_TYPE )
241+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
242+ public JsonNullable <String > getType_JsonNullable () {
243+ return type ;
244+ }
245+
246+ @ JsonProperty (JSON_PROPERTY_TYPE )
247+ public void setType_JsonNullable (JsonNullable <String > type ) {
248+ this .type = type ;
249+ }
250+
251+ public void setType (String type ) {
252+ this .type = JsonNullable .<String >of (type );
253+ }
254+
219255 /**
220256 * A container for additional, undeclared properties. This is a holder for any undeclared
221257 * properties as specified with the 'additionalProperties' keyword in the OAS document.
@@ -277,13 +313,15 @@ public boolean equals(Object o) {
277313 && Objects .equals (this .defaults , dashboardTemplateVariable .defaults )
278314 && Objects .equals (this .name , dashboardTemplateVariable .name )
279315 && Objects .equals (this .prefix , dashboardTemplateVariable .prefix )
316+ && Objects .equals (this .type , dashboardTemplateVariable .type )
280317 && Objects .equals (
281318 this .additionalProperties , dashboardTemplateVariable .additionalProperties );
282319 }
283320
284321 @ Override
285322 public int hashCode () {
286- return Objects .hash (availableValues , _default , defaults , name , prefix , additionalProperties );
323+ return Objects .hash (
324+ availableValues , _default , defaults , name , prefix , type , additionalProperties );
287325 }
288326
289327 @ Override
@@ -295,6 +333,7 @@ public String toString() {
295333 sb .append (" defaults: " ).append (toIndentedString (defaults )).append ("\n " );
296334 sb .append (" name: " ).append (toIndentedString (name )).append ("\n " );
297335 sb .append (" prefix: " ).append (toIndentedString (prefix )).append ("\n " );
336+ sb .append (" type: " ).append (toIndentedString (type )).append ("\n " );
298337 sb .append (" additionalProperties: " )
299338 .append (toIndentedString (additionalProperties ))
300339 .append ("\n " );
0 commit comments