Package com.datadog.api.client.v1.api
Class PagerDutyIntegrationApi
java.lang.Object
com.datadog.api.client.v1.api.PagerDutyIntegrationApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PagerDutyIntegrationApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a new service object.Create a new service object.Create a new service object in the PagerDuty integration.Create a new service object.voiddeletePagerDutyIntegrationService(String serviceName) Delete a single service object.deletePagerDutyIntegrationServiceAsync(String serviceName) Delete a single service object.deletePagerDutyIntegrationServiceWithHttpInfo(String serviceName) Delete a single service object in the Datadog-PagerDuty integration.deletePagerDutyIntegrationServiceWithHttpInfoAsync(String serviceName) Delete a single service object.Get the API client.getPagerDutyIntegrationService(String serviceName) Get a single service object.getPagerDutyIntegrationServiceAsync(String serviceName) Get a single service object.getPagerDutyIntegrationServiceWithHttpInfo(String serviceName) Get service name in the Datadog-PagerDuty integration.getPagerDutyIntegrationServiceWithHttpInfoAsync(String serviceName) Get a single service object.voidsetApiClient(ApiClient apiClient) Set the API client.voidupdatePagerDutyIntegrationService(String serviceName, PagerDutyServiceKey body) Update a single service object.updatePagerDutyIntegrationServiceAsync(String serviceName, PagerDutyServiceKey body) Update a single service object.updatePagerDutyIntegrationServiceWithHttpInfo(String serviceName, PagerDutyServiceKey body) Update a single service object in the Datadog-PagerDuty integration.updatePagerDutyIntegrationServiceWithHttpInfoAsync(String serviceName, PagerDutyServiceKey body) Update a single service object.
-
Constructor Details
-
PagerDutyIntegrationApi
public PagerDutyIntegrationApi() -
PagerDutyIntegrationApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createPagerDutyIntegrationService
public PagerDutyServiceName createPagerDutyIntegrationService(PagerDutyService body) throws ApiException Create a new service object.See
createPagerDutyIntegrationServiceWithHttpInfo(com.datadog.api.client.v1.model.PagerDutyService).- Parameters:
body- Create a new service object request body. (required)- Returns:
- PagerDutyServiceName
- Throws:
ApiException- if fails to make API call
-
createPagerDutyIntegrationServiceAsync
public CompletableFuture<PagerDutyServiceName> createPagerDutyIntegrationServiceAsync(PagerDutyService body) Create a new service object.See
createPagerDutyIntegrationServiceWithHttpInfoAsync(com.datadog.api.client.v1.model.PagerDutyService).- Parameters:
body- Create a new service object request body. (required)- Returns:
- CompletableFuture<PagerDutyServiceName>
-
createPagerDutyIntegrationServiceWithHttpInfo
public ApiResponse<PagerDutyServiceName> createPagerDutyIntegrationServiceWithHttpInfo(PagerDutyService body) throws ApiException Create a new service object in the PagerDuty integration.- Parameters:
body- Create a new service object request body. (required)- Returns:
- ApiResponse<PagerDutyServiceName>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 OK - 400 Bad Request - 403 Authentication error - 429 Too many requests -
-
createPagerDutyIntegrationServiceWithHttpInfoAsync
public CompletableFuture<ApiResponse<PagerDutyServiceName>> createPagerDutyIntegrationServiceWithHttpInfoAsync(PagerDutyService body) Create a new service object.See
createPagerDutyIntegrationServiceWithHttpInfo(com.datadog.api.client.v1.model.PagerDutyService).- Parameters:
body- Create a new service object request body. (required)- Returns:
- CompletableFuture<ApiResponse<PagerDutyServiceName>>
-
deletePagerDutyIntegrationService
Delete a single service object.See
deletePagerDutyIntegrationServiceWithHttpInfo(java.lang.String).- Parameters:
serviceName- The service name (required)- Throws:
ApiException- if fails to make API call
-
deletePagerDutyIntegrationServiceAsync
Delete a single service object.See
deletePagerDutyIntegrationServiceWithHttpInfoAsync(java.lang.String).- Parameters:
serviceName- The service name (required)- Returns:
- CompletableFuture
-
deletePagerDutyIntegrationServiceWithHttpInfo
public ApiResponse<Void> deletePagerDutyIntegrationServiceWithHttpInfo(String serviceName) throws ApiException Delete a single service object in the Datadog-PagerDuty integration.- Parameters:
serviceName- The service name (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 403 Authentication error - 404 Item Not Found - 429 Too many requests -
-
deletePagerDutyIntegrationServiceWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deletePagerDutyIntegrationServiceWithHttpInfoAsync(String serviceName) Delete a single service object.See
deletePagerDutyIntegrationServiceWithHttpInfo(java.lang.String).- Parameters:
serviceName- The service name (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getPagerDutyIntegrationService
Get a single service object.See
getPagerDutyIntegrationServiceWithHttpInfo(java.lang.String).- Parameters:
serviceName- The service name. (required)- Returns:
- PagerDutyServiceName
- Throws:
ApiException- if fails to make API call
-
getPagerDutyIntegrationServiceAsync
public CompletableFuture<PagerDutyServiceName> getPagerDutyIntegrationServiceAsync(String serviceName) Get a single service object.See
getPagerDutyIntegrationServiceWithHttpInfoAsync(java.lang.String).- Parameters:
serviceName- The service name. (required)- Returns:
- CompletableFuture<PagerDutyServiceName>
-
getPagerDutyIntegrationServiceWithHttpInfo
public ApiResponse<PagerDutyServiceName> getPagerDutyIntegrationServiceWithHttpInfo(String serviceName) throws ApiException Get service name in the Datadog-PagerDuty integration.- Parameters:
serviceName- The service name. (required)- Returns:
- ApiResponse<PagerDutyServiceName>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Authentication error - 404 Item Not Found - 429 Too many requests -
-
getPagerDutyIntegrationServiceWithHttpInfoAsync
public CompletableFuture<ApiResponse<PagerDutyServiceName>> getPagerDutyIntegrationServiceWithHttpInfoAsync(String serviceName) Get a single service object.See
getPagerDutyIntegrationServiceWithHttpInfo(java.lang.String).- Parameters:
serviceName- The service name. (required)- Returns:
- CompletableFuture<ApiResponse<PagerDutyServiceName>>
-
updatePagerDutyIntegrationService
public void updatePagerDutyIntegrationService(String serviceName, PagerDutyServiceKey body) throws ApiException Update a single service object.- Parameters:
serviceName- The service name (required)body- Update an existing service object request body. (required)- Throws:
ApiException- if fails to make API call
-
updatePagerDutyIntegrationServiceAsync
public CompletableFuture<Void> updatePagerDutyIntegrationServiceAsync(String serviceName, PagerDutyServiceKey body) Update a single service object.- Parameters:
serviceName- The service name (required)body- Update an existing service object request body. (required)- Returns:
- CompletableFuture
-
updatePagerDutyIntegrationServiceWithHttpInfo
public ApiResponse<Void> updatePagerDutyIntegrationServiceWithHttpInfo(String serviceName, PagerDutyServiceKey body) throws ApiException Update a single service object in the Datadog-PagerDuty integration.- Parameters:
serviceName- The service name (required)body- Update an existing service object request body. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication error - 404 Item Not Found - 429 Too many requests -
-
updatePagerDutyIntegrationServiceWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> updatePagerDutyIntegrationServiceWithHttpInfoAsync(String serviceName, PagerDutyServiceKey body) Update a single service object.- Parameters:
serviceName- The service name (required)body- Update an existing service object request body. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-