diff --git a/.apigentools-info b/.apigentools-info index f51741c2591..6577a8308bd 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -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" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 831530e2584..7789e709ec8 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: diff --git a/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java b/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java index 7c0af3d5dff..8270380aec9 100644 --- a/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java @@ -415,7 +415,9 @@ public ApiResponse 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(); @@ -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<IncidentTodoResponse> + * @deprecated */ + @Deprecated public CompletableFuture createIncidentTodoAsync( String incidentId, IncidentTodoCreateRequest body) { return createIncidentTodoWithHttpInfoAsync(incidentId, body) @@ -457,7 +461,10 @@ public CompletableFuture createIncidentTodoAsync( * 404 Not Found - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse createIncidentTodoWithHttpInfo( String incidentId, IncidentTodoCreateRequest body) throws ApiException { // Check if unstable operation is enabled @@ -516,7 +523,9 @@ public ApiResponse createIncidentTodoWithHttpInfo( * @param incidentId The UUID of the incident. (required) * @param body Incident todo payload. (required) * @return CompletableFuture<ApiResponse<IncidentTodoResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> createIncidentTodoWithHttpInfoAsync( String incidentId, IncidentTodoCreateRequest body) { // Check if unstable operation is enabled @@ -1085,7 +1094,9 @@ public CompletableFuture> 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); } @@ -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 deleteIncidentTodoAsync(String incidentId, String todoId) { return deleteIncidentTodoWithHttpInfoAsync(incidentId, todoId) .thenApply( @@ -1125,7 +1138,10 @@ public CompletableFuture deleteIncidentTodoAsync(String incidentId, String * 404 Not Found - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse deleteIncidentTodoWithHttpInfo(String incidentId, String todoId) throws ApiException { // Check if unstable operation is enabled @@ -1185,7 +1201,9 @@ public ApiResponse deleteIncidentTodoWithHttpInfo(String incidentId, Strin * @param incidentId The UUID of the incident. (required) * @param todoId The UUID of the incident todo. (required) * @return CompletableFuture<ApiResponse<Void>> + * @deprecated */ + @Deprecated public CompletableFuture> deleteIncidentTodoWithHttpInfoAsync( String incidentId, String todoId) { // Check if unstable operation is enabled @@ -1828,7 +1846,9 @@ public ApiResponse 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(); @@ -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<IncidentTodoResponse> + * @deprecated */ + @Deprecated public CompletableFuture getIncidentTodoAsync( String incidentId, String todoId) { return getIncidentTodoWithHttpInfoAsync(incidentId, todoId) @@ -1870,7 +1892,10 @@ public CompletableFuture getIncidentTodoAsync( * 404 Not Found - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse getIncidentTodoWithHttpInfo( String incidentId, String todoId) throws ApiException { // Check if unstable operation is enabled @@ -1930,7 +1955,9 @@ public ApiResponse getIncidentTodoWithHttpInfo( * @param incidentId The UUID of the incident. (required) * @param todoId The UUID of the incident todo. (required) * @return CompletableFuture<ApiResponse<IncidentTodoResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> getIncidentTodoWithHttpInfoAsync( String incidentId, String todoId) { // Check if unstable operation is enabled @@ -2848,7 +2875,9 @@ public CompletableFuture> 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(); } @@ -2860,7 +2889,9 @@ public IncidentTodoListResponse listIncidentTodos(String incidentId) throws ApiE * * @param incidentId The UUID of the incident. (required) * @return CompletableFuture<IncidentTodoListResponse> + * @deprecated */ + @Deprecated public CompletableFuture listIncidentTodosAsync(String incidentId) { return listIncidentTodosWithHttpInfoAsync(incidentId) .thenApply( @@ -2886,7 +2917,10 @@ public CompletableFuture listIncidentTodosAsync(String * 404 Not Found - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse listIncidentTodosWithHttpInfo(String incidentId) throws ApiException { // Check if unstable operation is enabled @@ -2938,7 +2972,9 @@ public ApiResponse listIncidentTodosWithHttpInfo(Strin * * @param incidentId The UUID of the incident. (required) * @return CompletableFuture<ApiResponse<IncidentTodoListResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> listIncidentTodosWithHttpInfoAsync(String incidentId) { // Check if unstable operation is enabled @@ -4261,7 +4297,9 @@ public ApiResponse 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(); @@ -4276,7 +4314,9 @@ public IncidentTodoResponse updateIncidentTodo( * @param todoId The UUID of the incident todo. (required) * @param body Incident todo payload. (required) * @return CompletableFuture<IncidentTodoResponse> + * @deprecated */ + @Deprecated public CompletableFuture updateIncidentTodoAsync( String incidentId, String todoId, IncidentTodoPatchRequest body) { return updateIncidentTodoWithHttpInfoAsync(incidentId, todoId, body) @@ -4305,7 +4345,10 @@ public CompletableFuture updateIncidentTodoAsync( * 404 Not Found - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse updateIncidentTodoWithHttpInfo( String incidentId, String todoId, IncidentTodoPatchRequest body) throws ApiException { // Check if unstable operation is enabled @@ -4372,7 +4415,9 @@ public ApiResponse updateIncidentTodoWithHttpInfo( * @param todoId The UUID of the incident todo. (required) * @param body Incident todo payload. (required) * @return CompletableFuture<ApiResponse<IncidentTodoResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> updateIncidentTodoWithHttpInfoAsync( String incidentId, String todoId, IncidentTodoPatchRequest body) { // Check if unstable operation is enabled