Skip to content

Commit b8c37df

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1d2c9ab of spec repo
1 parent b3e1514 commit b8c37df

2 files changed

Lines changed: 1 addition & 96 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -47115,11 +47115,6 @@ components:
4711547115
IncidentUserDefinedFieldAttributesResponse:
4711647116
description: Attributes of an incident user-defined field.
4711747117
properties:
47118-
attached_to:
47119-
description: The resource type this field is attached to. Always "incidents".
47120-
example: "incidents"
47121-
readOnly: true
47122-
type: string
4712347118
category:
4712447119
$ref: "#/components/schemas/IncidentUserDefinedFieldCategory"
4712547120
collected:
@@ -47164,12 +47159,6 @@ components:
4716447159
example: "1.5"
4716547160
nullable: true
4716647161
type: string
47167-
prerequisite:
47168-
description: Reserved for future use. Always null.
47169-
example:
47170-
nullable: true
47171-
readOnly: true
47172-
type: string
4717347162
required:
4717447163
description: When true, users must fill out this field on incidents.
4717547164
example: false
@@ -47179,12 +47168,6 @@ components:
4717947168
example: false
4718047169
readOnly: true
4718147170
type: boolean
47182-
table_id:
47183-
description: Reserved for internal use. Always 0.
47184-
example: 0
47185-
format: int64
47186-
readOnly: true
47187-
type: integer
4718847171
tag_key:
4718947172
description: For metric tag-type fields only, the metric tag key that powers the autocomplete options.
4719047173
example:
@@ -47205,7 +47188,6 @@ components:
4720547188
nullable: true
4720647189
type: array
4720747190
required:
47208-
- attached_to
4720947191
- category
4721047192
- collected
4721147193
- created
@@ -47216,10 +47198,8 @@ components:
4721647198
- modified
4721747199
- name
4721847200
- ordinal
47219-
- prerequisite
4722047201
- required
4722147202
- reserved
47222-
- table_id
4722347203
- tag_key
4722447204
- type
4722547205
- valid_values
@@ -139523,7 +139503,6 @@ paths:
139523139503
value:
139524139504
data:
139525139505
- attributes:
139526-
attached_to: "incidents"
139527139506
category: "what_happened"
139528139507
collected: "active"
139529139508
created: "2026-03-18T08:40:04.437887Z"
@@ -139534,10 +139513,8 @@ paths:
139534139513
modified: "2026-03-18T08:40:04.437887Z"
139535139514
name: "root_cause"
139536139515
ordinal: "1.1"
139537-
prerequisite:
139538139516
required: false
139539139517
reserved: false
139540-
table_id: 0
139541139518
tag_key:
139542139519
type: 1
139543139520
valid_values:
@@ -139642,7 +139619,6 @@ paths:
139642139619
value:
139643139620
data:
139644139621
attributes:
139645-
attached_to: "incidents"
139646139622
category:
139647139623
collected:
139648139624
created: "2026-03-18T08:40:05.185406Z"
@@ -139653,10 +139629,8 @@ paths:
139653139629
modified: "2026-03-18T08:40:05.185406Z"
139654139630
name: "root_cause"
139655139631
ordinal: "9"
139656-
prerequisite:
139657139632
required: false
139658139633
reserved: false
139659-
table_id: 0
139660139634
tag_key:
139661139635
type: 3
139662139636
valid_values:
@@ -139773,7 +139747,6 @@ paths:
139773139747
value:
139774139748
data:
139775139749
attributes:
139776-
attached_to: "incidents"
139777139750
category: "what_happened"
139778139751
collected: "active"
139779139752
created: "2026-03-18T08:40:04.437887Z"
@@ -139784,10 +139757,8 @@ paths:
139784139757
modified: "2026-03-18T08:40:04.437887Z"
139785139758
name: "root_cause"
139786139759
ordinal: "1.1"
139787-
prerequisite:
139788139760
required: false
139789139761
reserved: false
139790-
table_id: 0
139791139762
tag_key:
139792139763
type: 1
139793139764
valid_values:
@@ -139883,7 +139854,6 @@ paths:
139883139854
value:
139884139855
data:
139885139856
attributes:
139886-
attached_to: "incidents"
139887139857
category: "what_happened"
139888139858
collected:
139889139859
created: "2026-03-18T08:39:49.913895Z"
@@ -139894,10 +139864,8 @@ paths:
139894139864
modified: "2026-03-18T08:39:49.922909Z"
139895139865
name: "root_cause"
139896139866
ordinal: "8"
139897-
prerequisite:
139898139867
required: false
139899139868
reserved: false
139900-
table_id: 0
139901139869
tag_key:
139902139870
type: 3
139903139871
valid_values:

src/main/java/com/datadog/api/client/v2/model/IncidentUserDefinedFieldAttributesResponse.java

Lines changed: 1 addition & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
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,
@@ -33,10 +32,8 @@
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
@@ -45,9 +42,6 @@
4542
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
4643
public 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

Comments
 (0)