@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OpsgenieIntegrationApi extends Object
| Constructor and Description |
|---|
OpsgenieIntegrationApi() |
OpsgenieIntegrationApi(ApiClient apiClient) |
public OpsgenieIntegrationApi()
public OpsgenieIntegrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic OpsgenieServiceResponse createOpsgenieService(OpsgenieServiceCreateRequest body) throws ApiException
See createOpsgenieServiceWithHttpInfo(com.datadog.api.client.v2.model.OpsgenieServiceCreateRequest).
body - Opsgenie service payload (required)ApiException - if fails to make API callpublic CompletableFuture<OpsgenieServiceResponse> createOpsgenieServiceAsync(OpsgenieServiceCreateRequest body)
See createOpsgenieServiceWithHttpInfoAsync(com.datadog.api.client.v2.model.OpsgenieServiceCreateRequest).
body - Opsgenie service payload (required)public ApiResponse<OpsgenieServiceResponse> createOpsgenieServiceWithHttpInfo(OpsgenieServiceCreateRequest body) throws ApiException
body - Opsgenie service payload (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | CREATED | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OpsgenieServiceResponse>> createOpsgenieServiceWithHttpInfoAsync(OpsgenieServiceCreateRequest body)
See createOpsgenieServiceWithHttpInfo(com.datadog.api.client.v2.model.OpsgenieServiceCreateRequest).
body - Opsgenie service payload (required)public void deleteOpsgenieService(String integrationServiceId) throws ApiException
integrationServiceId - The UUID of the service. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteOpsgenieServiceAsync(String integrationServiceId)
See deleteOpsgenieServiceWithHttpInfoAsync(java.lang.String).
integrationServiceId - The UUID of the service. (required)public ApiResponse<Void> deleteOpsgenieServiceWithHttpInfo(String integrationServiceId) throws ApiException
integrationServiceId - The UUID of the service. (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>> deleteOpsgenieServiceWithHttpInfoAsync(String integrationServiceId)
integrationServiceId - The UUID of the service. (required)public OpsgenieServiceResponse getOpsgenieService(String integrationServiceId) throws ApiException
integrationServiceId - The UUID of the service. (required)ApiException - if fails to make API callpublic CompletableFuture<OpsgenieServiceResponse> getOpsgenieServiceAsync(String integrationServiceId)
integrationServiceId - The UUID of the service. (required)public ApiResponse<OpsgenieServiceResponse> getOpsgenieServiceWithHttpInfo(String integrationServiceId) throws ApiException
integrationServiceId - The UUID of the service. (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<OpsgenieServiceResponse>> getOpsgenieServiceWithHttpInfoAsync(String integrationServiceId)
integrationServiceId - The UUID of the service. (required)public OpsgenieServicesResponse listOpsgenieServices() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<OpsgenieServicesResponse> listOpsgenieServicesAsync()
public ApiResponse<OpsgenieServicesResponse> listOpsgenieServicesWithHttpInfo() 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<OpsgenieServicesResponse>> listOpsgenieServicesWithHttpInfoAsync()
public OpsgenieServiceResponse updateOpsgenieService(String integrationServiceId, OpsgenieServiceUpdateRequest body) throws ApiException
integrationServiceId - The UUID of the service. (required)body - Opsgenie service payload. (required)ApiException - if fails to make API callpublic CompletableFuture<OpsgenieServiceResponse> updateOpsgenieServiceAsync(String integrationServiceId, OpsgenieServiceUpdateRequest body)
integrationServiceId - The UUID of the service. (required)body - Opsgenie service payload. (required)public ApiResponse<OpsgenieServiceResponse> updateOpsgenieServiceWithHttpInfo(String integrationServiceId, OpsgenieServiceUpdateRequest body) throws ApiException
integrationServiceId - The UUID of the service. (required)body - Opsgenie service 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<OpsgenieServiceResponse>> updateOpsgenieServiceWithHttpInfoAsync(String integrationServiceId, OpsgenieServiceUpdateRequest body)
integrationServiceId - The UUID of the service. (required)body - Opsgenie service payload. (required)Copyright © 2024. All rights reserved.