Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35103,6 +35103,15 @@ components:
IssuesSearchRequestDataAttributes:
description: Object describing a search issue request.
properties:
assignee_ids:
description: Filter issues by assignee IDs. Multiple values are combined with OR logic.
example:
- "00000000-0000-0000-0000-000000000001"
items:
format: uuid
type: string
maxItems: 50
type: array
from:
description: Start date (inclusive) of the query in milliseconds since the Unix epoch.
example: 1671612804000
Expand All @@ -35116,6 +35125,15 @@ components:
description: Search query following the event search syntax.
example: "service:orders-* AND @language:go"
type: string
team_ids:
description: Filter issues by team IDs. Multiple values are combined with OR logic.
example:
- "00000000-0000-0000-0000-000000000002"
items:
format: uuid
type: string
maxItems: 50
type: array
to:
description: End date (exclusive) of the query in milliseconds since the Unix epoch.
example: 1671620004000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,31 @@
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.UUID;

/** Object describing a search issue request. */
@JsonPropertyOrder({
IssuesSearchRequestDataAttributes.JSON_PROPERTY_ASSIGNEE_IDS,
IssuesSearchRequestDataAttributes.JSON_PROPERTY_FROM,
IssuesSearchRequestDataAttributes.JSON_PROPERTY_ORDER_BY,
IssuesSearchRequestDataAttributes.JSON_PROPERTY_PERSONA,
IssuesSearchRequestDataAttributes.JSON_PROPERTY_QUERY,
IssuesSearchRequestDataAttributes.JSON_PROPERTY_TEAM_IDS,
IssuesSearchRequestDataAttributes.JSON_PROPERTY_TO,
IssuesSearchRequestDataAttributes.JSON_PROPERTY_TRACK
})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IssuesSearchRequestDataAttributes {
@JsonIgnore public boolean unparsed = false;
public static final String JSON_PROPERTY_ASSIGNEE_IDS = "assignee_ids";
private List<UUID> assigneeIds = null;

public static final String JSON_PROPERTY_FROM = "from";
private Long from;

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

public static final String JSON_PROPERTY_TEAM_IDS = "team_ids";
private List<UUID> teamIds = null;

public static final String JSON_PROPERTY_TO = "to";
private Long to;

Expand All @@ -60,6 +71,35 @@ public IssuesSearchRequestDataAttributes(
this.to = to;
}

public IssuesSearchRequestDataAttributes assigneeIds(List<UUID> assigneeIds) {
this.assigneeIds = assigneeIds;
return this;
}

public IssuesSearchRequestDataAttributes addAssigneeIdsItem(UUID assigneeIdsItem) {
if (this.assigneeIds == null) {
this.assigneeIds = new ArrayList<>();
}
this.assigneeIds.add(assigneeIdsItem);
return this;
}

/**
* Filter issues by assignee IDs. Multiple values are combined with OR logic.
*
* @return assigneeIds
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ASSIGNEE_IDS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<UUID> getAssigneeIds() {
return assigneeIds;
}

public void setAssigneeIds(List<UUID> assigneeIds) {
this.assigneeIds = assigneeIds;
}

public IssuesSearchRequestDataAttributes from(Long from) {
this.from = from;
return this;
Expand Down Expand Up @@ -152,6 +192,35 @@ public void setQuery(String query) {
this.query = query;
}

public IssuesSearchRequestDataAttributes teamIds(List<UUID> teamIds) {
this.teamIds = teamIds;
return this;
}

public IssuesSearchRequestDataAttributes addTeamIdsItem(UUID teamIdsItem) {
if (this.teamIds == null) {
this.teamIds = new ArrayList<>();
}
this.teamIds.add(teamIdsItem);
return this;
}

/**
* Filter issues by team IDs. Multiple values are combined with OR logic.
*
* @return teamIds
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TEAM_IDS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<UUID> getTeamIds() {
return teamIds;
}

public void setTeamIds(List<UUID> teamIds) {
this.teamIds = teamIds;
}

public IssuesSearchRequestDataAttributes to(Long to) {
this.to = to;
return this;
Expand Down Expand Up @@ -254,10 +323,12 @@ public boolean equals(Object o) {
}
IssuesSearchRequestDataAttributes issuesSearchRequestDataAttributes =
(IssuesSearchRequestDataAttributes) o;
return Objects.equals(this.from, issuesSearchRequestDataAttributes.from)
return Objects.equals(this.assigneeIds, issuesSearchRequestDataAttributes.assigneeIds)
&& Objects.equals(this.from, issuesSearchRequestDataAttributes.from)
&& Objects.equals(this.orderBy, issuesSearchRequestDataAttributes.orderBy)
&& Objects.equals(this.persona, issuesSearchRequestDataAttributes.persona)
&& Objects.equals(this.query, issuesSearchRequestDataAttributes.query)
&& Objects.equals(this.teamIds, issuesSearchRequestDataAttributes.teamIds)
&& Objects.equals(this.to, issuesSearchRequestDataAttributes.to)
&& Objects.equals(this.track, issuesSearchRequestDataAttributes.track)
&& Objects.equals(
Expand All @@ -266,17 +337,20 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(from, orderBy, persona, query, to, track, additionalProperties);
return Objects.hash(
assigneeIds, from, orderBy, persona, query, teamIds, to, track, additionalProperties);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IssuesSearchRequestDataAttributes {\n");
sb.append(" assigneeIds: ").append(toIndentedString(assigneeIds)).append("\n");
sb.append(" from: ").append(toIndentedString(from)).append("\n");
sb.append(" orderBy: ").append(toIndentedString(orderBy)).append("\n");
sb.append(" persona: ").append(toIndentedString(persona)).append("\n");
sb.append(" query: ").append(toIndentedString(query)).append("\n");
sb.append(" teamIds: ").append(toIndentedString(teamIds)).append("\n");
sb.append(" to: ").append(toIndentedString(to)).append("\n");
sb.append(" track: ").append(toIndentedString(track)).append("\n");
sb.append(" additionalProperties: ")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@
"timeToLive": {
"unlimited": true
},
"id": "af617072-2860-ba27-e045-b00c8baf0188"
"id": "af617072-2860-ba27-e045-b00c8baf0187"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@
"timeToLive": {
"unlimited": true
},
"id": "af617072-2860-ba27-e045-b00c8baf0187"
"id": "af617072-2860-ba27-e045-b00c8baf0188"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"timeToLive": {
"unlimited": true
},
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d"
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"timeToLive": {
"unlimited": true
},
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e"
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9"
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "73fd406e-d686-10bd-50ee-83f2c499e8a9"
"id": "73fd406e-d686-10bd-50ee-83f2c499e8a8"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb"
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eed"
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eee"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cc"
"id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cd"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eee"
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eec"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "3d4d0603-9fed-1cc5-8004-086b9b6ef691"
"id": "3d4d0603-9fed-1cc5-8004-086b9b6ef690"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d4"
"id": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d3"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0e"
"id": "d0ec7736-ef6c-d071-3390-4a5c3a301d11"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d7b"
"id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d7a"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "d0ec7736-ef6c-d071-3390-4a5c3a301d11"
"id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0e"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea"
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eed"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eec"
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "79babc38-7a70-5347-c8a6-73b0e70145f0"
"id": "79babc38-7a70-5347-c8a6-73b0e70145f1"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "79babc38-7a70-5347-c8a6-73b0e70145f7"
"id": "79babc38-7a70-5347-c8a6-73b0e70145ed"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "79babc38-7a70-5347-c8a6-73b0e70145fe"
"id": "79babc38-7a70-5347-c8a6-73b0e70145f6"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "79babc38-7a70-5347-c8a6-73b0e7014600"
"id": "79babc38-7a70-5347-c8a6-73b0e70145fd"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2e"
"id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2d"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2c"
"id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d34"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d34"
"id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2e"
},
{
"httpRequest": {
Expand Down
Loading
Loading