@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CaseManagementTypeApi extends Object
| Constructor and Description |
|---|
CaseManagementTypeApi() |
CaseManagementTypeApi(ApiClient apiClient) |
public CaseManagementTypeApi()
public CaseManagementTypeApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic CaseTypeResponse createCaseType(CaseTypeCreateRequest body) throws ApiException
See createCaseTypeWithHttpInfo(com.datadog.api.client.v2.model.CaseTypeCreateRequest).
body - Case type payload (required)ApiException - if fails to make API callpublic CompletableFuture<CaseTypeResponse> createCaseTypeAsync(CaseTypeCreateRequest body)
See createCaseTypeWithHttpInfoAsync(com.datadog.api.client.v2.model.CaseTypeCreateRequest).
body - Case type payload (required)public ApiResponse<CaseTypeResponse> createCaseTypeWithHttpInfo(CaseTypeCreateRequest body) throws ApiException
body - Case type payload (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | CREATED | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CaseTypeResponse>> createCaseTypeWithHttpInfoAsync(CaseTypeCreateRequest body)
See createCaseTypeWithHttpInfo(com.datadog.api.client.v2.model.CaseTypeCreateRequest).
body - Case type payload (required)public void deleteCaseType(String caseTypeId) throws ApiException
caseTypeId - The UUID of the case type. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteCaseTypeAsync(String caseTypeId)
caseTypeId - The UUID of the case type. (required)public ApiResponse<Void> deleteCaseTypeWithHttpInfo(String caseTypeId) throws ApiException
caseTypeId - The UUID of the case type. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteCaseTypeWithHttpInfoAsync(String caseTypeId)
caseTypeId - The UUID of the case type. (required)public CaseTypesResponse getAllCaseTypes() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<CaseTypesResponse> getAllCaseTypesAsync()
public ApiResponse<CaseTypesResponse> getAllCaseTypesWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CaseTypesResponse>> getAllCaseTypesWithHttpInfoAsync()
public CaseTypeResponse updateCaseType(String caseTypeId, CaseTypeUpdateRequest body) throws ApiException
See updateCaseTypeWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseTypeUpdateRequest).
caseTypeId - The UUID of the case type. (required)body - Case type payload. (required)ApiException - if fails to make API callpublic CompletableFuture<CaseTypeResponse> updateCaseTypeAsync(String caseTypeId, CaseTypeUpdateRequest body)
caseTypeId - The UUID of the case type. (required)body - Case type payload. (required)public ApiResponse<CaseTypeResponse> updateCaseTypeWithHttpInfo(String caseTypeId, CaseTypeUpdateRequest body) throws ApiException
caseTypeId - The UUID of the case type. (required)body - Case 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<CaseTypeResponse>> updateCaseTypeWithHttpInfoAsync(String caseTypeId, CaseTypeUpdateRequest body)
See updateCaseTypeWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseTypeUpdateRequest).
caseTypeId - The UUID of the case type. (required)body - Case type payload. (required)Copyright © 2026. All rights reserved.