Skip to content

Commit d3098f9

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 9fbe7041 of spec repo
1 parent 9afd4ef commit d3098f9

File tree

7 files changed

+19
-296
lines changed

7 files changed

+19
-296
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-03-17 21:06:19.299453",
8-
"spec_repo_commit": "2dfddc18"
7+
"regenerated": "2025-03-18 17:51:32.020698",
8+
"spec_repo_commit": "9fbe7041"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-17 21:06:19.314659",
13-
"spec_repo_commit": "2dfddc18"
12+
"regenerated": "2025-03-18 17:51:32.036086",
13+
"spec_repo_commit": "9fbe7041"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11964,6 +11964,7 @@ components:
1196411964
type: string
1196511965
type: object
1196611966
EntityResponseIncludedRawSchemaAttributes:
11967+
additionalProperties: false
1196711968
description: Included raw schema attributes.
1196811969
properties:
1196911970
rawSchema:
@@ -11985,6 +11986,7 @@ components:
1198511986
type: string
1198611987
type: object
1198711988
EntityResponseIncludedRelatedEntityAttributes:
11989+
additionalProperties: false
1198811990
description: Related entity attributes.
1198911991
properties:
1199011992
kind:
@@ -12019,6 +12021,7 @@ components:
1201912021
type: string
1202012022
type: object
1202112023
EntityResponseIncludedRelatedIncidentAttributes:
12024+
additionalProperties: false
1202212025
description: Incident attributes.
1202312026
properties:
1202412027
createdAt:
@@ -12039,6 +12042,7 @@ components:
1203912042
type: string
1204012043
type: object
1204112044
EntityResponseIncludedRelatedOncallAttributes:
12045+
additionalProperties: false
1204212046
description: Included related oncall attributes.
1204312047
properties:
1204412048
escalations:
@@ -12079,6 +12083,7 @@ components:
1207912083
type: string
1208012084
type: object
1208112085
EntityResponseIncludedSchemaAttributes:
12086+
additionalProperties: false
1208212087
description: Included schema.
1208312088
properties:
1208412089
schema:

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

Lines changed: 2 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,10 @@
66

77
package com.datadog.api.client.v2.model;
88

9-
import com.fasterxml.jackson.annotation.JsonAnyGetter;
10-
import com.fasterxml.jackson.annotation.JsonAnySetter;
119
import com.fasterxml.jackson.annotation.JsonIgnore;
1210
import com.fasterxml.jackson.annotation.JsonInclude;
1311
import com.fasterxml.jackson.annotation.JsonProperty;
1412
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
15-
import java.util.HashMap;
16-
import java.util.Map;
1713
import java.util.Objects;
1814

1915
/** Included raw schema attributes. */
@@ -46,52 +42,6 @@ public void setRawSchema(String rawSchema) {
4642
this.rawSchema = rawSchema;
4743
}
4844

49-
/**
50-
* A container for additional, undeclared properties. This is a holder for any undeclared
51-
* properties as specified with the 'additionalProperties' keyword in the OAS document.
52-
*/
53-
private Map<String, Object> additionalProperties;
54-
55-
/**
56-
* Set the additional (undeclared) property with the specified name and value. If the property
57-
* does not already exist, create it otherwise replace it.
58-
*
59-
* @param key The arbitrary key to set
60-
* @param value The associated value
61-
* @return EntityResponseIncludedRawSchemaAttributes
62-
*/
63-
@JsonAnySetter
64-
public EntityResponseIncludedRawSchemaAttributes putAdditionalProperty(String key, Object value) {
65-
if (this.additionalProperties == null) {
66-
this.additionalProperties = new HashMap<String, Object>();
67-
}
68-
this.additionalProperties.put(key, value);
69-
return this;
70-
}
71-
72-
/**
73-
* Return the additional (undeclared) property.
74-
*
75-
* @return The additional properties
76-
*/
77-
@JsonAnyGetter
78-
public Map<String, Object> getAdditionalProperties() {
79-
return additionalProperties;
80-
}
81-
82-
/**
83-
* Return the additional (undeclared) property with the specified name.
84-
*
85-
* @param key The arbitrary key to get
86-
* @return The specific additional property for the given key
87-
*/
88-
public Object getAdditionalProperty(String key) {
89-
if (this.additionalProperties == null) {
90-
return null;
91-
}
92-
return this.additionalProperties.get(key);
93-
}
94-
9545
/** Return true if this EntityResponseIncludedRawSchemaAttributes object is equal to o. */
9646
@Override
9747
public boolean equals(Object o) {
@@ -103,25 +53,19 @@ public boolean equals(Object o) {
10353
}
10454
EntityResponseIncludedRawSchemaAttributes entityResponseIncludedRawSchemaAttributes =
10555
(EntityResponseIncludedRawSchemaAttributes) o;
106-
return Objects.equals(this.rawSchema, entityResponseIncludedRawSchemaAttributes.rawSchema)
107-
&& Objects.equals(
108-
this.additionalProperties,
109-
entityResponseIncludedRawSchemaAttributes.additionalProperties);
56+
return Objects.equals(this.rawSchema, entityResponseIncludedRawSchemaAttributes.rawSchema);
11057
}
11158

11259
@Override
11360
public int hashCode() {
114-
return Objects.hash(rawSchema, additionalProperties);
61+
return Objects.hash(rawSchema);
11562
}
11663

11764
@Override
11865
public String toString() {
11966
StringBuilder sb = new StringBuilder();
12067
sb.append("class EntityResponseIncludedRawSchemaAttributes {\n");
12168
sb.append(" rawSchema: ").append(toIndentedString(rawSchema)).append("\n");
122-
sb.append(" additionalProperties: ")
123-
.append(toIndentedString(additionalProperties))
124-
.append("\n");
12569
sb.append('}');
12670
return sb.toString();
12771
}

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

Lines changed: 2 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,10 @@
66

77
package com.datadog.api.client.v2.model;
88

9-
import com.fasterxml.jackson.annotation.JsonAnyGetter;
10-
import com.fasterxml.jackson.annotation.JsonAnySetter;
119
import com.fasterxml.jackson.annotation.JsonIgnore;
1210
import com.fasterxml.jackson.annotation.JsonInclude;
1311
import com.fasterxml.jackson.annotation.JsonProperty;
1412
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
15-
import java.util.HashMap;
16-
import java.util.Map;
1713
import java.util.Objects;
1814

1915
/** Related entity attributes. */
@@ -123,53 +119,6 @@ public void setType(String type) {
123119
this.type = type;
124120
}
125121

126-
/**
127-
* A container for additional, undeclared properties. This is a holder for any undeclared
128-
* properties as specified with the 'additionalProperties' keyword in the OAS document.
129-
*/
130-
private Map<String, Object> additionalProperties;
131-
132-
/**
133-
* Set the additional (undeclared) property with the specified name and value. If the property
134-
* does not already exist, create it otherwise replace it.
135-
*
136-
* @param key The arbitrary key to set
137-
* @param value The associated value
138-
* @return EntityResponseIncludedRelatedEntityAttributes
139-
*/
140-
@JsonAnySetter
141-
public EntityResponseIncludedRelatedEntityAttributes putAdditionalProperty(
142-
String key, Object value) {
143-
if (this.additionalProperties == null) {
144-
this.additionalProperties = new HashMap<String, Object>();
145-
}
146-
this.additionalProperties.put(key, value);
147-
return this;
148-
}
149-
150-
/**
151-
* Return the additional (undeclared) property.
152-
*
153-
* @return The additional properties
154-
*/
155-
@JsonAnyGetter
156-
public Map<String, Object> getAdditionalProperties() {
157-
return additionalProperties;
158-
}
159-
160-
/**
161-
* Return the additional (undeclared) property with the specified name.
162-
*
163-
* @param key The arbitrary key to get
164-
* @return The specific additional property for the given key
165-
*/
166-
public Object getAdditionalProperty(String key) {
167-
if (this.additionalProperties == null) {
168-
return null;
169-
}
170-
return this.additionalProperties.get(key);
171-
}
172-
173122
/** Return true if this EntityResponseIncludedRelatedEntityAttributes object is equal to o. */
174123
@Override
175124
public boolean equals(Object o) {
@@ -184,15 +133,12 @@ public boolean equals(Object o) {
184133
return Objects.equals(this.kind, entityResponseIncludedRelatedEntityAttributes.kind)
185134
&& Objects.equals(this.name, entityResponseIncludedRelatedEntityAttributes.name)
186135
&& Objects.equals(this.namespace, entityResponseIncludedRelatedEntityAttributes.namespace)
187-
&& Objects.equals(this.type, entityResponseIncludedRelatedEntityAttributes.type)
188-
&& Objects.equals(
189-
this.additionalProperties,
190-
entityResponseIncludedRelatedEntityAttributes.additionalProperties);
136+
&& Objects.equals(this.type, entityResponseIncludedRelatedEntityAttributes.type);
191137
}
192138

193139
@Override
194140
public int hashCode() {
195-
return Objects.hash(kind, name, namespace, type, additionalProperties);
141+
return Objects.hash(kind, name, namespace, type);
196142
}
197143

198144
@Override
@@ -203,9 +149,6 @@ public String toString() {
203149
sb.append(" name: ").append(toIndentedString(name)).append("\n");
204150
sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n");
205151
sb.append(" type: ").append(toIndentedString(type)).append("\n");
206-
sb.append(" additionalProperties: ")
207-
.append(toIndentedString(additionalProperties))
208-
.append("\n");
209152
sb.append('}');
210153
return sb.toString();
211154
}

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

Lines changed: 2 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,11 @@
66

77
package com.datadog.api.client.v2.model;
88

9-
import com.fasterxml.jackson.annotation.JsonAnyGetter;
10-
import com.fasterxml.jackson.annotation.JsonAnySetter;
119
import com.fasterxml.jackson.annotation.JsonIgnore;
1210
import com.fasterxml.jackson.annotation.JsonInclude;
1311
import com.fasterxml.jackson.annotation.JsonProperty;
1412
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
1513
import java.time.OffsetDateTime;
16-
import java.util.HashMap;
17-
import java.util.Map;
1814
import java.util.Objects;
1915

2016
/** Incident attributes. */
@@ -149,53 +145,6 @@ public void setTitle(String title) {
149145
this.title = title;
150146
}
151147

152-
/**
153-
* A container for additional, undeclared properties. This is a holder for any undeclared
154-
* properties as specified with the 'additionalProperties' keyword in the OAS document.
155-
*/
156-
private Map<String, Object> additionalProperties;
157-
158-
/**
159-
* Set the additional (undeclared) property with the specified name and value. If the property
160-
* does not already exist, create it otherwise replace it.
161-
*
162-
* @param key The arbitrary key to set
163-
* @param value The associated value
164-
* @return EntityResponseIncludedRelatedIncidentAttributes
165-
*/
166-
@JsonAnySetter
167-
public EntityResponseIncludedRelatedIncidentAttributes putAdditionalProperty(
168-
String key, Object value) {
169-
if (this.additionalProperties == null) {
170-
this.additionalProperties = new HashMap<String, Object>();
171-
}
172-
this.additionalProperties.put(key, value);
173-
return this;
174-
}
175-
176-
/**
177-
* Return the additional (undeclared) property.
178-
*
179-
* @return The additional properties
180-
*/
181-
@JsonAnyGetter
182-
public Map<String, Object> getAdditionalProperties() {
183-
return additionalProperties;
184-
}
185-
186-
/**
187-
* Return the additional (undeclared) property with the specified name.
188-
*
189-
* @param key The arbitrary key to get
190-
* @return The specific additional property for the given key
191-
*/
192-
public Object getAdditionalProperty(String key) {
193-
if (this.additionalProperties == null) {
194-
return null;
195-
}
196-
return this.additionalProperties.get(key);
197-
}
198-
199148
/** Return true if this EntityResponseIncludedRelatedIncidentAttributes object is equal to o. */
200149
@Override
201150
public boolean equals(Object o) {
@@ -212,15 +161,12 @@ public boolean equals(Object o) {
212161
&& Objects.equals(this.htmlUrl, entityResponseIncludedRelatedIncidentAttributes.htmlUrl)
213162
&& Objects.equals(this.provider, entityResponseIncludedRelatedIncidentAttributes.provider)
214163
&& Objects.equals(this.status, entityResponseIncludedRelatedIncidentAttributes.status)
215-
&& Objects.equals(this.title, entityResponseIncludedRelatedIncidentAttributes.title)
216-
&& Objects.equals(
217-
this.additionalProperties,
218-
entityResponseIncludedRelatedIncidentAttributes.additionalProperties);
164+
&& Objects.equals(this.title, entityResponseIncludedRelatedIncidentAttributes.title);
219165
}
220166

221167
@Override
222168
public int hashCode() {
223-
return Objects.hash(createdAt, htmlUrl, provider, status, title, additionalProperties);
169+
return Objects.hash(createdAt, htmlUrl, provider, status, title);
224170
}
225171

226172
@Override
@@ -232,9 +178,6 @@ public String toString() {
232178
sb.append(" provider: ").append(toIndentedString(provider)).append("\n");
233179
sb.append(" status: ").append(toIndentedString(status)).append("\n");
234180
sb.append(" title: ").append(toIndentedString(title)).append("\n");
235-
sb.append(" additionalProperties: ")
236-
.append(toIndentedString(additionalProperties))
237-
.append("\n");
238181
sb.append('}');
239182
return sb.toString();
240183
}

0 commit comments

Comments
 (0)