@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CaseManagementAttributeApi extends Object
| Constructor and Description |
|---|
CaseManagementAttributeApi() |
CaseManagementAttributeApi(ApiClient apiClient) |
public CaseManagementAttributeApi()
public CaseManagementAttributeApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic CustomAttributeConfigResponse createCustomAttributeConfig(String caseTypeId, CustomAttributeConfigCreateRequest body) throws ApiException
caseTypeId - The UUID of the case type. (required)body - Custom attribute config payload (required)ApiException - if fails to make API callpublic CompletableFuture<CustomAttributeConfigResponse> createCustomAttributeConfigAsync(String caseTypeId, CustomAttributeConfigCreateRequest body)
caseTypeId - The UUID of the case type. (required)body - Custom attribute config payload (required)public ApiResponse<CustomAttributeConfigResponse> createCustomAttributeConfigWithHttpInfo(String caseTypeId, CustomAttributeConfigCreateRequest body) throws ApiException
caseTypeId - The UUID of the case type. (required)body - Custom attribute config 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<CustomAttributeConfigResponse>> createCustomAttributeConfigWithHttpInfoAsync(String caseTypeId, CustomAttributeConfigCreateRequest body)
caseTypeId - The UUID of the case type. (required)body - Custom attribute config payload (required)public void deleteCustomAttributeConfig(String caseTypeId, String customAttributeId) throws ApiException
See deleteCustomAttributeConfigWithHttpInfo(java.lang.String, java.lang.String).
caseTypeId - The UUID of the case type. (required)customAttributeId - Case Custom attribute's UUID (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteCustomAttributeConfigAsync(String caseTypeId, String customAttributeId)
See deleteCustomAttributeConfigWithHttpInfoAsync(java.lang.String, java.lang.String).
caseTypeId - The UUID of the case type. (required)customAttributeId - Case Custom attribute's UUID (required)public ApiResponse<Void> deleteCustomAttributeConfigWithHttpInfo(String caseTypeId, String customAttributeId) throws ApiException
caseTypeId - The UUID of the case type. (required)customAttributeId - Case Custom attribute's UUID (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteCustomAttributeConfigWithHttpInfoAsync(String caseTypeId, String customAttributeId)
See deleteCustomAttributeConfigWithHttpInfo(java.lang.String, java.lang.String).
caseTypeId - The UUID of the case type. (required)customAttributeId - Case Custom attribute's UUID (required)public CustomAttributeConfigsResponse getAllCustomAttributeConfigsByCaseType(String caseTypeId) throws ApiException
See getAllCustomAttributeConfigsByCaseTypeWithHttpInfo(java.lang.String).
caseTypeId - The UUID of the case type. (required)ApiException - if fails to make API callpublic CompletableFuture<CustomAttributeConfigsResponse> getAllCustomAttributeConfigsByCaseTypeAsync(String caseTypeId)
See getAllCustomAttributeConfigsByCaseTypeWithHttpInfoAsync(java.lang.String).
caseTypeId - The UUID of the case type. (required)public ApiResponse<CustomAttributeConfigsResponse> getAllCustomAttributeConfigsByCaseTypeWithHttpInfo(String caseTypeId) throws ApiException
caseTypeId - The UUID of the case type. (required)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<CustomAttributeConfigsResponse>> getAllCustomAttributeConfigsByCaseTypeWithHttpInfoAsync(String caseTypeId)
See getAllCustomAttributeConfigsByCaseTypeWithHttpInfo(java.lang.String).
caseTypeId - The UUID of the case type. (required)public CustomAttributeConfigsResponse getAllCustomAttributes() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<CustomAttributeConfigsResponse> getAllCustomAttributesAsync()
public ApiResponse<CustomAttributeConfigsResponse> getAllCustomAttributesWithHttpInfo() 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<CustomAttributeConfigsResponse>> getAllCustomAttributesWithHttpInfoAsync()
public CustomAttributeConfigResponse updateCustomAttributeConfig(String caseTypeId, String customAttributeId, CustomAttributeConfigUpdateRequest body) throws ApiException
caseTypeId - The UUID of the case type. (required)customAttributeId - Case Custom attribute's UUID (required)body - Custom attribute config payload. (required)ApiException - if fails to make API callpublic CompletableFuture<CustomAttributeConfigResponse> updateCustomAttributeConfigAsync(String caseTypeId, String customAttributeId, CustomAttributeConfigUpdateRequest body)
caseTypeId - The UUID of the case type. (required)customAttributeId - Case Custom attribute's UUID (required)body - Custom attribute config payload. (required)public ApiResponse<CustomAttributeConfigResponse> updateCustomAttributeConfigWithHttpInfo(String caseTypeId, String customAttributeId, CustomAttributeConfigUpdateRequest body) throws ApiException
caseTypeId - The UUID of the case type. (required)customAttributeId - Case Custom attribute's UUID (required)body - Custom attribute config 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<CustomAttributeConfigResponse>> updateCustomAttributeConfigWithHttpInfoAsync(String caseTypeId, String customAttributeId, CustomAttributeConfigUpdateRequest body)
caseTypeId - The UUID of the case type. (required)customAttributeId - Case Custom attribute's UUID (required)body - Custom attribute config payload. (required)Copyright © 2026. All rights reserved.