@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 OpsgenieAccountResponse createOpsgenieAccount(OpsgenieAccountCreateRequest body) throws ApiException
See createOpsgenieAccountWithHttpInfo(com.datadog.api.client.v2.model.OpsgenieAccountCreateRequest).
body - Opsgenie account payload. (required)ApiException - if fails to make API callpublic CompletableFuture<OpsgenieAccountResponse> createOpsgenieAccountAsync(OpsgenieAccountCreateRequest body)
See createOpsgenieAccountWithHttpInfoAsync(com.datadog.api.client.v2.model.OpsgenieAccountCreateRequest).
body - Opsgenie account payload. (required)public ApiResponse<OpsgenieAccountResponse> createOpsgenieAccountWithHttpInfo(OpsgenieAccountCreateRequest body) throws ApiException
body - Opsgenie account payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | CREATED | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OpsgenieAccountResponse>> createOpsgenieAccountWithHttpInfoAsync(OpsgenieAccountCreateRequest body)
See createOpsgenieAccountWithHttpInfo(com.datadog.api.client.v2.model.OpsgenieAccountCreateRequest).
body - Opsgenie account payload. (required)public 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 deleteOpsgenieAccount(String accountId) throws ApiException
accountId - The UUID of the Opsgenie account. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteOpsgenieAccountAsync(String accountId)
See deleteOpsgenieAccountWithHttpInfoAsync(java.lang.String).
accountId - The UUID of the Opsgenie account. (required)public ApiResponse<Void> deleteOpsgenieAccountWithHttpInfo(String accountId) throws ApiException
accountId - The UUID of the Opsgenie account. (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>> deleteOpsgenieAccountWithHttpInfoAsync(String accountId)
accountId - The UUID of the Opsgenie account. (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 OpsgenieAccountsResponse listOpsgenieAccounts() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<OpsgenieAccountsResponse> listOpsgenieAccountsAsync()
public ApiResponse<OpsgenieAccountsResponse> listOpsgenieAccountsWithHttpInfo() 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<OpsgenieAccountsResponse>> listOpsgenieAccountsWithHttpInfoAsync()
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 OpsgenieAccountResponse updateOpsgenieAccount(String accountId, OpsgenieAccountUpdateRequest body) throws ApiException
accountId - The UUID of the Opsgenie account. (required)body - Opsgenie account payload. (required)ApiException - if fails to make API callpublic CompletableFuture<OpsgenieAccountResponse> updateOpsgenieAccountAsync(String accountId, OpsgenieAccountUpdateRequest body)
accountId - The UUID of the Opsgenie account. (required)body - Opsgenie account payload. (required)public ApiResponse<OpsgenieAccountResponse> updateOpsgenieAccountWithHttpInfo(String accountId, OpsgenieAccountUpdateRequest body) throws ApiException
accountId - The UUID of the Opsgenie account. (required)body - Opsgenie account payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 422 | The server cannot process the request because it contains invalid data. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OpsgenieAccountResponse>> updateOpsgenieAccountWithHttpInfoAsync(String accountId, OpsgenieAccountUpdateRequest body)
accountId - The UUID of the Opsgenie account. (required)body - Opsgenie account payload. (required)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 © 2026. All rights reserved.