1919
2020/** The definition of <code>InputSchemaParameters</code> object. */
2121@ JsonPropertyOrder ({
22+ InputSchemaParameters .JSON_PROPERTY_ALLOW_EXTRA_VALUES ,
23+ InputSchemaParameters .JSON_PROPERTY_ALLOWED_VALUES ,
2224 InputSchemaParameters .JSON_PROPERTY_DEFAULT_VALUE ,
2325 InputSchemaParameters .JSON_PROPERTY_DESCRIPTION ,
2426 InputSchemaParameters .JSON_PROPERTY_LABEL ,
2931 value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator" )
3032public class InputSchemaParameters {
3133 @ JsonIgnore public boolean unparsed = false ;
34+ public static final String JSON_PROPERTY_ALLOW_EXTRA_VALUES = "allowExtraValues" ;
35+ private Boolean allowExtraValues ;
36+
37+ public static final String JSON_PROPERTY_ALLOWED_VALUES = "allowedValues" ;
38+ private Object allowedValues = null ;
39+
3240 public static final String JSON_PROPERTY_DEFAULT_VALUE = "defaultValue" ;
3341 private Object defaultValue = null ;
3442
@@ -55,6 +63,48 @@ public InputSchemaParameters(
5563 this .unparsed |= !type .isValid ();
5664 }
5765
66+ public InputSchemaParameters allowExtraValues (Boolean allowExtraValues ) {
67+ this .allowExtraValues = allowExtraValues ;
68+ return this ;
69+ }
70+
71+ /**
72+ * The <code>InputSchemaParameters</code> <code>allowExtraValues</code>.
73+ *
74+ * @return allowExtraValues
75+ */
76+ @ jakarta .annotation .Nullable
77+ @ JsonProperty (JSON_PROPERTY_ALLOW_EXTRA_VALUES )
78+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
79+ public Boolean getAllowExtraValues () {
80+ return allowExtraValues ;
81+ }
82+
83+ public void setAllowExtraValues (Boolean allowExtraValues ) {
84+ this .allowExtraValues = allowExtraValues ;
85+ }
86+
87+ public InputSchemaParameters allowedValues (Object allowedValues ) {
88+ this .allowedValues = allowedValues ;
89+ return this ;
90+ }
91+
92+ /**
93+ * The <code>InputSchemaParameters</code> <code>allowedValues</code>.
94+ *
95+ * @return allowedValues
96+ */
97+ @ jakarta .annotation .Nullable
98+ @ JsonProperty (JSON_PROPERTY_ALLOWED_VALUES )
99+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
100+ public Object getAllowedValues () {
101+ return allowedValues ;
102+ }
103+
104+ public void setAllowedValues (Object allowedValues ) {
105+ this .allowedValues = allowedValues ;
106+ }
107+
58108 public InputSchemaParameters defaultValue (Object defaultValue ) {
59109 this .defaultValue = defaultValue ;
60110 return this ;
@@ -218,7 +268,9 @@ public boolean equals(Object o) {
218268 return false ;
219269 }
220270 InputSchemaParameters inputSchemaParameters = (InputSchemaParameters ) o ;
221- return Objects .equals (this .defaultValue , inputSchemaParameters .defaultValue )
271+ return Objects .equals (this .allowExtraValues , inputSchemaParameters .allowExtraValues )
272+ && Objects .equals (this .allowedValues , inputSchemaParameters .allowedValues )
273+ && Objects .equals (this .defaultValue , inputSchemaParameters .defaultValue )
222274 && Objects .equals (this .description , inputSchemaParameters .description )
223275 && Objects .equals (this .label , inputSchemaParameters .label )
224276 && Objects .equals (this .name , inputSchemaParameters .name )
@@ -228,13 +280,23 @@ public boolean equals(Object o) {
228280
229281 @ Override
230282 public int hashCode () {
231- return Objects .hash (defaultValue , description , label , name , type , additionalProperties );
283+ return Objects .hash (
284+ allowExtraValues ,
285+ allowedValues ,
286+ defaultValue ,
287+ description ,
288+ label ,
289+ name ,
290+ type ,
291+ additionalProperties );
232292 }
233293
234294 @ Override
235295 public String toString () {
236296 StringBuilder sb = new StringBuilder ();
237297 sb .append ("class InputSchemaParameters {\n " );
298+ sb .append (" allowExtraValues: " ).append (toIndentedString (allowExtraValues )).append ("\n " );
299+ sb .append (" allowedValues: " ).append (toIndentedString (allowedValues )).append ("\n " );
238300 sb .append (" defaultValue: " ).append (toIndentedString (defaultValue )).append ("\n " );
239301 sb .append (" description: " ).append (toIndentedString (description )).append ("\n " );
240302 sb .append (" label: " ).append (toIndentedString (label )).append ("\n " );
0 commit comments