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
9 changes: 9 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37229,6 +37229,15 @@ components:
description: Search query following the event search syntax.
example: "service:orders-* AND @language:go"
type: string
states:
description: Filter issues by state. Multiple values are combined with OR logic.
example:
- "OPEN"
- "ACKNOWLEDGED"
items:
$ref: "#/components/schemas/IssueState"
maxItems: 20
type: array
team_ids:
description: Filter issues by team IDs. Multiple values are combined with OR logic.
example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from datadog_api_client.v2.model.issues_search_request_data_attributes_persona import (
IssuesSearchRequestDataAttributesPersona,
)
from datadog_api_client.v2.model.issue_state import IssueState
from datadog_api_client.v2.model.issues_search_request_data_attributes_track import (
IssuesSearchRequestDataAttributesTrack,
)
Expand All @@ -31,6 +32,9 @@ class IssuesSearchRequestDataAttributes(ModelNormal):
"assignee_ids": {
"max_items": 50,
},
"states": {
"max_items": 20,
},
"team_ids": {
"max_items": 50,
},
Expand All @@ -44,6 +48,7 @@ def openapi_types(_):
from datadog_api_client.v2.model.issues_search_request_data_attributes_persona import (
IssuesSearchRequestDataAttributesPersona,
)
from datadog_api_client.v2.model.issue_state import IssueState
from datadog_api_client.v2.model.issues_search_request_data_attributes_track import (
IssuesSearchRequestDataAttributesTrack,
)
Expand All @@ -54,6 +59,7 @@ def openapi_types(_):
"order_by": (IssuesSearchRequestDataAttributesOrderBy,),
"persona": (IssuesSearchRequestDataAttributesPersona,),
"query": (str,),
"states": ([IssueState],),
"team_ids": ([UUID],),
"to": (int,),
"track": (IssuesSearchRequestDataAttributesTrack,),
Expand All @@ -65,6 +71,7 @@ def openapi_types(_):
"order_by": "order_by",
"persona": "persona",
"query": "query",
"states": "states",
"team_ids": "team_ids",
"to": "to",
"track": "track",
Expand All @@ -78,6 +85,7 @@ def __init__(
assignee_ids: Union[List[UUID], UnsetType] = unset,
order_by: Union[IssuesSearchRequestDataAttributesOrderBy, UnsetType] = unset,
persona: Union[IssuesSearchRequestDataAttributesPersona, UnsetType] = unset,
states: Union[List[IssueState], UnsetType] = unset,
team_ids: Union[List[UUID], UnsetType] = unset,
track: Union[IssuesSearchRequestDataAttributesTrack, UnsetType] = unset,
**kwargs,
Expand All @@ -100,6 +108,9 @@ def __init__(
:param query: Search query following the event search syntax.
:type query: str

:param states: Filter issues by state. Multiple values are combined with OR logic.
:type states: [IssueState], optional

:param team_ids: Filter issues by team IDs. Multiple values are combined with OR logic.
:type team_ids: [UUID], optional

Expand All @@ -115,6 +126,8 @@ def __init__(
kwargs["order_by"] = order_by
if persona is not unset:
kwargs["persona"] = persona
if states is not unset:
kwargs["states"] = states
if team_ids is not unset:
kwargs["team_ids"] = team_ids
if track is not unset:
Expand Down
Loading