@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IncidentsApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IncidentsApi.DeleteIncidentNotificationTemplateOptionalParameters
Manage optional parameters to deleteIncidentNotificationTemplate.
|
static class |
IncidentsApi.GetIncidentNotificationTemplateOptionalParameters
Manage optional parameters to getIncidentNotificationTemplate.
|
static class |
IncidentsApi.GetIncidentOptionalParameters
Manage optional parameters to getIncident.
|
static class |
IncidentsApi.ListIncidentAttachmentsOptionalParameters
Manage optional parameters to listIncidentAttachments.
|
static class |
IncidentsApi.ListIncidentNotificationTemplatesOptionalParameters
Manage optional parameters to listIncidentNotificationTemplates.
|
static class |
IncidentsApi.ListIncidentsOptionalParameters
Manage optional parameters to listIncidents.
|
static class |
IncidentsApi.ListIncidentTypesOptionalParameters
Manage optional parameters to listIncidentTypes.
|
static class |
IncidentsApi.SearchIncidentsOptionalParameters
Manage optional parameters to searchIncidents.
|
static class |
IncidentsApi.UpdateIncidentAttachmentsOptionalParameters
Manage optional parameters to updateIncidentAttachments.
|
static class |
IncidentsApi.UpdateIncidentNotificationTemplateOptionalParameters
Manage optional parameters to updateIncidentNotificationTemplate.
|
static class |
IncidentsApi.UpdateIncidentOptionalParameters
Manage optional parameters to updateIncident.
|
| Constructor and Description |
|---|
IncidentsApi() |
IncidentsApi(ApiClient apiClient) |
public IncidentsApi()
public IncidentsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic IncidentResponse createIncident(IncidentCreateRequest body) throws ApiException
See createIncidentWithHttpInfo(com.datadog.api.client.v2.model.IncidentCreateRequest).
body - Incident payload. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentResponse> createIncidentAsync(IncidentCreateRequest body)
See createIncidentWithHttpInfoAsync(com.datadog.api.client.v2.model.IncidentCreateRequest).
body - Incident payload. (required)public ApiResponse<IncidentResponse> createIncidentWithHttpInfo(IncidentCreateRequest body) throws ApiException
body - Incident 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 | - |
public CompletableFuture<ApiResponse<IncidentResponse>> createIncidentWithHttpInfoAsync(IncidentCreateRequest body)
See createIncidentWithHttpInfo(com.datadog.api.client.v2.model.IncidentCreateRequest).
body - Incident payload. (required)public IncidentIntegrationMetadataResponse createIncidentIntegration(String incidentId, IncidentIntegrationMetadataCreateRequest body) throws ApiException
incidentId - The UUID of the incident. (required)body - Incident integration metadata payload. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentIntegrationMetadataResponse> createIncidentIntegrationAsync(String incidentId, IncidentIntegrationMetadataCreateRequest body)
incidentId - The UUID of the incident. (required)body - Incident integration metadata payload. (required)public ApiResponse<IncidentIntegrationMetadataResponse> createIncidentIntegrationWithHttpInfo(String incidentId, IncidentIntegrationMetadataCreateRequest body) throws ApiException
incidentId - The UUID of the incident. (required)body - Incident integration metadata 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 | - |
public CompletableFuture<ApiResponse<IncidentIntegrationMetadataResponse>> createIncidentIntegrationWithHttpInfoAsync(String incidentId, IncidentIntegrationMetadataCreateRequest body)
incidentId - The UUID of the incident. (required)body - Incident integration metadata payload. (required)public IncidentNotificationTemplate createIncidentNotificationTemplate(CreateIncidentNotificationTemplateRequest body) throws ApiException
body - (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentNotificationTemplate> createIncidentNotificationTemplateAsync(CreateIncidentNotificationTemplateRequest body)
body - (required)public ApiResponse<IncidentNotificationTemplate> createIncidentNotificationTemplateWithHttpInfo(CreateIncidentNotificationTemplateRequest body) throws ApiException
body - (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 | - |
public CompletableFuture<ApiResponse<IncidentNotificationTemplate>> createIncidentNotificationTemplateWithHttpInfoAsync(CreateIncidentNotificationTemplateRequest body)
body - (required)public IncidentTodoResponse createIncidentTodo(String incidentId, IncidentTodoCreateRequest body) throws ApiException
incidentId - The UUID of the incident. (required)body - Incident todo payload. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentTodoResponse> createIncidentTodoAsync(String incidentId, IncidentTodoCreateRequest body)
incidentId - The UUID of the incident. (required)body - Incident todo payload. (required)public ApiResponse<IncidentTodoResponse> createIncidentTodoWithHttpInfo(String incidentId, IncidentTodoCreateRequest body) throws ApiException
incidentId - The UUID of the incident. (required)body - Incident todo 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 | - |
public CompletableFuture<ApiResponse<IncidentTodoResponse>> createIncidentTodoWithHttpInfoAsync(String incidentId, IncidentTodoCreateRequest body)
incidentId - The UUID of the incident. (required)body - Incident todo payload. (required)public IncidentTypeResponse createIncidentType(IncidentTypeCreateRequest body) throws ApiException
See createIncidentTypeWithHttpInfo(com.datadog.api.client.v2.model.IncidentTypeCreateRequest).
body - Incident type payload. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentTypeResponse> createIncidentTypeAsync(IncidentTypeCreateRequest body)
See createIncidentTypeWithHttpInfoAsync(com.datadog.api.client.v2.model.IncidentTypeCreateRequest).
body - Incident type payload. (required)public ApiResponse<IncidentTypeResponse> createIncidentTypeWithHttpInfo(IncidentTypeCreateRequest body) throws ApiException
body - Incident type 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 | - |
public CompletableFuture<ApiResponse<IncidentTypeResponse>> createIncidentTypeWithHttpInfoAsync(IncidentTypeCreateRequest body)
See createIncidentTypeWithHttpInfo(com.datadog.api.client.v2.model.IncidentTypeCreateRequest).
body - Incident type payload. (required)public void deleteIncident(String incidentId) throws ApiException
incidentId - The UUID of the incident. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteIncidentAsync(String incidentId)
incidentId - The UUID of the incident. (required)public ApiResponse<Void> deleteIncidentWithHttpInfo(String incidentId) throws ApiException
incidentId - The UUID of the incident. (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 | - |
public CompletableFuture<ApiResponse<Void>> deleteIncidentWithHttpInfoAsync(String incidentId)
incidentId - The UUID of the incident. (required)public void deleteIncidentIntegration(String incidentId, String integrationMetadataId) throws ApiException
See deleteIncidentIntegrationWithHttpInfo(java.lang.String, java.lang.String).
incidentId - The UUID of the incident. (required)integrationMetadataId - The UUID of the incident integration metadata. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteIncidentIntegrationAsync(String incidentId, String integrationMetadataId)
See deleteIncidentIntegrationWithHttpInfoAsync(java.lang.String, java.lang.String).
incidentId - The UUID of the incident. (required)integrationMetadataId - The UUID of the incident integration metadata. (required)public ApiResponse<Void> deleteIncidentIntegrationWithHttpInfo(String incidentId, String integrationMetadataId) throws ApiException
incidentId - The UUID of the incident. (required)integrationMetadataId - The UUID of the incident integration metadata. (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 | - |
public CompletableFuture<ApiResponse<Void>> deleteIncidentIntegrationWithHttpInfoAsync(String incidentId, String integrationMetadataId)
See deleteIncidentIntegrationWithHttpInfo(java.lang.String, java.lang.String).
incidentId - The UUID of the incident. (required)integrationMetadataId - The UUID of the incident integration metadata. (required)public void deleteIncidentNotificationTemplate(UUID id) throws ApiException
id - The ID of the notification template. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteIncidentNotificationTemplateAsync(UUID id)
id - The ID of the notification template. (required)public void deleteIncidentNotificationTemplate(UUID id, IncidentsApi.DeleteIncidentNotificationTemplateOptionalParameters parameters) throws ApiException
id - The ID of the notification template. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<Void> deleteIncidentNotificationTemplateAsync(UUID id, IncidentsApi.DeleteIncidentNotificationTemplateOptionalParameters parameters)
id - The ID of the notification template. (required)parameters - Optional parameters for the request.public ApiResponse<Void> deleteIncidentNotificationTemplateWithHttpInfo(UUID id, IncidentsApi.DeleteIncidentNotificationTemplateOptionalParameters parameters) throws ApiException
id - The ID of the notification template. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteIncidentNotificationTemplateWithHttpInfoAsync(UUID id, IncidentsApi.DeleteIncidentNotificationTemplateOptionalParameters parameters)
id - The ID of the notification template. (required)parameters - Optional parameters for the request.public void deleteIncidentTodo(String incidentId, String todoId) throws ApiException
See deleteIncidentTodoWithHttpInfo(java.lang.String, java.lang.String).
incidentId - The UUID of the incident. (required)todoId - The UUID of the incident todo. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteIncidentTodoAsync(String incidentId, String todoId)
See deleteIncidentTodoWithHttpInfoAsync(java.lang.String, java.lang.String).
incidentId - The UUID of the incident. (required)todoId - The UUID of the incident todo. (required)public ApiResponse<Void> deleteIncidentTodoWithHttpInfo(String incidentId, String todoId) throws ApiException
incidentId - The UUID of the incident. (required)todoId - The UUID of the incident todo. (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 | - |
public CompletableFuture<ApiResponse<Void>> deleteIncidentTodoWithHttpInfoAsync(String incidentId, String todoId)
See deleteIncidentTodoWithHttpInfo(java.lang.String, java.lang.String).
incidentId - The UUID of the incident. (required)todoId - The UUID of the incident todo. (required)public void deleteIncidentType(String incidentTypeId) throws ApiException
incidentTypeId - The UUID of the incident type. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteIncidentTypeAsync(String incidentTypeId)
incidentTypeId - The UUID of the incident type. (required)public ApiResponse<Void> deleteIncidentTypeWithHttpInfo(String incidentTypeId) throws ApiException
incidentTypeId - The UUID of the incident type. (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 | - |
public CompletableFuture<ApiResponse<Void>> deleteIncidentTypeWithHttpInfoAsync(String incidentTypeId)
incidentTypeId - The UUID of the incident type. (required)public IncidentResponse getIncident(String incidentId) throws ApiException
incidentId - The UUID of the incident. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentResponse> getIncidentAsync(String incidentId)
incidentId - The UUID of the incident. (required)public IncidentResponse getIncident(String incidentId, IncidentsApi.GetIncidentOptionalParameters parameters) throws ApiException
incidentId - The UUID of the incident. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<IncidentResponse> getIncidentAsync(String incidentId, IncidentsApi.GetIncidentOptionalParameters parameters)
incidentId - The UUID of the incident. (required)parameters - Optional parameters for the request.public ApiResponse<IncidentResponse> getIncidentWithHttpInfo(String incidentId, IncidentsApi.GetIncidentOptionalParameters parameters) throws ApiException
incident_id.incidentId - The UUID of the incident. (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 | - |
public CompletableFuture<ApiResponse<IncidentResponse>> getIncidentWithHttpInfoAsync(String incidentId, IncidentsApi.GetIncidentOptionalParameters parameters)
incidentId - The UUID of the incident. (required)parameters - Optional parameters for the request.public IncidentIntegrationMetadataResponse getIncidentIntegration(String incidentId, String integrationMetadataId) throws ApiException
See getIncidentIntegrationWithHttpInfo(java.lang.String, java.lang.String).
incidentId - The UUID of the incident. (required)integrationMetadataId - The UUID of the incident integration metadata. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentIntegrationMetadataResponse> getIncidentIntegrationAsync(String incidentId, String integrationMetadataId)
See getIncidentIntegrationWithHttpInfoAsync(java.lang.String, java.lang.String).
incidentId - The UUID of the incident. (required)integrationMetadataId - The UUID of the incident integration metadata. (required)public ApiResponse<IncidentIntegrationMetadataResponse> getIncidentIntegrationWithHttpInfo(String incidentId, String integrationMetadataId) throws ApiException
incidentId - The UUID of the incident. (required)integrationMetadataId - The UUID of the incident integration metadata. (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 | - |
public CompletableFuture<ApiResponse<IncidentIntegrationMetadataResponse>> getIncidentIntegrationWithHttpInfoAsync(String incidentId, String integrationMetadataId)
See getIncidentIntegrationWithHttpInfo(java.lang.String, java.lang.String).
incidentId - The UUID of the incident. (required)integrationMetadataId - The UUID of the incident integration metadata. (required)public IncidentNotificationTemplate getIncidentNotificationTemplate(UUID id) throws ApiException
id - The ID of the notification template. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentNotificationTemplate> getIncidentNotificationTemplateAsync(UUID id)
id - The ID of the notification template. (required)public IncidentNotificationTemplate getIncidentNotificationTemplate(UUID id, IncidentsApi.GetIncidentNotificationTemplateOptionalParameters parameters) throws ApiException
id - The ID of the notification template. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<IncidentNotificationTemplate> getIncidentNotificationTemplateAsync(UUID id, IncidentsApi.GetIncidentNotificationTemplateOptionalParameters parameters)
id - The ID of the notification template. (required)parameters - Optional parameters for the request.public ApiResponse<IncidentNotificationTemplate> getIncidentNotificationTemplateWithHttpInfo(UUID id, IncidentsApi.GetIncidentNotificationTemplateOptionalParameters parameters) throws ApiException
id - The ID of the notification template. (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 | - |
public CompletableFuture<ApiResponse<IncidentNotificationTemplate>> getIncidentNotificationTemplateWithHttpInfoAsync(UUID id, IncidentsApi.GetIncidentNotificationTemplateOptionalParameters parameters)
id - The ID of the notification template. (required)parameters - Optional parameters for the request.public IncidentTodoResponse getIncidentTodo(String incidentId, String todoId) throws ApiException
See getIncidentTodoWithHttpInfo(java.lang.String, java.lang.String).
incidentId - The UUID of the incident. (required)todoId - The UUID of the incident todo. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentTodoResponse> getIncidentTodoAsync(String incidentId, String todoId)
See getIncidentTodoWithHttpInfoAsync(java.lang.String, java.lang.String).
incidentId - The UUID of the incident. (required)todoId - The UUID of the incident todo. (required)public ApiResponse<IncidentTodoResponse> getIncidentTodoWithHttpInfo(String incidentId, String todoId) throws ApiException
incidentId - The UUID of the incident. (required)todoId - The UUID of the incident todo. (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 | - |
public CompletableFuture<ApiResponse<IncidentTodoResponse>> getIncidentTodoWithHttpInfoAsync(String incidentId, String todoId)
See getIncidentTodoWithHttpInfo(java.lang.String, java.lang.String).
incidentId - The UUID of the incident. (required)todoId - The UUID of the incident todo. (required)public IncidentTypeResponse getIncidentType(String incidentTypeId) throws ApiException
incidentTypeId - The UUID of the incident type. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentTypeResponse> getIncidentTypeAsync(String incidentTypeId)
incidentTypeId - The UUID of the incident type. (required)public ApiResponse<IncidentTypeResponse> getIncidentTypeWithHttpInfo(String incidentTypeId) throws ApiException
incidentTypeId - The UUID of the incident type. (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 | - |
public CompletableFuture<ApiResponse<IncidentTypeResponse>> getIncidentTypeWithHttpInfoAsync(String incidentTypeId)
incidentTypeId - The UUID of the incident type. (required)public IncidentAttachmentsResponse listIncidentAttachments(String incidentId) throws ApiException
incidentId - The UUID of the incident. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentAttachmentsResponse> listIncidentAttachmentsAsync(String incidentId)
incidentId - The UUID of the incident. (required)public IncidentAttachmentsResponse listIncidentAttachments(String incidentId, IncidentsApi.ListIncidentAttachmentsOptionalParameters parameters) throws ApiException
incidentId - The UUID of the incident. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<IncidentAttachmentsResponse> listIncidentAttachmentsAsync(String incidentId, IncidentsApi.ListIncidentAttachmentsOptionalParameters parameters)
incidentId - The UUID of the incident. (required)parameters - Optional parameters for the request.public ApiResponse<IncidentAttachmentsResponse> listIncidentAttachmentsWithHttpInfo(String incidentId, IncidentsApi.ListIncidentAttachmentsOptionalParameters parameters) throws ApiException
incidentId - The UUID of the incident. (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 | - |
public CompletableFuture<ApiResponse<IncidentAttachmentsResponse>> listIncidentAttachmentsWithHttpInfoAsync(String incidentId, IncidentsApi.ListIncidentAttachmentsOptionalParameters parameters)
incidentId - The UUID of the incident. (required)parameters - Optional parameters for the request.public IncidentIntegrationMetadataListResponse listIncidentIntegrations(String incidentId) throws ApiException
incidentId - The UUID of the incident. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentIntegrationMetadataListResponse> listIncidentIntegrationsAsync(String incidentId)
See listIncidentIntegrationsWithHttpInfoAsync(java.lang.String).
incidentId - The UUID of the incident. (required)public ApiResponse<IncidentIntegrationMetadataListResponse> listIncidentIntegrationsWithHttpInfo(String incidentId) throws ApiException
incidentId - The UUID of the incident. (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 | - |
public CompletableFuture<ApiResponse<IncidentIntegrationMetadataListResponse>> listIncidentIntegrationsWithHttpInfoAsync(String incidentId)
incidentId - The UUID of the incident. (required)public IncidentNotificationTemplateArray listIncidentNotificationTemplates() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<IncidentNotificationTemplateArray> listIncidentNotificationTemplatesAsync()
public IncidentNotificationTemplateArray listIncidentNotificationTemplates(IncidentsApi.ListIncidentNotificationTemplatesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<IncidentNotificationTemplateArray> listIncidentNotificationTemplatesAsync(IncidentsApi.ListIncidentNotificationTemplatesOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<IncidentNotificationTemplateArray> listIncidentNotificationTemplatesWithHttpInfo(IncidentsApi.ListIncidentNotificationTemplatesOptionalParameters parameters) throws ApiException
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 | - |
public CompletableFuture<ApiResponse<IncidentNotificationTemplateArray>> listIncidentNotificationTemplatesWithHttpInfoAsync(IncidentsApi.ListIncidentNotificationTemplatesOptionalParameters parameters)
parameters - Optional parameters for the request.public IncidentsResponse listIncidents() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<IncidentsResponse> listIncidentsAsync()
public IncidentsResponse listIncidents(IncidentsApi.ListIncidentsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<IncidentsResponse> listIncidentsAsync(IncidentsApi.ListIncidentsOptionalParameters parameters)
parameters - Optional parameters for the request.public PaginationIterable<IncidentResponseData> listIncidentsWithPagination()
public PaginationIterable<IncidentResponseData> listIncidentsWithPagination(IncidentsApi.ListIncidentsOptionalParameters parameters)
public ApiResponse<IncidentsResponse> listIncidentsWithHttpInfo(IncidentsApi.ListIncidentsOptionalParameters parameters) throws ApiException
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 | - |
public CompletableFuture<ApiResponse<IncidentsResponse>> listIncidentsWithHttpInfoAsync(IncidentsApi.ListIncidentsOptionalParameters parameters)
parameters - Optional parameters for the request.public IncidentTodoListResponse listIncidentTodos(String incidentId) throws ApiException
incidentId - The UUID of the incident. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentTodoListResponse> listIncidentTodosAsync(String incidentId)
incidentId - The UUID of the incident. (required)public ApiResponse<IncidentTodoListResponse> listIncidentTodosWithHttpInfo(String incidentId) throws ApiException
incidentId - The UUID of the incident. (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 | - |
public CompletableFuture<ApiResponse<IncidentTodoListResponse>> listIncidentTodosWithHttpInfoAsync(String incidentId)
incidentId - The UUID of the incident. (required)public IncidentTypeListResponse listIncidentTypes() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<IncidentTypeListResponse> listIncidentTypesAsync()
public IncidentTypeListResponse listIncidentTypes(IncidentsApi.ListIncidentTypesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<IncidentTypeListResponse> listIncidentTypesAsync(IncidentsApi.ListIncidentTypesOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<IncidentTypeListResponse> listIncidentTypesWithHttpInfo(IncidentsApi.ListIncidentTypesOptionalParameters parameters) throws ApiException
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 | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<IncidentTypeListResponse>> listIncidentTypesWithHttpInfoAsync(IncidentsApi.ListIncidentTypesOptionalParameters parameters)
parameters - Optional parameters for the request.public IncidentSearchResponse searchIncidents(String query) throws ApiException
query - Specifies which incidents should be returned. The query can contain any number of
incident facets joined by ANDs, along with multiple values for each of those
facets joined by ORs. For example:
state:active AND severity:(SEV-2 OR SEV-1). (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentSearchResponse> searchIncidentsAsync(String query)
query - Specifies which incidents should be returned. The query can contain any number of
incident facets joined by ANDs, along with multiple values for each of those
facets joined by ORs. For example:
state:active AND severity:(SEV-2 OR SEV-1). (required)public IncidentSearchResponse searchIncidents(String query, IncidentsApi.SearchIncidentsOptionalParameters parameters) throws ApiException
query - Specifies which incidents should be returned. The query can contain any number of
incident facets joined by ANDs, along with multiple values for each of those
facets joined by ORs. For example:
state:active AND severity:(SEV-2 OR SEV-1). (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<IncidentSearchResponse> searchIncidentsAsync(String query, IncidentsApi.SearchIncidentsOptionalParameters parameters)
query - Specifies which incidents should be returned. The query can contain any number of
incident facets joined by ANDs, along with multiple values for each of those
facets joined by ORs. For example:
state:active AND severity:(SEV-2 OR SEV-1). (required)parameters - Optional parameters for the request.public PaginationIterable<IncidentSearchResponseIncidentsData> searchIncidentsWithPagination(String query)
query - Specifies which incidents should be returned. The query can contain any number of
incident facets joined by ANDs, along with multiple values for each of those
facets joined by ORs. For example:
state:active AND severity:(SEV-2 OR SEV-1). (required)public PaginationIterable<IncidentSearchResponseIncidentsData> searchIncidentsWithPagination(String query, IncidentsApi.SearchIncidentsOptionalParameters parameters)
query - Specifies which incidents should be returned. The query can contain any number of
incident facets joined by ANDs, along with multiple values for each of those
facets joined by ORs. For example:
state:active AND severity:(SEV-2 OR SEV-1). (required)public ApiResponse<IncidentSearchResponse> searchIncidentsWithHttpInfo(String query, IncidentsApi.SearchIncidentsOptionalParameters parameters) throws ApiException
query - Specifies which incidents should be returned. The query can contain any number of
incident facets joined by ANDs, along with multiple values for each of those
facets joined by ORs. For example:
state:active AND severity:(SEV-2 OR SEV-1). (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 | - |
public CompletableFuture<ApiResponse<IncidentSearchResponse>> searchIncidentsWithHttpInfoAsync(String query, IncidentsApi.SearchIncidentsOptionalParameters parameters)
query - Specifies which incidents should be returned. The query can contain any number of
incident facets joined by ANDs, along with multiple values for each of those
facets joined by ORs. For example:
state:active AND severity:(SEV-2 OR SEV-1). (required)parameters - Optional parameters for the request.public IncidentResponse updateIncident(String incidentId, IncidentUpdateRequest body) throws ApiException
incidentId - The UUID of the incident. (required)body - Incident Payload. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentResponse> updateIncidentAsync(String incidentId, IncidentUpdateRequest body)
incidentId - The UUID of the incident. (required)body - Incident Payload. (required)public IncidentResponse updateIncident(String incidentId, IncidentUpdateRequest body, IncidentsApi.UpdateIncidentOptionalParameters parameters) throws ApiException
incidentId - The UUID of the incident. (required)body - Incident Payload. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<IncidentResponse> updateIncidentAsync(String incidentId, IncidentUpdateRequest body, IncidentsApi.UpdateIncidentOptionalParameters parameters)
incidentId - The UUID of the incident. (required)body - Incident Payload. (required)parameters - Optional parameters for the request.public ApiResponse<IncidentResponse> updateIncidentWithHttpInfo(String incidentId, IncidentUpdateRequest body, IncidentsApi.UpdateIncidentOptionalParameters parameters) throws ApiException
incidentId - The UUID of the incident. (required)body - Incident Payload. (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 | - |
public CompletableFuture<ApiResponse<IncidentResponse>> updateIncidentWithHttpInfoAsync(String incidentId, IncidentUpdateRequest body, IncidentsApi.UpdateIncidentOptionalParameters parameters)
incidentId - The UUID of the incident. (required)body - Incident Payload. (required)parameters - Optional parameters for the request.public IncidentAttachmentUpdateResponse updateIncidentAttachments(String incidentId, IncidentAttachmentUpdateRequest body) throws ApiException
incidentId - The UUID of the incident. (required)body - Incident Attachment Payload. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentAttachmentUpdateResponse> updateIncidentAttachmentsAsync(String incidentId, IncidentAttachmentUpdateRequest body)
incidentId - The UUID of the incident. (required)body - Incident Attachment Payload. (required)public IncidentAttachmentUpdateResponse updateIncidentAttachments(String incidentId, IncidentAttachmentUpdateRequest body, IncidentsApi.UpdateIncidentAttachmentsOptionalParameters parameters) throws ApiException
incidentId - The UUID of the incident. (required)body - Incident Attachment Payload. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<IncidentAttachmentUpdateResponse> updateIncidentAttachmentsAsync(String incidentId, IncidentAttachmentUpdateRequest body, IncidentsApi.UpdateIncidentAttachmentsOptionalParameters parameters)
incidentId - The UUID of the incident. (required)body - Incident Attachment Payload. (required)parameters - Optional parameters for the request.public ApiResponse<IncidentAttachmentUpdateResponse> updateIncidentAttachmentsWithHttpInfo(String incidentId, IncidentAttachmentUpdateRequest body, IncidentsApi.UpdateIncidentAttachmentsOptionalParameters parameters) throws ApiException
incidentId - The UUID of the incident. (required)body - Incident Attachment Payload. (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 | - |
public CompletableFuture<ApiResponse<IncidentAttachmentUpdateResponse>> updateIncidentAttachmentsWithHttpInfoAsync(String incidentId, IncidentAttachmentUpdateRequest body, IncidentsApi.UpdateIncidentAttachmentsOptionalParameters parameters)
incidentId - The UUID of the incident. (required)body - Incident Attachment Payload. (required)parameters - Optional parameters for the request.public IncidentIntegrationMetadataResponse updateIncidentIntegration(String incidentId, String integrationMetadataId, IncidentIntegrationMetadataPatchRequest body) throws ApiException
incidentId - The UUID of the incident. (required)integrationMetadataId - The UUID of the incident integration metadata. (required)body - Incident integration metadata payload. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentIntegrationMetadataResponse> updateIncidentIntegrationAsync(String incidentId, String integrationMetadataId, IncidentIntegrationMetadataPatchRequest body)
incidentId - The UUID of the incident. (required)integrationMetadataId - The UUID of the incident integration metadata. (required)body - Incident integration metadata payload. (required)public ApiResponse<IncidentIntegrationMetadataResponse> updateIncidentIntegrationWithHttpInfo(String incidentId, String integrationMetadataId, IncidentIntegrationMetadataPatchRequest body) throws ApiException
incidentId - The UUID of the incident. (required)integrationMetadataId - The UUID of the incident integration metadata. (required)body - Incident integration metadata 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 | - |
public CompletableFuture<ApiResponse<IncidentIntegrationMetadataResponse>> updateIncidentIntegrationWithHttpInfoAsync(String incidentId, String integrationMetadataId, IncidentIntegrationMetadataPatchRequest body)
incidentId - The UUID of the incident. (required)integrationMetadataId - The UUID of the incident integration metadata. (required)body - Incident integration metadata payload. (required)public IncidentNotificationTemplate updateIncidentNotificationTemplate(UUID id, PatchIncidentNotificationTemplateRequest body) throws ApiException
id - The ID of the notification template. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentNotificationTemplate> updateIncidentNotificationTemplateAsync(UUID id, PatchIncidentNotificationTemplateRequest body)
id - The ID of the notification template. (required)body - (required)public IncidentNotificationTemplate updateIncidentNotificationTemplate(UUID id, PatchIncidentNotificationTemplateRequest body, IncidentsApi.UpdateIncidentNotificationTemplateOptionalParameters parameters) throws ApiException
id - The ID of the notification template. (required)body - (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<IncidentNotificationTemplate> updateIncidentNotificationTemplateAsync(UUID id, PatchIncidentNotificationTemplateRequest body, IncidentsApi.UpdateIncidentNotificationTemplateOptionalParameters parameters)
id - The ID of the notification template. (required)body - (required)parameters - Optional parameters for the request.public ApiResponse<IncidentNotificationTemplate> updateIncidentNotificationTemplateWithHttpInfo(UUID id, PatchIncidentNotificationTemplateRequest body, IncidentsApi.UpdateIncidentNotificationTemplateOptionalParameters parameters) throws ApiException
id - The ID of the notification template. (required)body - (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 | - |
public CompletableFuture<ApiResponse<IncidentNotificationTemplate>> updateIncidentNotificationTemplateWithHttpInfoAsync(UUID id, PatchIncidentNotificationTemplateRequest body, IncidentsApi.UpdateIncidentNotificationTemplateOptionalParameters parameters)
id - The ID of the notification template. (required)body - (required)parameters - Optional parameters for the request.public IncidentTodoResponse updateIncidentTodo(String incidentId, String todoId, IncidentTodoPatchRequest body) throws ApiException
incidentId - The UUID of the incident. (required)todoId - The UUID of the incident todo. (required)body - Incident todo payload. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentTodoResponse> updateIncidentTodoAsync(String incidentId, String todoId, IncidentTodoPatchRequest body)
incidentId - The UUID of the incident. (required)todoId - The UUID of the incident todo. (required)body - Incident todo payload. (required)public ApiResponse<IncidentTodoResponse> updateIncidentTodoWithHttpInfo(String incidentId, String todoId, IncidentTodoPatchRequest body) throws ApiException
incidentId - The UUID of the incident. (required)todoId - The UUID of the incident todo. (required)body - Incident todo 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 | - |
public CompletableFuture<ApiResponse<IncidentTodoResponse>> updateIncidentTodoWithHttpInfoAsync(String incidentId, String todoId, IncidentTodoPatchRequest body)
incidentId - The UUID of the incident. (required)todoId - The UUID of the incident todo. (required)body - Incident todo payload. (required)public IncidentTypeResponse updateIncidentType(String incidentTypeId, IncidentTypePatchRequest body) throws ApiException
incidentTypeId - The UUID of the incident type. (required)body - Incident type payload. (required)ApiException - if fails to make API callpublic CompletableFuture<IncidentTypeResponse> updateIncidentTypeAsync(String incidentTypeId, IncidentTypePatchRequest body)
incidentTypeId - The UUID of the incident type. (required)body - Incident type payload. (required)public ApiResponse<IncidentTypeResponse> updateIncidentTypeWithHttpInfo(String incidentTypeId, IncidentTypePatchRequest body) throws ApiException
incidentTypeId - The UUID of the incident type. (required)body - Incident type 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 | - |
public CompletableFuture<ApiResponse<IncidentTypeResponse>> updateIncidentTypeWithHttpInfoAsync(String incidentTypeId, IncidentTypePatchRequest body)
incidentTypeId - The UUID of the incident type. (required)body - Incident type payload. (required)Copyright © 2025. All rights reserved.