@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PagerDutyIntegrationApi extends Object
Constructor and Description |
---|
PagerDutyIntegrationApi() |
PagerDutyIntegrationApi(ApiClient apiClient) |
public PagerDutyIntegrationApi()
public PagerDutyIntegrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient
- an instance of API clientpublic PagerDutyServiceName createPagerDutyIntegrationService(PagerDutyService body) throws ApiException
See createPagerDutyIntegrationServiceWithHttpInfo(com.datadog.api.client.v1.model.PagerDutyService)
.
body
- Create a new service object request body. (required)ApiException
- if fails to make API callpublic CompletableFuture<PagerDutyServiceName> createPagerDutyIntegrationServiceAsync(PagerDutyService body)
See createPagerDutyIntegrationServiceWithHttpInfoAsync(com.datadog.api.client.v1.model.PagerDutyService)
.
body
- Create a new service object request body. (required)public ApiResponse<PagerDutyServiceName> createPagerDutyIntegrationServiceWithHttpInfo(PagerDutyService body) throws ApiException
body
- Create a new service object request body. (required)ApiException
- if fails to make API callStatus Code | Description | Response Headers |
201 | OK | - |
400 | Bad Request | - |
403 | Authentication error | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<PagerDutyServiceName>> createPagerDutyIntegrationServiceWithHttpInfoAsync(PagerDutyService body)
See createPagerDutyIntegrationServiceWithHttpInfo(com.datadog.api.client.v1.model.PagerDutyService)
.
body
- Create a new service object request body. (required)public void deletePagerDutyIntegrationService(String serviceName) throws ApiException
See deletePagerDutyIntegrationServiceWithHttpInfo(java.lang.String)
.
serviceName
- The service name (required)ApiException
- if fails to make API callpublic CompletableFuture<Void> deletePagerDutyIntegrationServiceAsync(String serviceName)
See deletePagerDutyIntegrationServiceWithHttpInfoAsync(java.lang.String)
.
serviceName
- The service name (required)public ApiResponse<Void> deletePagerDutyIntegrationServiceWithHttpInfo(String serviceName) throws ApiException
serviceName
- The service name (required)ApiException
- if fails to make API callStatus Code | Description | Response Headers |
204 | No Content | - |
403 | Authentication error | - |
404 | Item Not Found | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deletePagerDutyIntegrationServiceWithHttpInfoAsync(String serviceName)
See deletePagerDutyIntegrationServiceWithHttpInfo(java.lang.String)
.
serviceName
- The service name (required)public PagerDutyServiceName getPagerDutyIntegrationService(String serviceName) throws ApiException
See getPagerDutyIntegrationServiceWithHttpInfo(java.lang.String)
.
serviceName
- The service name. (required)ApiException
- if fails to make API callpublic CompletableFuture<PagerDutyServiceName> getPagerDutyIntegrationServiceAsync(String serviceName)
See getPagerDutyIntegrationServiceWithHttpInfoAsync(java.lang.String)
.
serviceName
- The service name. (required)public ApiResponse<PagerDutyServiceName> getPagerDutyIntegrationServiceWithHttpInfo(String serviceName) throws ApiException
serviceName
- The service name. (required)ApiException
- if fails to make API callStatus Code | Description | Response Headers |
200 | OK | - |
403 | Authentication error | - |
404 | Item Not Found | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<PagerDutyServiceName>> getPagerDutyIntegrationServiceWithHttpInfoAsync(String serviceName)
See getPagerDutyIntegrationServiceWithHttpInfo(java.lang.String)
.
serviceName
- The service name. (required)public void updatePagerDutyIntegrationService(String serviceName, PagerDutyServiceKey body) throws ApiException
serviceName
- The service name (required)body
- Update an existing service object request body. (required)ApiException
- if fails to make API callpublic CompletableFuture<Void> updatePagerDutyIntegrationServiceAsync(String serviceName, PagerDutyServiceKey body)
serviceName
- The service name (required)body
- Update an existing service object request body. (required)public ApiResponse<Void> updatePagerDutyIntegrationServiceWithHttpInfo(String serviceName, PagerDutyServiceKey body) throws ApiException
serviceName
- The service name (required)body
- Update an existing service object request body. (required)ApiException
- if fails to make API callStatus Code | Description | Response Headers |
200 | OK | - |
400 | Bad Request | - |
403 | Authentication error | - |
404 | Item Not Found | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> updatePagerDutyIntegrationServiceWithHttpInfoAsync(String serviceName, PagerDutyServiceKey body)
serviceName
- The service name (required)body
- Update an existing service object request body. (required)Copyright © 2023. All rights reserved.