@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SalesforceIntegrationApi extends Object
| Constructor and Description |
|---|
SalesforceIntegrationApi() |
SalesforceIntegrationApi(ApiClient apiClient) |
public SalesforceIntegrationApi()
public SalesforceIntegrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic SalesforceIncidentsTemplateResponse createIncidentTemplate(SalesforceIncidentsTemplateCreateRequest body) throws ApiException
body - Salesforce incident template payload. (required)ApiException - if fails to make API callpublic CompletableFuture<SalesforceIncidentsTemplateResponse> createIncidentTemplateAsync(SalesforceIncidentsTemplateCreateRequest body)
body - Salesforce incident template payload. (required)public ApiResponse<SalesforceIncidentsTemplateResponse> createIncidentTemplateWithHttpInfo(SalesforceIncidentsTemplateCreateRequest body) throws ApiException
body - Salesforce incident template payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | CREATED | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SalesforceIncidentsTemplateResponse>> createIncidentTemplateWithHttpInfoAsync(SalesforceIncidentsTemplateCreateRequest body)
body - Salesforce incident template payload. (required)public void deleteIncidentTemplate(String incidentTemplateId) throws ApiException
incidentTemplateId - The ID of the Salesforce incident template. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteIncidentTemplateAsync(String incidentTemplateId)
See deleteIncidentTemplateWithHttpInfoAsync(java.lang.String).
incidentTemplateId - The ID of the Salesforce incident template. (required)public ApiResponse<Void> deleteIncidentTemplateWithHttpInfo(String incidentTemplateId) throws ApiException
incidentTemplateId - The ID of the Salesforce incident template. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteIncidentTemplateWithHttpInfoAsync(String incidentTemplateId)
incidentTemplateId - The ID of the Salesforce incident template. (required)public void deleteSalesforceOrganization(String salesforceOrgId) throws ApiException
See deleteSalesforceOrganizationWithHttpInfo(java.lang.String).
salesforceOrgId - The Datadog-assigned ID of the connected Salesforce organization.
(required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteSalesforceOrganizationAsync(String salesforceOrgId)
See deleteSalesforceOrganizationWithHttpInfoAsync(java.lang.String).
salesforceOrgId - The Datadog-assigned ID of the connected Salesforce organization.
(required)public ApiResponse<Void> deleteSalesforceOrganizationWithHttpInfo(String salesforceOrgId) throws ApiException
salesforceOrgId - The Datadog-assigned ID of the connected Salesforce organization.
(required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteSalesforceOrganizationWithHttpInfoAsync(String salesforceOrgId)
See deleteSalesforceOrganizationWithHttpInfo(java.lang.String).
salesforceOrgId - The Datadog-assigned ID of the connected Salesforce organization.
(required)public SalesforceIncidentsTemplatesResponse getIncidentTemplates() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<SalesforceIncidentsTemplatesResponse> getIncidentTemplatesAsync()
public ApiResponse<SalesforceIncidentsTemplatesResponse> getIncidentTemplatesWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SalesforceIncidentsTemplatesResponse>> getIncidentTemplatesWithHttpInfoAsync()
public SalesforceIncidentsOrganizationsResponse getSalesforceOrganizations() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<SalesforceIncidentsOrganizationsResponse> getSalesforceOrganizationsAsync()
public ApiResponse<SalesforceIncidentsOrganizationsResponse> getSalesforceOrganizationsWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SalesforceIncidentsOrganizationsResponse>> getSalesforceOrganizationsWithHttpInfoAsync()
public SalesforceIncidentsTemplateResponse updateIncidentTemplate(String incidentTemplateId, SalesforceIncidentsTemplateUpdateRequest body) throws ApiException
incidentTemplateId - The ID of the Salesforce incident template. (required)body - Salesforce incident template payload. (required)ApiException - if fails to make API callpublic CompletableFuture<SalesforceIncidentsTemplateResponse> updateIncidentTemplateAsync(String incidentTemplateId, SalesforceIncidentsTemplateUpdateRequest body)
incidentTemplateId - The ID of the Salesforce incident template. (required)body - Salesforce incident template payload. (required)public ApiResponse<SalesforceIncidentsTemplateResponse> updateIncidentTemplateWithHttpInfo(String incidentTemplateId, SalesforceIncidentsTemplateUpdateRequest body) throws ApiException
incidentTemplateId - The ID of the Salesforce incident template. (required)body - Salesforce incident template payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SalesforceIncidentsTemplateResponse>> updateIncidentTemplateWithHttpInfoAsync(String incidentTemplateId, SalesforceIncidentsTemplateUpdateRequest body)
incidentTemplateId - The ID of the Salesforce incident template. (required)body - Salesforce incident template payload. (required)Copyright © 2026. All rights reserved.