diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 6ed4b42368e..6138042140a 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -65621,6 +65621,7 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' patch: + deprecated: true description: The bulk update endpoint for creating, updating, and deleting attachments for a given incident. operationId: UpdateIncidentAttachments @@ -65659,9 +65660,7 @@ paths: operator: OR permissions: - incident_write - x-unstable: '**Note**: This endpoint is in public beta. - - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' + x-unstable: '**Note**: This endpoint is deprecated.' /api/v2/incidents/{incident_id}/impacts: get: description: Get all impacts for an incident. 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 190e750f515..a36c2a39abf 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 @@ -6065,7 +6065,9 @@ public UpdateIncidentAttachmentsOptionalParameters include( * @param body Incident Attachment Payload. (required) * @return IncidentAttachmentUpdateResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public IncidentAttachmentUpdateResponse updateIncidentAttachments( String incidentId, IncidentAttachmentUpdateRequest body) throws ApiException { return updateIncidentAttachmentsWithHttpInfo( @@ -6081,7 +6083,9 @@ incidentId, body, new UpdateIncidentAttachmentsOptionalParameters()) * @param incidentId The UUID of the incident. (required) * @param body Incident Attachment Payload. (required) * @return CompletableFuture<IncidentAttachmentUpdateResponse> + * @deprecated */ + @Deprecated public CompletableFuture updateIncidentAttachmentsAsync( String incidentId, IncidentAttachmentUpdateRequest body) { return updateIncidentAttachmentsWithHttpInfoAsync( @@ -6102,7 +6106,9 @@ incidentId, body, new UpdateIncidentAttachmentsOptionalParameters()) * @param parameters Optional parameters for the request. * @return IncidentAttachmentUpdateResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public IncidentAttachmentUpdateResponse updateIncidentAttachments( String incidentId, IncidentAttachmentUpdateRequest body, @@ -6120,7 +6126,9 @@ public IncidentAttachmentUpdateResponse updateIncidentAttachments( * @param body Incident Attachment Payload. (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<IncidentAttachmentUpdateResponse> + * @deprecated */ + @Deprecated public CompletableFuture updateIncidentAttachmentsAsync( String incidentId, IncidentAttachmentUpdateRequest body, @@ -6151,7 +6159,10 @@ public CompletableFuture updateIncidentAttachm * 404 Not Found - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse updateIncidentAttachmentsWithHttpInfo( String incidentId, IncidentAttachmentUpdateRequest body, @@ -6219,7 +6230,9 @@ public ApiResponse updateIncidentAttachmentsWi * @param body Incident Attachment Payload. (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<ApiResponse<IncidentAttachmentUpdateResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> updateIncidentAttachmentsWithHttpInfoAsync( String incidentId,