Skip to content
Closed
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
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-04 14:10:00.992806",
"spec_repo_commit": "4fb9047a"
"regenerated": "2025-02-04 19:29:30.697283",
"spec_repo_commit": "4b363b50"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-04 14:10:01.007762",
"spec_repo_commit": "4fb9047a"
"regenerated": "2025-02-04 19:29:30.712410",
"spec_repo_commit": "4b363b50"
}
}
}
5 changes: 5 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36988,6 +36988,7 @@ paths:
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v2/incidents/{incident_id}/relationships/todos:
get:
deprecated: true
description: Get all todos for an incident.
operationId: ListIncidentTodos
parameters:
Expand Down Expand Up @@ -37025,6 +37026,7 @@ paths:

If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
post:
deprecated: true
description: Create an incident todo.
operationId: CreateIncidentTodo
parameters:
Expand Down Expand Up @@ -37071,6 +37073,7 @@ paths:
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v2/incidents/{incident_id}/relationships/todos/{todo_id}:
delete:
deprecated: true
description: Delete an incident todo.
operationId: DeleteIncidentTodo
parameters:
Expand Down Expand Up @@ -37105,6 +37108,7 @@ paths:

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

If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
patch:
deprecated: true
description: Update an incident todo.
operationId: UpdateIncidentTodo
parameters:
Expand Down
45 changes: 45 additions & 0 deletions src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,9 @@ public ApiResponse<IncidentIntegrationMetadataResponse> createIncidentIntegratio
* @param body Incident todo payload. (required)
* @return IncidentTodoResponse
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public IncidentTodoResponse createIncidentTodo(String incidentId, IncidentTodoCreateRequest body)
throws ApiException {
return createIncidentTodoWithHttpInfo(incidentId, body).getData();
Expand All @@ -429,7 +431,9 @@ public IncidentTodoResponse createIncidentTodo(String incidentId, IncidentTodoCr
* @param incidentId The UUID of the incident. (required)
* @param body Incident todo payload. (required)
* @return CompletableFuture&lt;IncidentTodoResponse&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<IncidentTodoResponse> createIncidentTodoAsync(
String incidentId, IncidentTodoCreateRequest body) {
return createIncidentTodoWithHttpInfoAsync(incidentId, body)
Expand Down Expand Up @@ -457,7 +461,10 @@ public CompletableFuture<IncidentTodoResponse> createIncidentTodoAsync(
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
* </table>
*
* @deprecated
*/
@Deprecated
public ApiResponse<IncidentTodoResponse> createIncidentTodoWithHttpInfo(
String incidentId, IncidentTodoCreateRequest body) throws ApiException {
// Check if unstable operation is enabled
Expand Down Expand Up @@ -516,7 +523,9 @@ public ApiResponse<IncidentTodoResponse> createIncidentTodoWithHttpInfo(
* @param incidentId The UUID of the incident. (required)
* @param body Incident todo payload. (required)
* @return CompletableFuture&lt;ApiResponse&lt;IncidentTodoResponse&gt;&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<ApiResponse<IncidentTodoResponse>> createIncidentTodoWithHttpInfoAsync(
String incidentId, IncidentTodoCreateRequest body) {
// Check if unstable operation is enabled
Expand Down Expand Up @@ -1085,7 +1094,9 @@ public CompletableFuture<ApiResponse<Void>> deleteIncidentIntegrationWithHttpInf
* @param incidentId The UUID of the incident. (required)
* @param todoId The UUID of the incident todo. (required)
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public void deleteIncidentTodo(String incidentId, String todoId) throws ApiException {
deleteIncidentTodoWithHttpInfo(incidentId, todoId);
}
Expand All @@ -1098,7 +1109,9 @@ public void deleteIncidentTodo(String incidentId, String todoId) throws ApiExcep
* @param incidentId The UUID of the incident. (required)
* @param todoId The UUID of the incident todo. (required)
* @return CompletableFuture
* @deprecated
*/
@Deprecated
public CompletableFuture<Void> deleteIncidentTodoAsync(String incidentId, String todoId) {
return deleteIncidentTodoWithHttpInfoAsync(incidentId, todoId)
.thenApply(
Expand All @@ -1125,7 +1138,10 @@ public CompletableFuture<Void> deleteIncidentTodoAsync(String incidentId, String
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
* </table>
*
* @deprecated
*/
@Deprecated
public ApiResponse<Void> deleteIncidentTodoWithHttpInfo(String incidentId, String todoId)
throws ApiException {
// Check if unstable operation is enabled
Expand Down Expand Up @@ -1185,7 +1201,9 @@ public ApiResponse<Void> deleteIncidentTodoWithHttpInfo(String incidentId, Strin
* @param incidentId The UUID of the incident. (required)
* @param todoId The UUID of the incident todo. (required)
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<ApiResponse<Void>> deleteIncidentTodoWithHttpInfoAsync(
String incidentId, String todoId) {
// Check if unstable operation is enabled
Expand Down Expand Up @@ -1828,7 +1846,9 @@ public ApiResponse<IncidentIntegrationMetadataResponse> getIncidentIntegrationWi
* @param todoId The UUID of the incident todo. (required)
* @return IncidentTodoResponse
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public IncidentTodoResponse getIncidentTodo(String incidentId, String todoId)
throws ApiException {
return getIncidentTodoWithHttpInfo(incidentId, todoId).getData();
Expand All @@ -1842,7 +1862,9 @@ public IncidentTodoResponse getIncidentTodo(String incidentId, String todoId)
* @param incidentId The UUID of the incident. (required)
* @param todoId The UUID of the incident todo. (required)
* @return CompletableFuture&lt;IncidentTodoResponse&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<IncidentTodoResponse> getIncidentTodoAsync(
String incidentId, String todoId) {
return getIncidentTodoWithHttpInfoAsync(incidentId, todoId)
Expand Down Expand Up @@ -1870,7 +1892,10 @@ public CompletableFuture<IncidentTodoResponse> getIncidentTodoAsync(
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
* </table>
*
* @deprecated
*/
@Deprecated
public ApiResponse<IncidentTodoResponse> getIncidentTodoWithHttpInfo(
String incidentId, String todoId) throws ApiException {
// Check if unstable operation is enabled
Expand Down Expand Up @@ -1930,7 +1955,9 @@ public ApiResponse<IncidentTodoResponse> getIncidentTodoWithHttpInfo(
* @param incidentId The UUID of the incident. (required)
* @param todoId The UUID of the incident todo. (required)
* @return CompletableFuture&lt;ApiResponse&lt;IncidentTodoResponse&gt;&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<ApiResponse<IncidentTodoResponse>> getIncidentTodoWithHttpInfoAsync(
String incidentId, String todoId) {
// Check if unstable operation is enabled
Expand Down Expand Up @@ -2848,7 +2875,9 @@ public CompletableFuture<ApiResponse<IncidentsResponse>> listIncidentsWithHttpIn
* @param incidentId The UUID of the incident. (required)
* @return IncidentTodoListResponse
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public IncidentTodoListResponse listIncidentTodos(String incidentId) throws ApiException {
return listIncidentTodosWithHttpInfo(incidentId).getData();
}
Expand All @@ -2860,7 +2889,9 @@ public IncidentTodoListResponse listIncidentTodos(String incidentId) throws ApiE
*
* @param incidentId The UUID of the incident. (required)
* @return CompletableFuture&lt;IncidentTodoListResponse&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<IncidentTodoListResponse> listIncidentTodosAsync(String incidentId) {
return listIncidentTodosWithHttpInfoAsync(incidentId)
.thenApply(
Expand All @@ -2886,7 +2917,10 @@ public CompletableFuture<IncidentTodoListResponse> listIncidentTodosAsync(String
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
* </table>
*
* @deprecated
*/
@Deprecated
public ApiResponse<IncidentTodoListResponse> listIncidentTodosWithHttpInfo(String incidentId)
throws ApiException {
// Check if unstable operation is enabled
Expand Down Expand Up @@ -2938,7 +2972,9 @@ public ApiResponse<IncidentTodoListResponse> listIncidentTodosWithHttpInfo(Strin
*
* @param incidentId The UUID of the incident. (required)
* @return CompletableFuture&lt;ApiResponse&lt;IncidentTodoListResponse&gt;&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<ApiResponse<IncidentTodoListResponse>>
listIncidentTodosWithHttpInfoAsync(String incidentId) {
// Check if unstable operation is enabled
Expand Down Expand Up @@ -4261,7 +4297,9 @@ public ApiResponse<IncidentIntegrationMetadataResponse> updateIncidentIntegratio
* @param body Incident todo payload. (required)
* @return IncidentTodoResponse
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public IncidentTodoResponse updateIncidentTodo(
String incidentId, String todoId, IncidentTodoPatchRequest body) throws ApiException {
return updateIncidentTodoWithHttpInfo(incidentId, todoId, body).getData();
Expand All @@ -4276,7 +4314,9 @@ public IncidentTodoResponse updateIncidentTodo(
* @param todoId The UUID of the incident todo. (required)
* @param body Incident todo payload. (required)
* @return CompletableFuture&lt;IncidentTodoResponse&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<IncidentTodoResponse> updateIncidentTodoAsync(
String incidentId, String todoId, IncidentTodoPatchRequest body) {
return updateIncidentTodoWithHttpInfoAsync(incidentId, todoId, body)
Expand Down Expand Up @@ -4305,7 +4345,10 @@ public CompletableFuture<IncidentTodoResponse> updateIncidentTodoAsync(
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
* </table>
*
* @deprecated
*/
@Deprecated
public ApiResponse<IncidentTodoResponse> updateIncidentTodoWithHttpInfo(
String incidentId, String todoId, IncidentTodoPatchRequest body) throws ApiException {
// Check if unstable operation is enabled
Expand Down Expand Up @@ -4372,7 +4415,9 @@ public ApiResponse<IncidentTodoResponse> updateIncidentTodoWithHttpInfo(
* @param todoId The UUID of the incident todo. (required)
* @param body Incident todo payload. (required)
* @return CompletableFuture&lt;ApiResponse&lt;IncidentTodoResponse&gt;&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<ApiResponse<IncidentTodoResponse>> updateIncidentTodoWithHttpInfoAsync(
String incidentId, String todoId, IncidentTodoPatchRequest body) {
// Check if unstable operation is enabled
Expand Down
Loading