Skip to content

Commit fba1623

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 183b1f1 of spec repo
1 parent 6051492 commit fba1623

172 files changed

Lines changed: 748 additions & 754 deletions

File tree

Some content is hidden

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

‎.generator/schemas/v2/openapi.yaml‎

Lines changed: 292 additions & 295 deletions
Large diffs are not rendered by default.

‎src/datadog_api_client/v2/api/case_management_api.py‎

Lines changed: 113 additions & 115 deletions
Large diffs are not rendered by default.

‎src/datadog_api_client/v2/api/case_management_attribute_api.py‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
class CaseManagementAttributeApi:
1717
"""
18-
View and configure custom attributes within Case Management. See the `Case Management page <https://docs.datadoghq.com/service_management/case_management/>`_ for more information.
18+
View and configure custom attributes within Work Management. See the `Work Management page <https://docs.datadoghq.com/incident_response/work_management/>`_ for more information.
1919
"""
2020

2121
def __init__(self, api_client=None):
@@ -156,9 +156,9 @@ def create_custom_attribute_config(
156156
) -> CustomAttributeConfigResponse:
157157
"""Create custom attribute config for a case type.
158158
159-
Create custom attribute config for a case type
159+
Create a custom attribute configuration for a work item type.
160160
161-
:param case_type_id: The UUID of the case type.
161+
:param case_type_id: The UUID of the work item type.
162162
:type case_type_id: str
163163
:param body: Custom attribute config payload
164164
:type body: CustomAttributeConfigCreateRequest
@@ -180,9 +180,9 @@ def delete_custom_attribute_config(
180180
181181
Delete custom attribute config
182182
183-
:param case_type_id: The UUID of the case type.
183+
:param case_type_id: The UUID of the work item type.
184184
:type case_type_id: str
185-
:param custom_attribute_id: Case Custom attribute's UUID
185+
:param custom_attribute_id: Work item custom attribute's UUID.
186186
:type custom_attribute_id: str
187187
:rtype: None
188188
"""
@@ -199,9 +199,9 @@ def get_all_custom_attribute_configs_by_case_type(
199199
) -> CustomAttributeConfigsResponse:
200200
"""Get all custom attributes config of case type.
201201
202-
Get all custom attribute config of case type
202+
Get custom attribute configurations for a work item type.
203203
204-
:param case_type_id: The UUID of the case type.
204+
:param case_type_id: The UUID of the work item type.
205205
:type case_type_id: str
206206
:rtype: CustomAttributeConfigsResponse
207207
"""
@@ -230,11 +230,11 @@ def update_custom_attribute_config(
230230
) -> CustomAttributeConfigResponse:
231231
"""Update custom attribute config.
232232
233-
Updates the display name, description, type, or options of an existing custom attribute configuration for a case type.
233+
Updates the display name, description, type, or options of an existing custom attribute configuration for a work item type.
234234
235-
:param case_type_id: The UUID of the case type.
235+
:param case_type_id: The UUID of the work item type.
236236
:type case_type_id: str
237-
:param custom_attribute_id: Case Custom attribute's UUID
237+
:param custom_attribute_id: Work item custom attribute's UUID.
238238
:type custom_attribute_id: str
239239
:param body: Custom attribute config payload.
240240
:type body: CustomAttributeConfigUpdateRequest

‎src/datadog_api_client/v2/api/case_management_type_api.py‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
class CaseManagementTypeApi:
1717
"""
18-
View and configure case types within Case Management. See the `Case Management page <https://docs.datadoghq.com/service_management/case_management/>`_ for more information.
18+
View and configure work item types within Work Management. See the `Work Management page <https://docs.datadoghq.com/incident_response/work_management/>`_ for more information.
1919
"""
2020

2121
def __init__(self, api_client=None):
@@ -114,9 +114,9 @@ def create_case_type(
114114
) -> CaseTypeResponse:
115115
"""Create a case type.
116116
117-
Create a Case Type
117+
Create a work item type.
118118
119-
:param body: Case type payload
119+
:param body: Work item type payload
120120
:type body: CaseTypeCreateRequest
121121
:rtype: CaseTypeResponse
122122
"""
@@ -131,9 +131,9 @@ def delete_case_type(
131131
) -> None:
132132
"""Delete a case type.
133133
134-
Delete a case type
134+
Delete a work item type
135135
136-
:param case_type_id: The UUID of the case type.
136+
:param case_type_id: The UUID of the work item type.
137137
:type case_type_id: str
138138
:rtype: None
139139
"""
@@ -147,7 +147,7 @@ def get_all_case_types(
147147
) -> CaseTypesResponse:
148148
"""Get all case types.
149149
150-
Get all case types
150+
Get all work item types
151151
152152
:rtype: CaseTypesResponse
153153
"""
@@ -161,11 +161,11 @@ def update_case_type(
161161
) -> CaseTypeResponse:
162162
"""Update a case type.
163163
164-
Updates the name, emoji, or description of an existing case type.
164+
Updates the name, emoji, or description of an existing work item type.
165165
166-
:param case_type_id: The UUID of the case type.
166+
:param case_type_id: The UUID of the work item type.
167167
:type case_type_id: str
168-
:param body: Case type payload.
168+
:param body: Work item type payload.
169169
:type body: CaseTypeUpdateRequest
170170
:rtype: CaseTypeResponse
171171
"""

‎src/datadog_api_client/v2/model/auto_close_inactive_cases.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(
3333
**kwargs,
3434
):
3535
"""
36-
Auto-close inactive cases settings.
36+
Auto-close inactive work items settings.
3737
3838
:param enabled: Whether auto-close is enabled.
3939
:type enabled: bool, optional

‎src/datadog_api_client/v2/model/auto_transition_assigned_cases.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ def openapi_types(_):
2626

2727
def __init__(self_, auto_transition_assigned_cases_on_self_assigned: Union[bool, UnsetType] = unset, **kwargs):
2828
"""
29-
Auto-transition assigned cases settings.
29+
Auto-transition assigned work items settings.
3030
31-
:param auto_transition_assigned_cases_on_self_assigned: Whether to auto-transition cases when self-assigned.
31+
:param auto_transition_assigned_cases_on_self_assigned: Whether to auto-transition work items when self-assigned.
3232
:type auto_transition_assigned_cases_on_self_assigned: bool, optional
3333
"""
3434
if auto_transition_assigned_cases_on_self_assigned is not unset:

‎src/datadog_api_client/v2/model/automation_rule.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __init__(
4949
**kwargs,
5050
):
5151
"""
52-
An automation rule that executes an action (such as running a Datadog workflow or assigning an AI agent) when a specified case event occurs within a project.
52+
An automation rule that executes an action (such as running a Datadog workflow or assigning an AI agent) when a specified work item event occurs within a project.
5353
5454
:param attributes: Core attributes of an automation rule, including its name, trigger condition, action to execute, and current state.
5555
:type attributes: AutomationRuleAttributes
@@ -60,7 +60,7 @@ def __init__(
6060
:param relationships: Related resources for the automation rule, including the users who created and last modified it.
6161
:type relationships: AutomationRuleRelationships, optional
6262
63-
:param type: JSON:API resource type for case automation rules.
63+
:param type: JSON:API resource type for work item automation rules.
6464
:type type: CaseAutomationRuleResourceType
6565
"""
6666
if relationships is not unset:

‎src/datadog_api_client/v2/model/automation_rule_action.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(self_, data: AutomationRuleActionData, type: AutomationRuleActionTy
3939
:param data: Configuration for the action to execute, dependent on the action type.
4040
:type data: AutomationRuleActionData
4141
42-
:param type: The type of automated action to perform when the rule triggers. ``EXECUTE_WORKFLOW`` runs a Datadog workflow; ``ASSIGN_AGENT`` assigns an AI agent to the case.
42+
:param type: The type of automated action to perform when the rule triggers. ``EXECUTE_WORKFLOW`` runs a Datadog workflow; ``ASSIGN_AGENT`` assigns an AI agent to the work item.
4343
:type type: AutomationRuleActionType
4444
"""
4545
super().__init__(kwargs)

‎src/datadog_api_client/v2/model/automation_rule_action_data.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(
4141
:param agent_type: The type of AI agent to assign. Required when the action type is ``ASSIGN_AGENT``.
4242
:type agent_type: str, optional
4343
44-
:param assigned_agent_id: The identifier of the AI agent to assign to the case. Required when the action type is ``ASSIGN_AGENT``.
44+
:param assigned_agent_id: The identifier of the AI agent to assign to the work item. Required when the action type is ``ASSIGN_AGENT``.
4545
:type assigned_agent_id: str, optional
4646
4747
:param handle: The handle of the Datadog workflow to execute. Required when the action type is ``EXECUTE_WORKFLOW``.

‎src/datadog_api_client/v2/model/automation_rule_action_type.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class AutomationRuleActionType(ModelSimple):
1616
"""
17-
The type of automated action to perform when the rule triggers. `EXECUTE_WORKFLOW` runs a Datadog workflow; `ASSIGN_AGENT` assigns an AI agent to the case.
17+
The type of automated action to perform when the rule triggers. `EXECUTE_WORKFLOW` runs a Datadog workflow; `ASSIGN_AGENT` assigns an AI agent to the work item.
1818
1919
:param value: Must be one of ["EXECUTE_WORKFLOW", "ASSIGN_AGENT"].
2020
:type value: str

0 commit comments

Comments
 (0)