Skip to content

Commit 239421e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 4b363b50 of spec repo
1 parent 5e17484 commit 239421e

File tree

3 files changed

+24
-4
lines changed

3 files changed

+24
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-02-04 14:10:05.819748",
8-
"spec_repo_commit": "4fb9047a"
7+
"regenerated": "2025-02-04 19:29:37.604167",
8+
"spec_repo_commit": "4b363b50"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-02-04 14:10:05.835266",
13-
"spec_repo_commit": "4fb9047a"
12+
"regenerated": "2025-02-04 19:29:37.620207",
13+
"spec_repo_commit": "4b363b50"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36988,6 +36988,7 @@ paths:
3698836988
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
3698936989
/api/v2/incidents/{incident_id}/relationships/todos:
3699036990
get:
36991+
deprecated: true
3699136992
description: Get all todos for an incident.
3699236993
operationId: ListIncidentTodos
3699336994
parameters:
@@ -37025,6 +37026,7 @@ paths:
3702537026

3702637027
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
3702737028
post:
37029+
deprecated: true
3702837030
description: Create an incident todo.
3702937031
operationId: CreateIncidentTodo
3703037032
parameters:
@@ -37071,6 +37073,7 @@ paths:
3707137073
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
3707237074
/api/v2/incidents/{incident_id}/relationships/todos/{todo_id}:
3707337075
delete:
37076+
deprecated: true
3707437077
description: Delete an incident todo.
3707537078
operationId: DeleteIncidentTodo
3707637079
parameters:
@@ -37105,6 +37108,7 @@ paths:
3710537108

3710637109
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
3710737110
get:
37111+
deprecated: true
3710837112
description: Get incident todo details.
3710937113
operationId: GetIncidentTodo
3711037114
parameters:
@@ -37143,6 +37147,7 @@ paths:
3714337147

3714437148
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
3714537149
patch:
37150+
deprecated: true
3714637151
description: Update an incident todo.
3714737152
operationId: UpdateIncidentTodo
3714837153
parameters:

lib/datadog_api_client/v2/api/incidents_api.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,14 @@ def create_incident_todo(incident_id, body, opts = {})
186186
#
187187
# Create an incident todo.
188188
#
189+
# @deprecated This API is deprecated.
190+
#
189191
# @param incident_id [String] The UUID of the incident.
190192
# @param body [IncidentTodoCreateRequest] Incident todo payload.
191193
# @param opts [Hash] the optional parameters
192194
# @return [Array<(IncidentTodoResponse, Integer, Hash)>] IncidentTodoResponse data, response status code and response headers
193195
def create_incident_todo_with_http_info(incident_id, body, opts = {})
196+
warn "[DEPRECATION] `CreateIncidentTodo` is deprecated."
194197
unstable_enabled = @api_client.config.unstable_operations["v2.create_incident_todo".to_sym]
195198
if unstable_enabled
196199
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.create_incident_todo")
@@ -484,11 +487,14 @@ def delete_incident_todo(incident_id, todo_id, opts = {})
484487
#
485488
# Delete an incident todo.
486489
#
490+
# @deprecated This API is deprecated.
491+
#
487492
# @param incident_id [String] The UUID of the incident.
488493
# @param todo_id [String] The UUID of the incident todo.
489494
# @param opts [Hash] the optional parameters
490495
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
491496
def delete_incident_todo_with_http_info(incident_id, todo_id, opts = {})
497+
warn "[DEPRECATION] `DeleteIncidentTodo` is deprecated."
492498
unstable_enabled = @api_client.config.unstable_operations["v2.delete_incident_todo".to_sym]
493499
if unstable_enabled
494500
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.delete_incident_todo")
@@ -780,11 +786,14 @@ def get_incident_todo(incident_id, todo_id, opts = {})
780786
#
781787
# Get incident todo details.
782788
#
789+
# @deprecated This API is deprecated.
790+
#
783791
# @param incident_id [String] The UUID of the incident.
784792
# @param todo_id [String] The UUID of the incident todo.
785793
# @param opts [Hash] the optional parameters
786794
# @return [Array<(IncidentTodoResponse, Integer, Hash)>] IncidentTodoResponse data, response status code and response headers
787795
def get_incident_todo_with_http_info(incident_id, todo_id, opts = {})
796+
warn "[DEPRECATION] `GetIncidentTodo` is deprecated."
788797
unstable_enabled = @api_client.config.unstable_operations["v2.get_incident_todo".to_sym]
789798
if unstable_enabled
790799
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_incident_todo")
@@ -1166,10 +1175,13 @@ def list_incident_todos(incident_id, opts = {})
11661175
#
11671176
# Get all todos for an incident.
11681177
#
1178+
# @deprecated This API is deprecated.
1179+
#
11691180
# @param incident_id [String] The UUID of the incident.
11701181
# @param opts [Hash] the optional parameters
11711182
# @return [Array<(IncidentTodoListResponse, Integer, Hash)>] IncidentTodoListResponse data, response status code and response headers
11721183
def list_incident_todos_with_http_info(incident_id, opts = {})
1184+
warn "[DEPRECATION] `ListIncidentTodos` is deprecated."
11731185
unstable_enabled = @api_client.config.unstable_operations["v2.list_incident_todos".to_sym]
11741186
if unstable_enabled
11751187
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.list_incident_todos")
@@ -1657,12 +1669,15 @@ def update_incident_todo(incident_id, todo_id, body, opts = {})
16571669
#
16581670
# Update an incident todo.
16591671
#
1672+
# @deprecated This API is deprecated.
1673+
#
16601674
# @param incident_id [String] The UUID of the incident.
16611675
# @param todo_id [String] The UUID of the incident todo.
16621676
# @param body [IncidentTodoPatchRequest] Incident todo payload.
16631677
# @param opts [Hash] the optional parameters
16641678
# @return [Array<(IncidentTodoResponse, Integer, Hash)>] IncidentTodoResponse data, response status code and response headers
16651679
def update_incident_todo_with_http_info(incident_id, todo_id, body, opts = {})
1680+
warn "[DEPRECATION] `UpdateIncidentTodo` is deprecated."
16661681
unstable_enabled = @api_client.config.unstable_operations["v2.update_incident_todo".to_sym]
16671682
if unstable_enabled
16681683
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.update_incident_todo")

0 commit comments

Comments
 (0)