2222
2323/** Attributes of an incident user-defined field. */
2424@ JsonPropertyOrder ({
25- IncidentUserDefinedFieldAttributesResponse .JSON_PROPERTY_ATTACHED_TO ,
2625 IncidentUserDefinedFieldAttributesResponse .JSON_PROPERTY_CATEGORY ,
2726 IncidentUserDefinedFieldAttributesResponse .JSON_PROPERTY_COLLECTED ,
2827 IncidentUserDefinedFieldAttributesResponse .JSON_PROPERTY_CREATED ,
3332 IncidentUserDefinedFieldAttributesResponse .JSON_PROPERTY_MODIFIED ,
3433 IncidentUserDefinedFieldAttributesResponse .JSON_PROPERTY_NAME ,
3534 IncidentUserDefinedFieldAttributesResponse .JSON_PROPERTY_ORDINAL ,
36- IncidentUserDefinedFieldAttributesResponse .JSON_PROPERTY_PREREQUISITE ,
3735 IncidentUserDefinedFieldAttributesResponse .JSON_PROPERTY_REQUIRED ,
3836 IncidentUserDefinedFieldAttributesResponse .JSON_PROPERTY_RESERVED ,
39- IncidentUserDefinedFieldAttributesResponse .JSON_PROPERTY_TABLE_ID ,
4037 IncidentUserDefinedFieldAttributesResponse .JSON_PROPERTY_TAG_KEY ,
4138 IncidentUserDefinedFieldAttributesResponse .JSON_PROPERTY_TYPE ,
4239 IncidentUserDefinedFieldAttributesResponse .JSON_PROPERTY_VALID_VALUES
4542 value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator" )
4643public class IncidentUserDefinedFieldAttributesResponse {
4744 @ JsonIgnore public boolean unparsed = false ;
48- public static final String JSON_PROPERTY_ATTACHED_TO = "attached_to" ;
49- private String attachedTo ;
50-
5145 public static final String JSON_PROPERTY_CATEGORY = "category" ;
5246 private IncidentUserDefinedFieldCategory category ;
5347
@@ -78,18 +72,12 @@ public class IncidentUserDefinedFieldAttributesResponse {
7872 public static final String JSON_PROPERTY_ORDINAL = "ordinal" ;
7973 private String ordinal ;
8074
81- public static final String JSON_PROPERTY_PREREQUISITE = "prerequisite" ;
82- private String prerequisite ;
83-
8475 public static final String JSON_PROPERTY_REQUIRED = "required" ;
8576 private Boolean required ;
8677
8778 public static final String JSON_PROPERTY_RESERVED = "reserved" ;
8879 private Boolean reserved ;
8980
90- public static final String JSON_PROPERTY_TABLE_ID = "table_id" ;
91- private Long tableId ;
92-
9381 public static final String JSON_PROPERTY_TAG_KEY = "tag_key" ;
9482 private String tagKey ;
9583
@@ -103,7 +91,6 @@ public IncidentUserDefinedFieldAttributesResponse() {}
10391
10492 @ JsonCreator
10593 public IncidentUserDefinedFieldAttributesResponse (
106- @ JsonProperty (required = true , value = JSON_PROPERTY_ATTACHED_TO ) String attachedTo ,
10794 @ JsonProperty (required = true , value = JSON_PROPERTY_CATEGORY )
10895 IncidentUserDefinedFieldCategory category ,
10996 @ JsonProperty (required = true , value = JSON_PROPERTY_COLLECTED )
@@ -117,15 +104,12 @@ public IncidentUserDefinedFieldAttributesResponse(
117104 @ JsonProperty (required = true , value = JSON_PROPERTY_MODIFIED ) OffsetDateTime modified ,
118105 @ JsonProperty (required = true , value = JSON_PROPERTY_NAME ) String name ,
119106 @ JsonProperty (required = true , value = JSON_PROPERTY_ORDINAL ) String ordinal ,
120- @ JsonProperty (required = true , value = JSON_PROPERTY_PREREQUISITE ) String prerequisite ,
121107 @ JsonProperty (required = true , value = JSON_PROPERTY_REQUIRED ) Boolean required ,
122108 @ JsonProperty (required = true , value = JSON_PROPERTY_RESERVED ) Boolean reserved ,
123- @ JsonProperty (required = true , value = JSON_PROPERTY_TABLE_ID ) Long tableId ,
124109 @ JsonProperty (required = true , value = JSON_PROPERTY_TAG_KEY ) String tagKey ,
125110 @ JsonProperty (required = true , value = JSON_PROPERTY_TYPE ) Integer type ,
126111 @ JsonProperty (required = true , value = JSON_PROPERTY_VALID_VALUES )
127112 List <IncidentUserDefinedFieldValidValue > validValues ) {
128- this .attachedTo = attachedTo ;
129113 this .category = category ;
130114 if (category != null ) {
131115 this .unparsed |= !category .isValid ();
@@ -149,11 +133,8 @@ public IncidentUserDefinedFieldAttributesResponse(
149133 this .name = name ;
150134 this .ordinal = ordinal ;
151135 if (ordinal != null ) {}
152- this .prerequisite = prerequisite ;
153- if (prerequisite != null ) {}
154136 this .required = required ;
155137 this .reserved = reserved ;
156- this .tableId = tableId ;
157138 this .tagKey = tagKey ;
158139 if (tagKey != null ) {}
159140 this .type = type ;
@@ -162,17 +143,6 @@ public IncidentUserDefinedFieldAttributesResponse(
162143 if (validValues != null ) {}
163144 }
164145
165- /**
166- * The resource type this field is attached to. Always "incidents".
167- *
168- * @return attachedTo
169- */
170- @ JsonProperty (JSON_PROPERTY_ATTACHED_TO )
171- @ JsonInclude (value = JsonInclude .Include .ALWAYS )
172- public String getAttachedTo () {
173- return attachedTo ;
174- }
175-
176146 public IncidentUserDefinedFieldAttributesResponse category (
177147 IncidentUserDefinedFieldCategory category ) {
178148 this .category = category ;
@@ -376,18 +346,6 @@ public void setOrdinal(String ordinal) {
376346 this .ordinal = ordinal ;
377347 }
378348
379- /**
380- * Reserved for future use. Always null.
381- *
382- * @return prerequisite
383- */
384- @ jakarta .annotation .Nullable
385- @ JsonProperty (JSON_PROPERTY_PREREQUISITE )
386- @ JsonInclude (value = JsonInclude .Include .ALWAYS )
387- public String getPrerequisite () {
388- return prerequisite ;
389- }
390-
391349 public IncidentUserDefinedFieldAttributesResponse required (Boolean required ) {
392350 this .required = required ;
393351 return this ;
@@ -419,17 +377,6 @@ public Boolean getReserved() {
419377 return reserved ;
420378 }
421379
422- /**
423- * Reserved for internal use. Always 0.
424- *
425- * @return tableId
426- */
427- @ JsonProperty (JSON_PROPERTY_TABLE_ID )
428- @ JsonInclude (value = JsonInclude .Include .ALWAYS )
429- public Long getTableId () {
430- return tableId ;
431- }
432-
433380 public IncidentUserDefinedFieldAttributesResponse tagKey (String tagKey ) {
434381 this .tagKey = tagKey ;
435382 if (tagKey != null ) {}
@@ -565,8 +512,7 @@ public boolean equals(Object o) {
565512 }
566513 IncidentUserDefinedFieldAttributesResponse incidentUserDefinedFieldAttributesResponse =
567514 (IncidentUserDefinedFieldAttributesResponse ) o ;
568- return Objects .equals (this .attachedTo , incidentUserDefinedFieldAttributesResponse .attachedTo )
569- && Objects .equals (this .category , incidentUserDefinedFieldAttributesResponse .category )
515+ return Objects .equals (this .category , incidentUserDefinedFieldAttributesResponse .category )
570516 && Objects .equals (this .collected , incidentUserDefinedFieldAttributesResponse .collected )
571517 && Objects .equals (this .created , incidentUserDefinedFieldAttributesResponse .created )
572518 && Objects .equals (
@@ -577,11 +523,8 @@ public boolean equals(Object o) {
577523 && Objects .equals (this .modified , incidentUserDefinedFieldAttributesResponse .modified )
578524 && Objects .equals (this .name , incidentUserDefinedFieldAttributesResponse .name )
579525 && Objects .equals (this .ordinal , incidentUserDefinedFieldAttributesResponse .ordinal )
580- && Objects .equals (
581- this .prerequisite , incidentUserDefinedFieldAttributesResponse .prerequisite )
582526 && Objects .equals (this .required , incidentUserDefinedFieldAttributesResponse .required )
583527 && Objects .equals (this .reserved , incidentUserDefinedFieldAttributesResponse .reserved )
584- && Objects .equals (this .tableId , incidentUserDefinedFieldAttributesResponse .tableId )
585528 && Objects .equals (this .tagKey , incidentUserDefinedFieldAttributesResponse .tagKey )
586529 && Objects .equals (this .type , incidentUserDefinedFieldAttributesResponse .type )
587530 && Objects .equals (this .validValues , incidentUserDefinedFieldAttributesResponse .validValues )
@@ -593,7 +536,6 @@ public boolean equals(Object o) {
593536 @ Override
594537 public int hashCode () {
595538 return Objects .hash (
596- attachedTo ,
597539 category ,
598540 collected ,
599541 created ,
@@ -604,10 +546,8 @@ public int hashCode() {
604546 modified ,
605547 name ,
606548 ordinal ,
607- prerequisite ,
608549 required ,
609550 reserved ,
610- tableId ,
611551 tagKey ,
612552 type ,
613553 validValues ,
@@ -618,7 +558,6 @@ public int hashCode() {
618558 public String toString () {
619559 StringBuilder sb = new StringBuilder ();
620560 sb .append ("class IncidentUserDefinedFieldAttributesResponse {\n " );
621- sb .append (" attachedTo: " ).append (toIndentedString (attachedTo )).append ("\n " );
622561 sb .append (" category: " ).append (toIndentedString (category )).append ("\n " );
623562 sb .append (" collected: " ).append (toIndentedString (collected )).append ("\n " );
624563 sb .append (" created: " ).append (toIndentedString (created )).append ("\n " );
@@ -629,10 +568,8 @@ public String toString() {
629568 sb .append (" modified: " ).append (toIndentedString (modified )).append ("\n " );
630569 sb .append (" name: " ).append (toIndentedString (name )).append ("\n " );
631570 sb .append (" ordinal: " ).append (toIndentedString (ordinal )).append ("\n " );
632- sb .append (" prerequisite: " ).append (toIndentedString (prerequisite )).append ("\n " );
633571 sb .append (" required: " ).append (toIndentedString (required )).append ("\n " );
634572 sb .append (" reserved: " ).append (toIndentedString (reserved )).append ("\n " );
635- sb .append (" tableId: " ).append (toIndentedString (tableId )).append ("\n " );
636573 sb .append (" tagKey: " ).append (toIndentedString (tagKey )).append ("\n " );
637574 sb .append (" type: " ).append (toIndentedString (type )).append ("\n " );
638575 sb .append (" validValues: " ).append (toIndentedString (validValues )).append ("\n " );
0 commit comments