Skip to content

Commit 11ec151

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 6b39c9a of spec repo
1 parent 818a4e5 commit 11ec151

File tree

183 files changed

+295
-203
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+295
-203
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35103,6 +35103,15 @@ components:
3510335103
IssuesSearchRequestDataAttributes:
3510435104
description: Object describing a search issue request.
3510535105
properties:
35106+
assignee_ids:
35107+
description: Filter issues by assignee IDs. Multiple values are combined with OR logic.
35108+
example:
35109+
- "00000000-0000-0000-0000-000000000001"
35110+
items:
35111+
format: uuid
35112+
type: string
35113+
maxItems: 50
35114+
type: array
3510635115
from:
3510735116
description: Start date (inclusive) of the query in milliseconds since the Unix epoch.
3510835117
example: 1671612804000
@@ -35116,6 +35125,15 @@ components:
3511635125
description: Search query following the event search syntax.
3511735126
example: "service:orders-* AND @language:go"
3511835127
type: string
35128+
team_ids:
35129+
description: Filter issues by team IDs. Multiple values are combined with OR logic.
35130+
example:
35131+
- "00000000-0000-0000-0000-000000000002"
35132+
items:
35133+
format: uuid
35134+
type: string
35135+
maxItems: 50
35136+
type: array
3511935137
to:
3512035138
description: End date (exclusive) of the query in milliseconds since the Unix epoch.
3512135139
example: 1671620004000

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

Lines changed: 76 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,31 @@
1313
import com.fasterxml.jackson.annotation.JsonInclude;
1414
import com.fasterxml.jackson.annotation.JsonProperty;
1515
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
16+
import java.util.ArrayList;
1617
import java.util.HashMap;
18+
import java.util.List;
1719
import java.util.Map;
1820
import java.util.Objects;
21+
import java.util.UUID;
1922

2023
/** Object describing a search issue request. */
2124
@JsonPropertyOrder({
25+
IssuesSearchRequestDataAttributes.JSON_PROPERTY_ASSIGNEE_IDS,
2226
IssuesSearchRequestDataAttributes.JSON_PROPERTY_FROM,
2327
IssuesSearchRequestDataAttributes.JSON_PROPERTY_ORDER_BY,
2428
IssuesSearchRequestDataAttributes.JSON_PROPERTY_PERSONA,
2529
IssuesSearchRequestDataAttributes.JSON_PROPERTY_QUERY,
30+
IssuesSearchRequestDataAttributes.JSON_PROPERTY_TEAM_IDS,
2631
IssuesSearchRequestDataAttributes.JSON_PROPERTY_TO,
2732
IssuesSearchRequestDataAttributes.JSON_PROPERTY_TRACK
2833
})
2934
@jakarta.annotation.Generated(
3035
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
3136
public class IssuesSearchRequestDataAttributes {
3237
@JsonIgnore public boolean unparsed = false;
38+
public static final String JSON_PROPERTY_ASSIGNEE_IDS = "assignee_ids";
39+
private List<UUID> assigneeIds = null;
40+
3341
public static final String JSON_PROPERTY_FROM = "from";
3442
private Long from;
3543

@@ -42,6 +50,9 @@ public class IssuesSearchRequestDataAttributes {
4250
public static final String JSON_PROPERTY_QUERY = "query";
4351
private String query;
4452

53+
public static final String JSON_PROPERTY_TEAM_IDS = "team_ids";
54+
private List<UUID> teamIds = null;
55+
4556
public static final String JSON_PROPERTY_TO = "to";
4657
private Long to;
4758

@@ -60,6 +71,35 @@ public IssuesSearchRequestDataAttributes(
6071
this.to = to;
6172
}
6273

74+
public IssuesSearchRequestDataAttributes assigneeIds(List<UUID> assigneeIds) {
75+
this.assigneeIds = assigneeIds;
76+
return this;
77+
}
78+
79+
public IssuesSearchRequestDataAttributes addAssigneeIdsItem(UUID assigneeIdsItem) {
80+
if (this.assigneeIds == null) {
81+
this.assigneeIds = new ArrayList<>();
82+
}
83+
this.assigneeIds.add(assigneeIdsItem);
84+
return this;
85+
}
86+
87+
/**
88+
* Filter issues by assignee IDs. Multiple values are combined with OR logic.
89+
*
90+
* @return assigneeIds
91+
*/
92+
@jakarta.annotation.Nullable
93+
@JsonProperty(JSON_PROPERTY_ASSIGNEE_IDS)
94+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
95+
public List<UUID> getAssigneeIds() {
96+
return assigneeIds;
97+
}
98+
99+
public void setAssigneeIds(List<UUID> assigneeIds) {
100+
this.assigneeIds = assigneeIds;
101+
}
102+
63103
public IssuesSearchRequestDataAttributes from(Long from) {
64104
this.from = from;
65105
return this;
@@ -152,6 +192,35 @@ public void setQuery(String query) {
152192
this.query = query;
153193
}
154194

195+
public IssuesSearchRequestDataAttributes teamIds(List<UUID> teamIds) {
196+
this.teamIds = teamIds;
197+
return this;
198+
}
199+
200+
public IssuesSearchRequestDataAttributes addTeamIdsItem(UUID teamIdsItem) {
201+
if (this.teamIds == null) {
202+
this.teamIds = new ArrayList<>();
203+
}
204+
this.teamIds.add(teamIdsItem);
205+
return this;
206+
}
207+
208+
/**
209+
* Filter issues by team IDs. Multiple values are combined with OR logic.
210+
*
211+
* @return teamIds
212+
*/
213+
@jakarta.annotation.Nullable
214+
@JsonProperty(JSON_PROPERTY_TEAM_IDS)
215+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
216+
public List<UUID> getTeamIds() {
217+
return teamIds;
218+
}
219+
220+
public void setTeamIds(List<UUID> teamIds) {
221+
this.teamIds = teamIds;
222+
}
223+
155224
public IssuesSearchRequestDataAttributes to(Long to) {
156225
this.to = to;
157226
return this;
@@ -254,10 +323,12 @@ public boolean equals(Object o) {
254323
}
255324
IssuesSearchRequestDataAttributes issuesSearchRequestDataAttributes =
256325
(IssuesSearchRequestDataAttributes) o;
257-
return Objects.equals(this.from, issuesSearchRequestDataAttributes.from)
326+
return Objects.equals(this.assigneeIds, issuesSearchRequestDataAttributes.assigneeIds)
327+
&& Objects.equals(this.from, issuesSearchRequestDataAttributes.from)
258328
&& Objects.equals(this.orderBy, issuesSearchRequestDataAttributes.orderBy)
259329
&& Objects.equals(this.persona, issuesSearchRequestDataAttributes.persona)
260330
&& Objects.equals(this.query, issuesSearchRequestDataAttributes.query)
331+
&& Objects.equals(this.teamIds, issuesSearchRequestDataAttributes.teamIds)
261332
&& Objects.equals(this.to, issuesSearchRequestDataAttributes.to)
262333
&& Objects.equals(this.track, issuesSearchRequestDataAttributes.track)
263334
&& Objects.equals(
@@ -266,17 +337,20 @@ public boolean equals(Object o) {
266337

267338
@Override
268339
public int hashCode() {
269-
return Objects.hash(from, orderBy, persona, query, to, track, additionalProperties);
340+
return Objects.hash(
341+
assigneeIds, from, orderBy, persona, query, teamIds, to, track, additionalProperties);
270342
}
271343

272344
@Override
273345
public String toString() {
274346
StringBuilder sb = new StringBuilder();
275347
sb.append("class IssuesSearchRequestDataAttributes {\n");
348+
sb.append(" assigneeIds: ").append(toIndentedString(assigneeIds)).append("\n");
276349
sb.append(" from: ").append(toIndentedString(from)).append("\n");
277350
sb.append(" orderBy: ").append(toIndentedString(orderBy)).append("\n");
278351
sb.append(" persona: ").append(toIndentedString(persona)).append("\n");
279352
sb.append(" query: ").append(toIndentedString(query)).append("\n");
353+
sb.append(" teamIds: ").append(toIndentedString(teamIds)).append("\n");
280354
sb.append(" to: ").append(toIndentedString(to)).append("\n");
281355
sb.append(" track: ").append(toIndentedString(track)).append("\n");
282356
sb.append(" additionalProperties: ")

src/test/resources/cassettes/features/v1/Create_a_user_returns_User_created_response_test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
"timeToLive": {
5454
"unlimited": true
5555
},
56-
"id": "af617072-2860-ba27-e045-b00c8baf0188"
56+
"id": "af617072-2860-ba27-e045-b00c8baf0187"
5757
}
5858
]

src/test/resources/cassettes/features/v1/Create_a_user_returns_null_access_role.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
"timeToLive": {
5454
"unlimited": true
5555
},
56-
"id": "af617072-2860-ba27-e045-b00c8baf0187"
56+
"id": "af617072-2860-ba27-e045-b00c8baf0188"
5757
}
5858
]

src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_deserializes_successfully.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
"timeToLive": {
2929
"unlimited": true
3030
},
31-
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d"
31+
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e"
3232
}
3333
]

src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_for_your_organization_returns_OK_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
"timeToLive": {
2929
"unlimited": true
3030
},
31-
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e"
31+
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d"
3232
}
3333
]

src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9"
30+
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb"
3131
},
3232
{
3333
"httpRequest": {

src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"timeToLive": {
2424
"unlimited": true
2525
},
26-
"id": "73fd406e-d686-10bd-50ee-83f2c499e8a9"
26+
"id": "73fd406e-d686-10bd-50ee-83f2c499e8a8"
2727
}
2828
]

src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb"
30+
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea"
3131
},
3232
{
3333
"httpRequest": {

src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Not_Found_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eed"
30+
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eee"
3131
},
3232
{
3333
"httpRequest": {

0 commit comments

Comments
 (0)