Skip to content

Commit 2cd899c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 8308ab1 of spec repo (#4347)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent b7736cd commit 2cd899c

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164173,7 +164173,12 @@ paths:
164173164173
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
164174164174
/api/v2/incidents/{incident_id}/cases/page:
164175164175
post:
164176-
description: Create a page from an incident using the Cases service.
164176+
deprecated: true
164177+
description: |-
164178+
Create a page from an incident using the Cases service.
164179+
164180+
**Deprecated**: This endpoint is deprecated. Use
164181+
[Create an on-call page from an incident](#create-an-on-call-page-from-an-incident) instead.
164177164182
operationId: CreatePageFromIncident
164178164183
parameters:
164179164184
- $ref: "#/components/parameters/IncidentIDPathParameter"

‎src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3971,7 +3971,9 @@ public ApiResponse<IncidentPageUUIDResponse> createOnCallPageFromIncidentWithHtt
39713971
* @param body Page creation payload. (required)
39723972
* @return IncidentPageUUIDResponse
39733973
* @throws ApiException if fails to make API call
3974+
* @deprecated
39743975
*/
3976+
@Deprecated
39753977
public IncidentPageUUIDResponse createPageFromIncident(
39763978
String incidentId, IncidentCreatePageFromIncidentRequest body) throws ApiException {
39773979
return createPageFromIncidentWithHttpInfo(incidentId, body).getData();
@@ -3985,7 +3987,9 @@ public IncidentPageUUIDResponse createPageFromIncident(
39853987
* @param incidentId The UUID of the incident. (required)
39863988
* @param body Page creation payload. (required)
39873989
* @return CompletableFuture&lt;IncidentPageUUIDResponse&gt;
3990+
* @deprecated
39883991
*/
3992+
@Deprecated
39893993
public CompletableFuture<IncidentPageUUIDResponse> createPageFromIncidentAsync(
39903994
String incidentId, IncidentCreatePageFromIncidentRequest body) {
39913995
return createPageFromIncidentWithHttpInfoAsync(incidentId, body)
@@ -3998,6 +4002,10 @@ public CompletableFuture<IncidentPageUUIDResponse> createPageFromIncidentAsync(
39984002
/**
39994003
* Create a page from an incident using the Cases service.
40004004
*
4005+
* <p><strong>Deprecated</strong>: This endpoint is deprecated. Use <a
4006+
* href="#create-an-on-call-page-from-an-incident">Create an on-call page from an incident</a>
4007+
* instead.
4008+
*
40014009
* @param incidentId The UUID of the incident. (required)
40024010
* @param body Page creation payload. (required)
40034011
* @return ApiResponse&lt;IncidentPageUUIDResponse&gt;
@@ -4013,7 +4021,10 @@ public CompletableFuture<IncidentPageUUIDResponse> createPageFromIncidentAsync(
40134021
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
40144022
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
40154023
* </table>
4024+
*
4025+
* @deprecated
40164026
*/
4027+
@Deprecated
40174028
public ApiResponse<IncidentPageUUIDResponse> createPageFromIncidentWithHttpInfo(
40184029
String incidentId, IncidentCreatePageFromIncidentRequest body) throws ApiException {
40194030
// Check if unstable operation is enabled
@@ -4072,7 +4083,9 @@ public ApiResponse<IncidentPageUUIDResponse> createPageFromIncidentWithHttpInfo(
40724083
* @param incidentId The UUID of the incident. (required)
40734084
* @param body Page creation payload. (required)
40744085
* @return CompletableFuture&lt;ApiResponse&lt;IncidentPageUUIDResponse&gt;&gt;
4086+
* @deprecated
40754087
*/
4088+
@Deprecated
40764089
public CompletableFuture<ApiResponse<IncidentPageUUIDResponse>>
40774090
createPageFromIncidentWithHttpInfoAsync(
40784091
String incidentId, IncidentCreatePageFromIncidentRequest body) {

0 commit comments

Comments
 (0)