From c244ff5fb795f24b778fffb9c6b528ab349c7545 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 8 Oct 2026 07:53:30 +0000 Subject: [PATCH] Regenerate client from commit e45da62 of spec repo --- .generator/schemas/v2/openapi.yaml | 6 +++ .../v2/api/SalesforceIntegrationApi.java | 54 +++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 50260ba612b..22a9f1e6a48 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -183536,6 +183536,7 @@ paths: - manage_integrations /api/v2/integration/salesforce-incidents/incident-templates: get: + deprecated: true description: Get all Salesforce incident templates configured for your organization. operationId: GetIncidentTemplates responses: @@ -183570,6 +183571,7 @@ paths: permissions: - integrations_read post: + deprecated: true description: |- Create a new Salesforce incident template for your organization. Template names must be unique within an organization. @@ -183633,6 +183635,7 @@ paths: - manage_integrations /api/v2/integration/salesforce-incidents/incident-templates/{incident_template_id}: delete: + deprecated: true description: Delete a single Salesforce incident template from your organization. operationId: DeleteIncidentTemplate parameters: @@ -183654,6 +183657,7 @@ paths: permissions: - manage_integrations patch: + deprecated: true description: Update a single Salesforce incident template in your organization. operationId: UpdateIncidentTemplate parameters: @@ -183713,6 +183717,7 @@ paths: - manage_integrations /api/v2/integration/salesforce-incidents/organizations: get: + deprecated: true description: |- Get all Salesforce organizations connected to your Datadog organization through the Salesforce integration. Salesforce organizations are connected @@ -183753,6 +183758,7 @@ paths: - integrations_read /api/v2/integration/salesforce-incidents/organizations/{salesforce_org_id}: delete: + deprecated: true description: |- Disconnect a Salesforce organization from your Datadog organization. This also deletes any incident templates referencing the organization. diff --git a/src/main/java/com/datadog/api/client/v2/api/SalesforceIntegrationApi.java b/src/main/java/com/datadog/api/client/v2/api/SalesforceIntegrationApi.java index 4b0d85c6085..53aae303a6c 100644 --- a/src/main/java/com/datadog/api/client/v2/api/SalesforceIntegrationApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/SalesforceIntegrationApi.java @@ -55,7 +55,9 @@ public void setApiClient(ApiClient apiClient) { * @param body Salesforce incident template payload. (required) * @return SalesforceIncidentsTemplateResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public SalesforceIncidentsTemplateResponse createIncidentTemplate( SalesforceIncidentsTemplateCreateRequest body) throws ApiException { return createIncidentTemplateWithHttpInfo(body).getData(); @@ -68,7 +70,9 @@ public SalesforceIncidentsTemplateResponse createIncidentTemplate( * * @param body Salesforce incident template payload. (required) * @return CompletableFuture<SalesforceIncidentsTemplateResponse> + * @deprecated */ + @Deprecated public CompletableFuture createIncidentTemplateAsync( SalesforceIncidentsTemplateCreateRequest body) { return createIncidentTemplateWithHttpInfoAsync(body) @@ -96,7 +100,10 @@ public CompletableFuture createIncidentTemp * 409 Conflict - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse createIncidentTemplateWithHttpInfo( SalesforceIncidentsTemplateCreateRequest body) throws ApiException { Object localVarPostBody = body; @@ -138,7 +145,9 @@ public ApiResponse createIncidentTemplateWi * * @param body Salesforce incident template payload. (required) * @return CompletableFuture<ApiResponse<SalesforceIncidentsTemplateResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> createIncidentTemplateWithHttpInfoAsync(SalesforceIncidentsTemplateCreateRequest body) { Object localVarPostBody = body; @@ -192,7 +201,9 @@ public ApiResponse createIncidentTemplateWi * * @param incidentTemplateId The ID of the Salesforce incident template. (required) * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public void deleteIncidentTemplate(String incidentTemplateId) throws ApiException { deleteIncidentTemplateWithHttpInfo(incidentTemplateId); } @@ -204,7 +215,9 @@ public void deleteIncidentTemplate(String incidentTemplateId) throws ApiExceptio * * @param incidentTemplateId The ID of the Salesforce incident template. (required) * @return CompletableFuture + * @deprecated */ + @Deprecated public CompletableFuture deleteIncidentTemplateAsync(String incidentTemplateId) { return deleteIncidentTemplateWithHttpInfoAsync(incidentTemplateId) .thenApply( @@ -228,7 +241,10 @@ public CompletableFuture deleteIncidentTemplateAsync(String incidentTempla * 404 Not Found - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse deleteIncidentTemplateWithHttpInfo(String incidentTemplateId) throws ApiException { Object localVarPostBody = null; @@ -276,7 +292,9 @@ public ApiResponse deleteIncidentTemplateWithHttpInfo(String incidentTempl * * @param incidentTemplateId The ID of the Salesforce incident template. (required) * @return CompletableFuture<ApiResponse<Void>> + * @deprecated */ + @Deprecated public CompletableFuture> deleteIncidentTemplateWithHttpInfoAsync( String incidentTemplateId) { Object localVarPostBody = null; @@ -335,7 +353,9 @@ public CompletableFuture> deleteIncidentTemplateWithHttpInfoAs * @param salesforceOrgId The Datadog-assigned ID of the connected Salesforce organization. * (required) * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public void deleteSalesforceOrganization(String salesforceOrgId) throws ApiException { deleteSalesforceOrganizationWithHttpInfo(salesforceOrgId); } @@ -348,7 +368,9 @@ public void deleteSalesforceOrganization(String salesforceOrgId) throws ApiExcep * @param salesforceOrgId The Datadog-assigned ID of the connected Salesforce organization. * (required) * @return CompletableFuture + * @deprecated */ + @Deprecated public CompletableFuture deleteSalesforceOrganizationAsync(String salesforceOrgId) { return deleteSalesforceOrganizationWithHttpInfoAsync(salesforceOrgId) .thenApply( @@ -375,7 +397,10 @@ public CompletableFuture deleteSalesforceOrganizationAsync(String salesfor * 404 Not Found - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse deleteSalesforceOrganizationWithHttpInfo(String salesforceOrgId) throws ApiException { Object localVarPostBody = null; @@ -424,7 +449,9 @@ public ApiResponse deleteSalesforceOrganizationWithHttpInfo(String salesfo * @param salesforceOrgId The Datadog-assigned ID of the connected Salesforce organization. * (required) * @return CompletableFuture<ApiResponse<Void>> + * @deprecated */ + @Deprecated public CompletableFuture> deleteSalesforceOrganizationWithHttpInfoAsync( String salesforceOrgId) { Object localVarPostBody = null; @@ -482,7 +509,9 @@ public CompletableFuture> deleteSalesforceOrganizationWithHttp * * @return SalesforceIncidentsTemplatesResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public SalesforceIncidentsTemplatesResponse getIncidentTemplates() throws ApiException { return getIncidentTemplatesWithHttpInfo().getData(); } @@ -493,7 +522,9 @@ public SalesforceIncidentsTemplatesResponse getIncidentTemplates() throws ApiExc *

See {@link #getIncidentTemplatesWithHttpInfoAsync}. * * @return CompletableFuture<SalesforceIncidentsTemplatesResponse> + * @deprecated */ + @Deprecated public CompletableFuture getIncidentTemplatesAsync() { return getIncidentTemplatesWithHttpInfoAsync() .thenApply( @@ -515,7 +546,10 @@ public CompletableFuture getIncidentTempla * 403 Forbidden - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse getIncidentTemplatesWithHttpInfo() throws ApiException { Object localVarPostBody = null; @@ -550,7 +584,9 @@ public ApiResponse getIncidentTemplatesWit *

See {@link #getIncidentTemplatesWithHttpInfo}. * * @return CompletableFuture<ApiResponse<SalesforceIncidentsTemplatesResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> getIncidentTemplatesWithHttpInfoAsync() { Object localVarPostBody = null; @@ -594,7 +630,9 @@ public ApiResponse getIncidentTemplatesWit * * @return SalesforceIncidentsOrganizationsResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public SalesforceIncidentsOrganizationsResponse getSalesforceOrganizations() throws ApiException { return getSalesforceOrganizationsWithHttpInfo().getData(); } @@ -605,7 +643,9 @@ public SalesforceIncidentsOrganizationsResponse getSalesforceOrganizations() thr *

See {@link #getSalesforceOrganizationsWithHttpInfoAsync}. * * @return CompletableFuture<SalesforceIncidentsOrganizationsResponse> + * @deprecated */ + @Deprecated public CompletableFuture getSalesforceOrganizationsAsync() { return getSalesforceOrganizationsWithHttpInfoAsync() @@ -632,7 +672,10 @@ public SalesforceIncidentsOrganizationsResponse getSalesforceOrganizations() thr * 404 Not Found - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse getSalesforceOrganizationsWithHttpInfo() throws ApiException { Object localVarPostBody = null; @@ -667,7 +710,9 @@ public SalesforceIncidentsOrganizationsResponse getSalesforceOrganizations() thr *

See {@link #getSalesforceOrganizationsWithHttpInfo}. * * @return CompletableFuture<ApiResponse<SalesforceIncidentsOrganizationsResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> getSalesforceOrganizationsWithHttpInfoAsync() { Object localVarPostBody = null; @@ -713,7 +758,9 @@ public SalesforceIncidentsOrganizationsResponse getSalesforceOrganizations() thr * @param body Salesforce incident template payload. (required) * @return SalesforceIncidentsTemplateResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public SalesforceIncidentsTemplateResponse updateIncidentTemplate( String incidentTemplateId, SalesforceIncidentsTemplateUpdateRequest body) throws ApiException { @@ -728,7 +775,9 @@ public SalesforceIncidentsTemplateResponse updateIncidentTemplate( * @param incidentTemplateId The ID of the Salesforce incident template. (required) * @param body Salesforce incident template payload. (required) * @return CompletableFuture<SalesforceIncidentsTemplateResponse> + * @deprecated */ + @Deprecated public CompletableFuture updateIncidentTemplateAsync( String incidentTemplateId, SalesforceIncidentsTemplateUpdateRequest body) { return updateIncidentTemplateWithHttpInfoAsync(incidentTemplateId, body) @@ -756,7 +805,10 @@ public CompletableFuture updateIncidentTemp * 409 Conflict - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse updateIncidentTemplateWithHttpInfo( String incidentTemplateId, SalesforceIncidentsTemplateUpdateRequest body) throws ApiException { @@ -812,7 +864,9 @@ public ApiResponse updateIncidentTemplateWi * @param incidentTemplateId The ID of the Salesforce incident template. (required) * @param body Salesforce incident template payload. (required) * @return CompletableFuture<ApiResponse<SalesforceIncidentsTemplateResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> updateIncidentTemplateWithHttpInfoAsync( String incidentTemplateId, SalesforceIncidentsTemplateUpdateRequest body) {