Package com.datadog.api.client.v2.api
Class CaseManagementAttributeApi
java.lang.Object
com.datadog.api.client.v2.api.CaseManagementAttributeApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CaseManagementAttributeApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCustomAttributeConfig(String caseTypeId, CustomAttributeConfigCreateRequest body) Create custom attribute config for a case type.createCustomAttributeConfigAsync(String caseTypeId, CustomAttributeConfigCreateRequest body) Create custom attribute config for a case type.createCustomAttributeConfigWithHttpInfo(String caseTypeId, CustomAttributeConfigCreateRequest body) Create custom attribute config for a case typecreateCustomAttributeConfigWithHttpInfoAsync(String caseTypeId, CustomAttributeConfigCreateRequest body) Create custom attribute config for a case type.voiddeleteCustomAttributeConfig(String caseTypeId, String customAttributeId) Delete custom attributes config.deleteCustomAttributeConfigAsync(String caseTypeId, String customAttributeId) Delete custom attributes config.deleteCustomAttributeConfigWithHttpInfo(String caseTypeId, String customAttributeId) Delete custom attribute configdeleteCustomAttributeConfigWithHttpInfoAsync(String caseTypeId, String customAttributeId) Delete custom attributes config.getAllCustomAttributeConfigsByCaseType(String caseTypeId) Get all custom attributes config of case type.getAllCustomAttributeConfigsByCaseTypeAsync(String caseTypeId) Get all custom attributes config of case type.Get all custom attribute config of case typeGet all custom attributes config of case type.Get all custom attributes.Get all custom attributes.Get all custom attributesGet all custom attributes.Get the API client.voidsetApiClient(ApiClient apiClient) Set the API client.updateCustomAttributeConfig(String caseTypeId, String customAttributeId, CustomAttributeConfigUpdateRequest body) Update custom attribute config.updateCustomAttributeConfigAsync(String caseTypeId, String customAttributeId, CustomAttributeConfigUpdateRequest body) Update custom attribute config.updateCustomAttributeConfigWithHttpInfo(String caseTypeId, String customAttributeId, CustomAttributeConfigUpdateRequest body) Updates the display name, description, type, or options of an existing custom attribute configuration for a case type.updateCustomAttributeConfigWithHttpInfoAsync(String caseTypeId, String customAttributeId, CustomAttributeConfigUpdateRequest body) Update custom attribute config.
-
Constructor Details
-
CaseManagementAttributeApi
public CaseManagementAttributeApi() -
CaseManagementAttributeApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createCustomAttributeConfig
public CustomAttributeConfigResponse createCustomAttributeConfig(String caseTypeId, CustomAttributeConfigCreateRequest body) throws ApiException Create custom attribute config for a case type.- Parameters:
caseTypeId- The UUID of the case type. (required)body- Custom attribute config payload (required)- Returns:
- CustomAttributeConfigResponse
- Throws:
ApiException- if fails to make API call
-
createCustomAttributeConfigAsync
public CompletableFuture<CustomAttributeConfigResponse> createCustomAttributeConfigAsync(String caseTypeId, CustomAttributeConfigCreateRequest body) Create custom attribute config for a case type.- Parameters:
caseTypeId- The UUID of the case type. (required)body- Custom attribute config payload (required)- Returns:
- CompletableFuture<CustomAttributeConfigResponse>
-
createCustomAttributeConfigWithHttpInfo
public ApiResponse<CustomAttributeConfigResponse> createCustomAttributeConfigWithHttpInfo(String caseTypeId, CustomAttributeConfigCreateRequest body) throws ApiException Create custom attribute config for a case type- Parameters:
caseTypeId- The UUID of the case type. (required)body- Custom attribute config payload (required)- Returns:
- ApiResponse<CustomAttributeConfigResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 CREATED - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
createCustomAttributeConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<CustomAttributeConfigResponse>> createCustomAttributeConfigWithHttpInfoAsync(String caseTypeId, CustomAttributeConfigCreateRequest body) Create custom attribute config for a case type.- Parameters:
caseTypeId- The UUID of the case type. (required)body- Custom attribute config payload (required)- Returns:
- CompletableFuture<ApiResponse<CustomAttributeConfigResponse>>
-
deleteCustomAttributeConfig
public void deleteCustomAttributeConfig(String caseTypeId, String customAttributeId) throws ApiException Delete custom attributes config.See
deleteCustomAttributeConfigWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
caseTypeId- The UUID of the case type. (required)customAttributeId- Case Custom attribute's UUID (required)- Throws:
ApiException- if fails to make API call
-
deleteCustomAttributeConfigAsync
public CompletableFuture<Void> deleteCustomAttributeConfigAsync(String caseTypeId, String customAttributeId) Delete custom attributes config.See
deleteCustomAttributeConfigWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
caseTypeId- The UUID of the case type. (required)customAttributeId- Case Custom attribute's UUID (required)- Returns:
- CompletableFuture
-
deleteCustomAttributeConfigWithHttpInfo
public ApiResponse<Void> deleteCustomAttributeConfigWithHttpInfo(String caseTypeId, String customAttributeId) throws ApiException Delete custom attribute config- Parameters:
caseTypeId- The UUID of the case type. (required)customAttributeId- Case Custom attribute's UUID (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 429 Too many requests -
-
deleteCustomAttributeConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteCustomAttributeConfigWithHttpInfoAsync(String caseTypeId, String customAttributeId) Delete custom attributes config.See
deleteCustomAttributeConfigWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
caseTypeId- The UUID of the case type. (required)customAttributeId- Case Custom attribute's UUID (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getAllCustomAttributeConfigsByCaseType
public CustomAttributeConfigsResponse getAllCustomAttributeConfigsByCaseType(String caseTypeId) throws ApiException Get all custom attributes config of case type.See
getAllCustomAttributeConfigsByCaseTypeWithHttpInfo(java.lang.String).- Parameters:
caseTypeId- The UUID of the case type. (required)- Returns:
- CustomAttributeConfigsResponse
- Throws:
ApiException- if fails to make API call
-
getAllCustomAttributeConfigsByCaseTypeAsync
public CompletableFuture<CustomAttributeConfigsResponse> getAllCustomAttributeConfigsByCaseTypeAsync(String caseTypeId) Get all custom attributes config of case type.See
getAllCustomAttributeConfigsByCaseTypeWithHttpInfoAsync(java.lang.String).- Parameters:
caseTypeId- The UUID of the case type. (required)- Returns:
- CompletableFuture<CustomAttributeConfigsResponse>
-
getAllCustomAttributeConfigsByCaseTypeWithHttpInfo
public ApiResponse<CustomAttributeConfigsResponse> getAllCustomAttributeConfigsByCaseTypeWithHttpInfo(String caseTypeId) throws ApiException Get all custom attribute config of case type- Parameters:
caseTypeId- The UUID of the case type. (required)- Returns:
- ApiResponse<CustomAttributeConfigsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 429 Too many requests -
-
getAllCustomAttributeConfigsByCaseTypeWithHttpInfoAsync
public CompletableFuture<ApiResponse<CustomAttributeConfigsResponse>> getAllCustomAttributeConfigsByCaseTypeWithHttpInfoAsync(String caseTypeId) Get all custom attributes config of case type.See
getAllCustomAttributeConfigsByCaseTypeWithHttpInfo(java.lang.String).- Parameters:
caseTypeId- The UUID of the case type. (required)- Returns:
- CompletableFuture<ApiResponse<CustomAttributeConfigsResponse>>
-
getAllCustomAttributes
Get all custom attributes.- Returns:
- CustomAttributeConfigsResponse
- Throws:
ApiException- if fails to make API call
-
getAllCustomAttributesAsync
Get all custom attributes.- Returns:
- CompletableFuture<CustomAttributeConfigsResponse>
-
getAllCustomAttributesWithHttpInfo
public ApiResponse<CustomAttributeConfigsResponse> getAllCustomAttributesWithHttpInfo() throws ApiExceptionGet all custom attributes- Returns:
- ApiResponse<CustomAttributeConfigsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden - 429 Too many requests -
-
getAllCustomAttributesWithHttpInfoAsync
public CompletableFuture<ApiResponse<CustomAttributeConfigsResponse>> getAllCustomAttributesWithHttpInfoAsync()Get all custom attributes.- Returns:
- CompletableFuture<ApiResponse<CustomAttributeConfigsResponse>>
-
updateCustomAttributeConfig
public CustomAttributeConfigResponse updateCustomAttributeConfig(String caseTypeId, String customAttributeId, CustomAttributeConfigUpdateRequest body) throws ApiException Update custom attribute config.- Parameters:
caseTypeId- The UUID of the case type. (required)customAttributeId- Case Custom attribute's UUID (required)body- Custom attribute config payload. (required)- Returns:
- CustomAttributeConfigResponse
- Throws:
ApiException- if fails to make API call
-
updateCustomAttributeConfigAsync
public CompletableFuture<CustomAttributeConfigResponse> updateCustomAttributeConfigAsync(String caseTypeId, String customAttributeId, CustomAttributeConfigUpdateRequest body) Update custom attribute config.- Parameters:
caseTypeId- The UUID of the case type. (required)customAttributeId- Case Custom attribute's UUID (required)body- Custom attribute config payload. (required)- Returns:
- CompletableFuture<CustomAttributeConfigResponse>
-
updateCustomAttributeConfigWithHttpInfo
public ApiResponse<CustomAttributeConfigResponse> updateCustomAttributeConfigWithHttpInfo(String caseTypeId, String customAttributeId, CustomAttributeConfigUpdateRequest body) throws ApiException Updates the display name, description, type, or options of an existing custom attribute configuration for a case type.- Parameters:
caseTypeId- The UUID of the case type. (required)customAttributeId- Case Custom attribute's UUID (required)body- Custom attribute config payload. (required)- Returns:
- ApiResponse<CustomAttributeConfigResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateCustomAttributeConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<CustomAttributeConfigResponse>> updateCustomAttributeConfigWithHttpInfoAsync(String caseTypeId, String customAttributeId, CustomAttributeConfigUpdateRequest body) Update custom attribute config.- Parameters:
caseTypeId- The UUID of the case type. (required)customAttributeId- Case Custom attribute's UUID (required)body- Custom attribute config payload. (required)- Returns:
- CompletableFuture<ApiResponse<CustomAttributeConfigResponse>>
-