Skip to content

Commit fb0e862

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 105c69b of spec repo
1 parent c778f0c commit fb0e862

File tree

2 files changed

+94
-2
lines changed

2 files changed

+94
-2
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35984,6 +35984,15 @@ components:
3598435984
IssuesSearchRequestDataAttributes:
3598535985
description: Object describing a search issue request.
3598635986
properties:
35987+
assignee_ids:
35988+
description: Filter issues by assignee IDs. Multiple values are combined with OR logic.
35989+
example:
35990+
- "00000000-0000-0000-0000-000000000001"
35991+
items:
35992+
format: uuid
35993+
type: string
35994+
maxItems: 50
35995+
type: array
3598735996
from:
3598835997
description: Start date (inclusive) of the query in milliseconds since the Unix epoch.
3598935998
example: 1671612804000
@@ -35997,6 +36006,15 @@ components:
3599736006
description: Search query following the event search syntax.
3599836007
example: "service:orders-* AND @language:go"
3599936008
type: string
36009+
team_ids:
36010+
description: Filter issues by team IDs. Multiple values are combined with OR logic.
36011+
example:
36012+
- "00000000-0000-0000-0000-000000000002"
36013+
items:
36014+
format: uuid
36015+
type: string
36016+
maxItems: 50
36017+
type: array
3600036018
to:
3600136019
description: End date (exclusive) of the query in milliseconds since the Unix epoch.
3600236020
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: ")

0 commit comments

Comments
 (0)