@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IncidentServicesApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IncidentServicesApi.GetIncidentServiceOptionalParameters
Manage optional parameters to getIncidentService.
|
static class |
IncidentServicesApi.ListIncidentServicesOptionalParameters
Manage optional parameters to listIncidentServices.
|
| Constructor and Description |
|---|
IncidentServicesApi() |
IncidentServicesApi(ApiClient apiClient) |
public IncidentServicesApi()
public IncidentServicesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API client@Deprecated public IncidentServiceResponse createIncidentService(IncidentServiceCreateRequest body) throws ApiException
See createIncidentServiceWithHttpInfo(com.datadog.api.client.v2.model.IncidentServiceCreateRequest).
body - Incident Service Payload. (required)ApiException - if fails to make API call@Deprecated public CompletableFuture<IncidentServiceResponse> createIncidentServiceAsync(IncidentServiceCreateRequest body)
See createIncidentServiceWithHttpInfoAsync(com.datadog.api.client.v2.model.IncidentServiceCreateRequest).
body - Incident Service Payload. (required)@Deprecated public ApiResponse<IncidentServiceResponse> createIncidentServiceWithHttpInfo(IncidentServiceCreateRequest body) throws ApiException
body - Incident Service Payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | CREATED | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
@Deprecated public CompletableFuture<ApiResponse<IncidentServiceResponse>> createIncidentServiceWithHttpInfoAsync(IncidentServiceCreateRequest body)
See createIncidentServiceWithHttpInfo(com.datadog.api.client.v2.model.IncidentServiceCreateRequest).
body - Incident Service Payload. (required)@Deprecated public void deleteIncidentService(String serviceId) throws ApiException
serviceId - The ID of the incident service. (required)ApiException - if fails to make API call@Deprecated public CompletableFuture<Void> deleteIncidentServiceAsync(String serviceId)
See deleteIncidentServiceWithHttpInfoAsync(java.lang.String).
serviceId - The ID of the incident service. (required)@Deprecated public ApiResponse<Void> deleteIncidentServiceWithHttpInfo(String serviceId) throws ApiException
serviceId - The ID of the incident service. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
@Deprecated public CompletableFuture<ApiResponse<Void>> deleteIncidentServiceWithHttpInfoAsync(String serviceId)
serviceId - The ID of the incident service. (required)@Deprecated public IncidentServiceResponse getIncidentService(String serviceId) throws ApiException
serviceId - The ID of the incident service. (required)ApiException - if fails to make API call@Deprecated public CompletableFuture<IncidentServiceResponse> getIncidentServiceAsync(String serviceId)
serviceId - The ID of the incident service. (required)@Deprecated public IncidentServiceResponse getIncidentService(String serviceId, IncidentServicesApi.GetIncidentServiceOptionalParameters parameters) throws ApiException
serviceId - The ID of the incident service. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call@Deprecated public CompletableFuture<IncidentServiceResponse> getIncidentServiceAsync(String serviceId, IncidentServicesApi.GetIncidentServiceOptionalParameters parameters)
serviceId - The ID of the incident service. (required)parameters - Optional parameters for the request.@Deprecated public ApiResponse<IncidentServiceResponse> getIncidentServiceWithHttpInfo(String serviceId, IncidentServicesApi.GetIncidentServiceOptionalParameters parameters) throws ApiException
include[users] query parameter is
provided, the included attribute will contain the users related to these incident services.serviceId - The ID of the incident service. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
@Deprecated public CompletableFuture<ApiResponse<IncidentServiceResponse>> getIncidentServiceWithHttpInfoAsync(String serviceId, IncidentServicesApi.GetIncidentServiceOptionalParameters parameters)
serviceId - The ID of the incident service. (required)parameters - Optional parameters for the request.@Deprecated public IncidentServicesResponse listIncidentServices() throws ApiException
ApiException - if fails to make API call@Deprecated public CompletableFuture<IncidentServicesResponse> listIncidentServicesAsync()
@Deprecated public IncidentServicesResponse listIncidentServices(IncidentServicesApi.ListIncidentServicesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call@Deprecated public CompletableFuture<IncidentServicesResponse> listIncidentServicesAsync(IncidentServicesApi.ListIncidentServicesOptionalParameters parameters)
parameters - Optional parameters for the request.@Deprecated public ApiResponse<IncidentServicesResponse> listIncidentServicesWithHttpInfo(IncidentServicesApi.ListIncidentServicesOptionalParameters parameters) throws ApiException
include[users] query parameter is provided, the included attribute will contain the
users related to these incident services.parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
@Deprecated public CompletableFuture<ApiResponse<IncidentServicesResponse>> listIncidentServicesWithHttpInfoAsync(IncidentServicesApi.ListIncidentServicesOptionalParameters parameters)
parameters - Optional parameters for the request.@Deprecated public IncidentServiceResponse updateIncidentService(String serviceId, IncidentServiceUpdateRequest body) throws ApiException
serviceId - The ID of the incident service. (required)body - Incident Service Payload. (required)ApiException - if fails to make API call@Deprecated public CompletableFuture<IncidentServiceResponse> updateIncidentServiceAsync(String serviceId, IncidentServiceUpdateRequest body)
serviceId - The ID of the incident service. (required)body - Incident Service Payload. (required)@Deprecated public ApiResponse<IncidentServiceResponse> updateIncidentServiceWithHttpInfo(String serviceId, IncidentServiceUpdateRequest body) throws ApiException
serviceId - The ID of the incident service. (required)body - Incident Service Payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
@Deprecated public CompletableFuture<ApiResponse<IncidentServiceResponse>> updateIncidentServiceWithHttpInfoAsync(String serviceId, IncidentServiceUpdateRequest body)
serviceId - The ID of the incident service. (required)body - Incident Service Payload. (required)Copyright © 2024. All rights reserved.