Class DecisionDefinitionApi


  • public class DecisionDefinitionApi
    extends Object
    • Constructor Detail

      • DecisionDefinitionApi

        public DecisionDefinitionApi()
      • DecisionDefinitionApi

        public DecisionDefinitionApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • evaluateDecisionByIdCall

        public okhttp3.Call evaluateDecisionByIdCall​(String id,
                                                     EvaluateDecisionDto evaluateDecisionDto,
                                                     ApiCallback _callback)
                                              throws ApiException
        Build call for evaluateDecisionById
        Parameters:
        id - The id of the decision definition to be evaluated. (required)
        evaluateDecisionDto - (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • evaluateDecisionById

        public List<Map<String,​VariableValueDto>> evaluateDecisionById​(String id,
                                                                             EvaluateDecisionDto evaluateDecisionDto)
                                                                      throws ApiException
        Evaluate By Id Evaluates a given decision and returns the result. The input values of the decision have to be supplied in the request body.
        Parameters:
        id - The id of the decision definition to be evaluated. (required)
        evaluateDecisionDto - (optional)
        Returns:
        List<Map<String, VariableValueDto>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • evaluateDecisionByIdWithHttpInfo

        public ApiResponse<List<Map<String,​VariableValueDto>>> evaluateDecisionByIdWithHttpInfo​(String id,
                                                                                                      EvaluateDecisionDto evaluateDecisionDto)
                                                                                               throws ApiException
        Evaluate By Id Evaluates a given decision and returns the result. The input values of the decision have to be supplied in the request body.
        Parameters:
        id - The id of the decision definition to be evaluated. (required)
        evaluateDecisionDto - (optional)
        Returns:
        ApiResponse<List<Map<String, VariableValueDto>>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • evaluateDecisionByIdAsync

        public okhttp3.Call evaluateDecisionByIdAsync​(String id,
                                                      EvaluateDecisionDto evaluateDecisionDto,
                                                      ApiCallback<List<Map<String,​VariableValueDto>>> _callback)
                                               throws ApiException
        Evaluate By Id (asynchronously) Evaluates a given decision and returns the result. The input values of the decision have to be supplied in the request body.
        Parameters:
        id - The id of the decision definition to be evaluated. (required)
        evaluateDecisionDto - (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • evaluateDecisionByKeyCall

        public okhttp3.Call evaluateDecisionByKeyCall​(String key,
                                                      EvaluateDecisionDto evaluateDecisionDto,
                                                      ApiCallback _callback)
                                               throws ApiException
        Build call for evaluateDecisionByKey
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be evaluated. (required)
        evaluateDecisionDto - (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • evaluateDecisionByKey

        public List<Map<String,​VariableValueDto>> evaluateDecisionByKey​(String key,
                                                                              EvaluateDecisionDto evaluateDecisionDto)
                                                                       throws ApiException
        Evaluate By Key Evaluates the latest version of the decision definition which belongs to no tenant. The input values of the decision have to be supplied in the request body.
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be evaluated. (required)
        evaluateDecisionDto - (optional)
        Returns:
        List<Map<String, VariableValueDto>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • evaluateDecisionByKeyWithHttpInfo

        public ApiResponse<List<Map<String,​VariableValueDto>>> evaluateDecisionByKeyWithHttpInfo​(String key,
                                                                                                       EvaluateDecisionDto evaluateDecisionDto)
                                                                                                throws ApiException
        Evaluate By Key Evaluates the latest version of the decision definition which belongs to no tenant. The input values of the decision have to be supplied in the request body.
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be evaluated. (required)
        evaluateDecisionDto - (optional)
        Returns:
        ApiResponse<List<Map<String, VariableValueDto>>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • evaluateDecisionByKeyAsync

        public okhttp3.Call evaluateDecisionByKeyAsync​(String key,
                                                       EvaluateDecisionDto evaluateDecisionDto,
                                                       ApiCallback<List<Map<String,​VariableValueDto>>> _callback)
                                                throws ApiException
        Evaluate By Key (asynchronously) Evaluates the latest version of the decision definition which belongs to no tenant. The input values of the decision have to be supplied in the request body.
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be evaluated. (required)
        evaluateDecisionDto - (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • evaluateDecisionByKeyAndTenantCall

        public okhttp3.Call evaluateDecisionByKeyAndTenantCall​(String key,
                                                               String tenantId,
                                                               EvaluateDecisionDto evaluateDecisionDto,
                                                               ApiCallback _callback)
                                                        throws ApiException
        Build call for evaluateDecisionByKeyAndTenant
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be evaluated. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        evaluateDecisionDto - (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • evaluateDecisionByKeyAndTenant

        public List<Map<String,​VariableValueDto>> evaluateDecisionByKeyAndTenant​(String key,
                                                                                       String tenantId,
                                                                                       EvaluateDecisionDto evaluateDecisionDto)
                                                                                throws ApiException
        Evaluate By Key And Tenant Evaluates the latest version of the decision definition for tenant. The input values of the decision have to be supplied in the request body.
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be evaluated. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        evaluateDecisionDto - (optional)
        Returns:
        List<Map<String, VariableValueDto>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • evaluateDecisionByKeyAndTenantWithHttpInfo

        public ApiResponse<List<Map<String,​VariableValueDto>>> evaluateDecisionByKeyAndTenantWithHttpInfo​(String key,
                                                                                                                String tenantId,
                                                                                                                EvaluateDecisionDto evaluateDecisionDto)
                                                                                                         throws ApiException
        Evaluate By Key And Tenant Evaluates the latest version of the decision definition for tenant. The input values of the decision have to be supplied in the request body.
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be evaluated. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        evaluateDecisionDto - (optional)
        Returns:
        ApiResponse<List<Map<String, VariableValueDto>>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • evaluateDecisionByKeyAndTenantAsync

        public okhttp3.Call evaluateDecisionByKeyAndTenantAsync​(String key,
                                                                String tenantId,
                                                                EvaluateDecisionDto evaluateDecisionDto,
                                                                ApiCallback<List<Map<String,​VariableValueDto>>> _callback)
                                                         throws ApiException
        Evaluate By Key And Tenant (asynchronously) Evaluates the latest version of the decision definition for tenant. The input values of the decision have to be supplied in the request body.
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be evaluated. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        evaluateDecisionDto - (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getDecisionDefinitionByIdCall

        public okhttp3.Call getDecisionDefinitionByIdCall​(String id,
                                                          ApiCallback _callback)
                                                   throws ApiException
        Build call for getDecisionDefinitionById
        Parameters:
        id - The id of the decision definition to be retrieved. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getDecisionDefinitionById

        public DecisionDefinitionDto getDecisionDefinitionById​(String id)
                                                        throws ApiException
        Get Decision Definition By Id Retrieves a decision definition by id, according to the `DecisionDefinition` interface in the engine.
        Parameters:
        id - The id of the decision definition to be retrieved. (required)
        Returns:
        DecisionDefinitionDto
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionByIdWithHttpInfo

        public ApiResponse<DecisionDefinitionDto> getDecisionDefinitionByIdWithHttpInfo​(String id)
                                                                                 throws ApiException
        Get Decision Definition By Id Retrieves a decision definition by id, according to the `DecisionDefinition` interface in the engine.
        Parameters:
        id - The id of the decision definition to be retrieved. (required)
        Returns:
        ApiResponse<DecisionDefinitionDto>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionByIdAsync

        public okhttp3.Call getDecisionDefinitionByIdAsync​(String id,
                                                           ApiCallback<DecisionDefinitionDto> _callback)
                                                    throws ApiException
        Get Decision Definition By Id (asynchronously) Retrieves a decision definition by id, according to the `DecisionDefinition` interface in the engine.
        Parameters:
        id - The id of the decision definition to be retrieved. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getDecisionDefinitionByKeyCall

        public okhttp3.Call getDecisionDefinitionByKeyCall​(String key,
                                                           ApiCallback _callback)
                                                    throws ApiException
        Build call for getDecisionDefinitionByKey
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getDecisionDefinitionByKey

        public DecisionDefinitionDto getDecisionDefinitionByKey​(String key)
                                                         throws ApiException
        Get Decision Definition By Key Retrieves the latest version of the decision definition which belongs to no tenant.
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        Returns:
        DecisionDefinitionDto
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionByKeyWithHttpInfo

        public ApiResponse<DecisionDefinitionDto> getDecisionDefinitionByKeyWithHttpInfo​(String key)
                                                                                  throws ApiException
        Get Decision Definition By Key Retrieves the latest version of the decision definition which belongs to no tenant.
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        Returns:
        ApiResponse<DecisionDefinitionDto>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionByKeyAsync

        public okhttp3.Call getDecisionDefinitionByKeyAsync​(String key,
                                                            ApiCallback<DecisionDefinitionDto> _callback)
                                                     throws ApiException
        Get Decision Definition By Key (asynchronously) Retrieves the latest version of the decision definition which belongs to no tenant.
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getDecisionDefinitionByKeyAndTenantIdCall

        public okhttp3.Call getDecisionDefinitionByKeyAndTenantIdCall​(String key,
                                                                      String tenantId,
                                                                      ApiCallback _callback)
                                                               throws ApiException
        Build call for getDecisionDefinitionByKeyAndTenantId
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getDecisionDefinitionByKeyAndTenantId

        public DecisionDefinitionDto getDecisionDefinitionByKeyAndTenantId​(String key,
                                                                           String tenantId)
                                                                    throws ApiException
        Get Decision Definition By Key And Tenant Id Retrieves the latest version of the decision definition for tenant
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        Returns:
        DecisionDefinitionDto
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionByKeyAndTenantIdWithHttpInfo

        public ApiResponse<DecisionDefinitionDto> getDecisionDefinitionByKeyAndTenantIdWithHttpInfo​(String key,
                                                                                                    String tenantId)
                                                                                             throws ApiException
        Get Decision Definition By Key And Tenant Id Retrieves the latest version of the decision definition for tenant
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        Returns:
        ApiResponse<DecisionDefinitionDto>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionByKeyAndTenantIdAsync

        public okhttp3.Call getDecisionDefinitionByKeyAndTenantIdAsync​(String key,
                                                                       String tenantId,
                                                                       ApiCallback<DecisionDefinitionDto> _callback)
                                                                throws ApiException
        Get Decision Definition By Key And Tenant Id (asynchronously) Retrieves the latest version of the decision definition for tenant
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getDecisionDefinitionDiagramCall

        public okhttp3.Call getDecisionDefinitionDiagramCall​(String id,
                                                             ApiCallback _callback)
                                                      throws ApiException
        Build call for getDecisionDefinitionDiagram
        Parameters:
        id - The id of the process definition. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getDecisionDefinitionDiagram

        public File getDecisionDefinitionDiagram​(String id)
                                          throws ApiException
        Get Diagram Retrieves the diagram of a decision definition.
        Parameters:
        id - The id of the process definition. (required)
        Returns:
        File
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionDiagramWithHttpInfo

        public ApiResponse<File> getDecisionDefinitionDiagramWithHttpInfo​(String id)
                                                                   throws ApiException
        Get Diagram Retrieves the diagram of a decision definition.
        Parameters:
        id - The id of the process definition. (required)
        Returns:
        ApiResponse<File>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionDiagramAsync

        public okhttp3.Call getDecisionDefinitionDiagramAsync​(String id,
                                                              ApiCallback<File> _callback)
                                                       throws ApiException
        Get Diagram (asynchronously) Retrieves the diagram of a decision definition.
        Parameters:
        id - The id of the process definition. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getDecisionDefinitionDiagramByKeyCall

        public okhttp3.Call getDecisionDefinitionDiagramByKeyCall​(String key,
                                                                  ApiCallback _callback)
                                                           throws ApiException
        Build call for getDecisionDefinitionDiagramByKey
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getDecisionDefinitionDiagramByKey

        public File getDecisionDefinitionDiagramByKey​(String key)
                                               throws ApiException
        Get Diagram By Key Returns the diagram for the latest version of the decision definition which belongs to no tenant
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        Returns:
        File
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionDiagramByKeyWithHttpInfo

        public ApiResponse<File> getDecisionDefinitionDiagramByKeyWithHttpInfo​(String key)
                                                                        throws ApiException
        Get Diagram By Key Returns the diagram for the latest version of the decision definition which belongs to no tenant
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        Returns:
        ApiResponse<File>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionDiagramByKeyAsync

        public okhttp3.Call getDecisionDefinitionDiagramByKeyAsync​(String key,
                                                                   ApiCallback<File> _callback)
                                                            throws ApiException
        Get Diagram By Key (asynchronously) Returns the diagram for the latest version of the decision definition which belongs to no tenant
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getDecisionDefinitionDiagramByKeyAndTenantCall

        public okhttp3.Call getDecisionDefinitionDiagramByKeyAndTenantCall​(String key,
                                                                           String tenantId,
                                                                           ApiCallback _callback)
                                                                    throws ApiException
        Build call for getDecisionDefinitionDiagramByKeyAndTenant
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getDecisionDefinitionDiagramByKeyAndTenant

        public File getDecisionDefinitionDiagramByKeyAndTenant​(String key,
                                                               String tenantId)
                                                        throws ApiException
        Get Diagram By Key And Tenant Returns the XML of the latest version of the decision definition for tenant.
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        Returns:
        File
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionDiagramByKeyAndTenantWithHttpInfo

        public ApiResponse<File> getDecisionDefinitionDiagramByKeyAndTenantWithHttpInfo​(String key,
                                                                                        String tenantId)
                                                                                 throws ApiException
        Get Diagram By Key And Tenant Returns the XML of the latest version of the decision definition for tenant.
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        Returns:
        ApiResponse<File>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionDiagramByKeyAndTenantAsync

        public okhttp3.Call getDecisionDefinitionDiagramByKeyAndTenantAsync​(String key,
                                                                            String tenantId,
                                                                            ApiCallback<File> _callback)
                                                                     throws ApiException
        Get Diagram By Key And Tenant (asynchronously) Returns the XML of the latest version of the decision definition for tenant.
        Parameters:
        key - The key of the decision definition (the latest version thereof) to be retrieved. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getDecisionDefinitionDmnXmlByIdCall

        public okhttp3.Call getDecisionDefinitionDmnXmlByIdCall​(String id,
                                                                ApiCallback _callback)
                                                         throws ApiException
        Build call for getDecisionDefinitionDmnXmlById
        Parameters:
        id - The id of the decision definition. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getDecisionDefinitionDmnXmlById

        public DecisionDefinitionDiagramDto getDecisionDefinitionDmnXmlById​(String id)
                                                                     throws ApiException
        Get XML By Id Retrieves the DMN XML of a decision definition.
        Parameters:
        id - The id of the decision definition. (required)
        Returns:
        DecisionDefinitionDiagramDto
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionDmnXmlByIdWithHttpInfo

        public ApiResponse<DecisionDefinitionDiagramDto> getDecisionDefinitionDmnXmlByIdWithHttpInfo​(String id)
                                                                                              throws ApiException
        Get XML By Id Retrieves the DMN XML of a decision definition.
        Parameters:
        id - The id of the decision definition. (required)
        Returns:
        ApiResponse<DecisionDefinitionDiagramDto>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionDmnXmlByIdAsync

        public okhttp3.Call getDecisionDefinitionDmnXmlByIdAsync​(String id,
                                                                 ApiCallback<DecisionDefinitionDiagramDto> _callback)
                                                          throws ApiException
        Get XML By Id (asynchronously) Retrieves the DMN XML of a decision definition.
        Parameters:
        id - The id of the decision definition. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getDecisionDefinitionDmnXmlByKeyCall

        public okhttp3.Call getDecisionDefinitionDmnXmlByKeyCall​(String key,
                                                                 ApiCallback _callback)
                                                          throws ApiException
        Build call for getDecisionDefinitionDmnXmlByKey
        Parameters:
        key - The key of the decision definition (the latest version thereof). (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getDecisionDefinitionDmnXmlByKey

        public DecisionDefinitionDiagramDto getDecisionDefinitionDmnXmlByKey​(String key)
                                                                      throws ApiException
        Get XML By Key Retrieves the XML for the latest version of the decision definition which belongs to no tenant.
        Parameters:
        key - The key of the decision definition (the latest version thereof). (required)
        Returns:
        DecisionDefinitionDiagramDto
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionDmnXmlByKeyWithHttpInfo

        public ApiResponse<DecisionDefinitionDiagramDto> getDecisionDefinitionDmnXmlByKeyWithHttpInfo​(String key)
                                                                                               throws ApiException
        Get XML By Key Retrieves the XML for the latest version of the decision definition which belongs to no tenant.
        Parameters:
        key - The key of the decision definition (the latest version thereof). (required)
        Returns:
        ApiResponse<DecisionDefinitionDiagramDto>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionDmnXmlByKeyAsync

        public okhttp3.Call getDecisionDefinitionDmnXmlByKeyAsync​(String key,
                                                                  ApiCallback<DecisionDefinitionDiagramDto> _callback)
                                                           throws ApiException
        Get XML By Key (asynchronously) Retrieves the XML for the latest version of the decision definition which belongs to no tenant.
        Parameters:
        key - The key of the decision definition (the latest version thereof). (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getDecisionDefinitionDmnXmlByKeyAndTenantCall

        public okhttp3.Call getDecisionDefinitionDmnXmlByKeyAndTenantCall​(String key,
                                                                          String tenantId,
                                                                          ApiCallback _callback)
                                                                   throws ApiException
        Build call for getDecisionDefinitionDmnXmlByKeyAndTenant
        Parameters:
        key - The key of the decision definition (the latest version thereof). (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getDecisionDefinitionDmnXmlByKeyAndTenant

        public DecisionDefinitionDiagramDto getDecisionDefinitionDmnXmlByKeyAndTenant​(String key,
                                                                                      String tenantId)
                                                                               throws ApiException
        Get XML By Key and Tenant Retrieves the XML of the latest version of the decision definition for tenant
        Parameters:
        key - The key of the decision definition (the latest version thereof). (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        Returns:
        DecisionDefinitionDiagramDto
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionDmnXmlByKeyAndTenantWithHttpInfo

        public ApiResponse<DecisionDefinitionDiagramDto> getDecisionDefinitionDmnXmlByKeyAndTenantWithHttpInfo​(String key,
                                                                                                               String tenantId)
                                                                                                        throws ApiException
        Get XML By Key and Tenant Retrieves the XML of the latest version of the decision definition for tenant
        Parameters:
        key - The key of the decision definition (the latest version thereof). (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        Returns:
        ApiResponse<DecisionDefinitionDiagramDto>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionDmnXmlByKeyAndTenantAsync

        public okhttp3.Call getDecisionDefinitionDmnXmlByKeyAndTenantAsync​(String key,
                                                                           String tenantId,
                                                                           ApiCallback<DecisionDefinitionDiagramDto> _callback)
                                                                    throws ApiException
        Get XML By Key and Tenant (asynchronously) Retrieves the XML of the latest version of the decision definition for tenant
        Parameters:
        key - The key of the decision definition (the latest version thereof). (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getDecisionDefinitionsCall

        public okhttp3.Call getDecisionDefinitionsCall​(String sortBy,
                                                       String sortOrder,
                                                       Integer firstResult,
                                                       Integer maxResults,
                                                       String decisionDefinitionId,
                                                       String decisionDefinitionIdIn,
                                                       String name,
                                                       String nameLike,
                                                       String deploymentId,
                                                       Date deployedAfter,
                                                       Date deployedAt,
                                                       String key,
                                                       String keyLike,
                                                       String category,
                                                       String categoryLike,
                                                       Integer version,
                                                       Boolean latestVersion,
                                                       String resourceName,
                                                       String resourceNameLike,
                                                       String decisionRequirementsDefinitionId,
                                                       String decisionRequirementsDefinitionKey,
                                                       Boolean withoutDecisionRequirementsDefinition,
                                                       String tenantIdIn,
                                                       Boolean withoutTenantId,
                                                       Boolean includeDecisionDefinitionsWithoutTenantId,
                                                       String versionTag,
                                                       String versionTagLike,
                                                       ApiCallback _callback)
                                                throws ApiException
        Build call for getDecisionDefinitions
        Parameters:
        sortBy - Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)
        sortOrder - Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)
        firstResult - Pagination of results. Specifies the index of the first result to return. (optional)
        maxResults - Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)
        decisionDefinitionId - Filter by decision definition id. (optional)
        decisionDefinitionIdIn - Filter by decision definition ids. (optional)
        name - Filter by decision definition name. (optional)
        nameLike - Filter by decision definition names that the parameter is a substring of. (optional)
        deploymentId - Filter by the deployment the id belongs to. (optional)
        deployedAfter - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed after (exclusive) a specific time. (optional)
        deployedAt - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed at a specific time (exact match). (optional)
        key - Filter by decision definition key, i.e., the id in the DMN 1.0 XML. Exact match. (optional)
        keyLike - Filter by decision definition keys that the parameter is a substring of. (optional)
        category - Filter by decision definition category. Exact match. (optional)
        categoryLike - Filter by decision definition categories that the parameter is a substring of. (optional)
        version - Filter by decision definition version. (optional)
        latestVersion - Only include those decision definitions that are latest versions. Value may only be `true`, as `false` is the default behavior. (optional)
        resourceName - Filter by the name of the decision definition resource. Exact match. (optional)
        resourceNameLike - Filter by names of those decision definition resources that the parameter is a substring of. (optional)
        decisionRequirementsDefinitionId - Filter by the id of the decision requirements definition this decision definition belongs to. (optional)
        decisionRequirementsDefinitionKey - Filter by the key of the decision requirements definition this decision definition belongs to. (optional)
        withoutDecisionRequirementsDefinition - Only include decision definitions which does not belongs to any decision requirements definition. Value may only be `true`, as `false` is the default behavior. (optional)
        tenantIdIn - Filter by a comma-separated list of `Strings`. A decision definition must have one of the given tenant ids. (optional)
        withoutTenantId - Only include decision definitions which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)
        includeDecisionDefinitionsWithoutTenantId - Include decision definitions which belong to no tenant. Can be used in combination with `tenantIdIn`. Value may only be `true`, as `false` is the default behavior. (optional)
        versionTag - Filter by the version tag. (optional)
        versionTagLike - Filter by the version tags of those decision definition resources that the parameter is a substring of. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getDecisionDefinitions

        public List<DecisionDefinitionDto> getDecisionDefinitions​(String sortBy,
                                                                  String sortOrder,
                                                                  Integer firstResult,
                                                                  Integer maxResults,
                                                                  String decisionDefinitionId,
                                                                  String decisionDefinitionIdIn,
                                                                  String name,
                                                                  String nameLike,
                                                                  String deploymentId,
                                                                  Date deployedAfter,
                                                                  Date deployedAt,
                                                                  String key,
                                                                  String keyLike,
                                                                  String category,
                                                                  String categoryLike,
                                                                  Integer version,
                                                                  Boolean latestVersion,
                                                                  String resourceName,
                                                                  String resourceNameLike,
                                                                  String decisionRequirementsDefinitionId,
                                                                  String decisionRequirementsDefinitionKey,
                                                                  Boolean withoutDecisionRequirementsDefinition,
                                                                  String tenantIdIn,
                                                                  Boolean withoutTenantId,
                                                                  Boolean includeDecisionDefinitionsWithoutTenantId,
                                                                  String versionTag,
                                                                  String versionTagLike)
                                                           throws ApiException
        Get List Queries for decision definitions that fulfill given parameters. Parameters may be the properties of decision definitions, such as the name, key or version. The size of the result set can be retrieved by using the [Get Decision Definition Count](https://docs.camunda.org/manual/7.18/reference/rest/decision-definition/get-query-count/) method.
        Parameters:
        sortBy - Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)
        sortOrder - Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)
        firstResult - Pagination of results. Specifies the index of the first result to return. (optional)
        maxResults - Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)
        decisionDefinitionId - Filter by decision definition id. (optional)
        decisionDefinitionIdIn - Filter by decision definition ids. (optional)
        name - Filter by decision definition name. (optional)
        nameLike - Filter by decision definition names that the parameter is a substring of. (optional)
        deploymentId - Filter by the deployment the id belongs to. (optional)
        deployedAfter - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed after (exclusive) a specific time. (optional)
        deployedAt - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed at a specific time (exact match). (optional)
        key - Filter by decision definition key, i.e., the id in the DMN 1.0 XML. Exact match. (optional)
        keyLike - Filter by decision definition keys that the parameter is a substring of. (optional)
        category - Filter by decision definition category. Exact match. (optional)
        categoryLike - Filter by decision definition categories that the parameter is a substring of. (optional)
        version - Filter by decision definition version. (optional)
        latestVersion - Only include those decision definitions that are latest versions. Value may only be `true`, as `false` is the default behavior. (optional)
        resourceName - Filter by the name of the decision definition resource. Exact match. (optional)
        resourceNameLike - Filter by names of those decision definition resources that the parameter is a substring of. (optional)
        decisionRequirementsDefinitionId - Filter by the id of the decision requirements definition this decision definition belongs to. (optional)
        decisionRequirementsDefinitionKey - Filter by the key of the decision requirements definition this decision definition belongs to. (optional)
        withoutDecisionRequirementsDefinition - Only include decision definitions which does not belongs to any decision requirements definition. Value may only be `true`, as `false` is the default behavior. (optional)
        tenantIdIn - Filter by a comma-separated list of `Strings`. A decision definition must have one of the given tenant ids. (optional)
        withoutTenantId - Only include decision definitions which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)
        includeDecisionDefinitionsWithoutTenantId - Include decision definitions which belong to no tenant. Can be used in combination with `tenantIdIn`. Value may only be `true`, as `false` is the default behavior. (optional)
        versionTag - Filter by the version tag. (optional)
        versionTagLike - Filter by the version tags of those decision definition resources that the parameter is a substring of. (optional)
        Returns:
        List<DecisionDefinitionDto>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionsWithHttpInfo

        public ApiResponse<List<DecisionDefinitionDto>> getDecisionDefinitionsWithHttpInfo​(String sortBy,
                                                                                           String sortOrder,
                                                                                           Integer firstResult,
                                                                                           Integer maxResults,
                                                                                           String decisionDefinitionId,
                                                                                           String decisionDefinitionIdIn,
                                                                                           String name,
                                                                                           String nameLike,
                                                                                           String deploymentId,
                                                                                           Date deployedAfter,
                                                                                           Date deployedAt,
                                                                                           String key,
                                                                                           String keyLike,
                                                                                           String category,
                                                                                           String categoryLike,
                                                                                           Integer version,
                                                                                           Boolean latestVersion,
                                                                                           String resourceName,
                                                                                           String resourceNameLike,
                                                                                           String decisionRequirementsDefinitionId,
                                                                                           String decisionRequirementsDefinitionKey,
                                                                                           Boolean withoutDecisionRequirementsDefinition,
                                                                                           String tenantIdIn,
                                                                                           Boolean withoutTenantId,
                                                                                           Boolean includeDecisionDefinitionsWithoutTenantId,
                                                                                           String versionTag,
                                                                                           String versionTagLike)
                                                                                    throws ApiException
        Get List Queries for decision definitions that fulfill given parameters. Parameters may be the properties of decision definitions, such as the name, key or version. The size of the result set can be retrieved by using the [Get Decision Definition Count](https://docs.camunda.org/manual/7.18/reference/rest/decision-definition/get-query-count/) method.
        Parameters:
        sortBy - Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)
        sortOrder - Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)
        firstResult - Pagination of results. Specifies the index of the first result to return. (optional)
        maxResults - Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)
        decisionDefinitionId - Filter by decision definition id. (optional)
        decisionDefinitionIdIn - Filter by decision definition ids. (optional)
        name - Filter by decision definition name. (optional)
        nameLike - Filter by decision definition names that the parameter is a substring of. (optional)
        deploymentId - Filter by the deployment the id belongs to. (optional)
        deployedAfter - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed after (exclusive) a specific time. (optional)
        deployedAt - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed at a specific time (exact match). (optional)
        key - Filter by decision definition key, i.e., the id in the DMN 1.0 XML. Exact match. (optional)
        keyLike - Filter by decision definition keys that the parameter is a substring of. (optional)
        category - Filter by decision definition category. Exact match. (optional)
        categoryLike - Filter by decision definition categories that the parameter is a substring of. (optional)
        version - Filter by decision definition version. (optional)
        latestVersion - Only include those decision definitions that are latest versions. Value may only be `true`, as `false` is the default behavior. (optional)
        resourceName - Filter by the name of the decision definition resource. Exact match. (optional)
        resourceNameLike - Filter by names of those decision definition resources that the parameter is a substring of. (optional)
        decisionRequirementsDefinitionId - Filter by the id of the decision requirements definition this decision definition belongs to. (optional)
        decisionRequirementsDefinitionKey - Filter by the key of the decision requirements definition this decision definition belongs to. (optional)
        withoutDecisionRequirementsDefinition - Only include decision definitions which does not belongs to any decision requirements definition. Value may only be `true`, as `false` is the default behavior. (optional)
        tenantIdIn - Filter by a comma-separated list of `Strings`. A decision definition must have one of the given tenant ids. (optional)
        withoutTenantId - Only include decision definitions which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)
        includeDecisionDefinitionsWithoutTenantId - Include decision definitions which belong to no tenant. Can be used in combination with `tenantIdIn`. Value may only be `true`, as `false` is the default behavior. (optional)
        versionTag - Filter by the version tag. (optional)
        versionTagLike - Filter by the version tags of those decision definition resources that the parameter is a substring of. (optional)
        Returns:
        ApiResponse<List<DecisionDefinitionDto>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionsAsync

        public okhttp3.Call getDecisionDefinitionsAsync​(String sortBy,
                                                        String sortOrder,
                                                        Integer firstResult,
                                                        Integer maxResults,
                                                        String decisionDefinitionId,
                                                        String decisionDefinitionIdIn,
                                                        String name,
                                                        String nameLike,
                                                        String deploymentId,
                                                        Date deployedAfter,
                                                        Date deployedAt,
                                                        String key,
                                                        String keyLike,
                                                        String category,
                                                        String categoryLike,
                                                        Integer version,
                                                        Boolean latestVersion,
                                                        String resourceName,
                                                        String resourceNameLike,
                                                        String decisionRequirementsDefinitionId,
                                                        String decisionRequirementsDefinitionKey,
                                                        Boolean withoutDecisionRequirementsDefinition,
                                                        String tenantIdIn,
                                                        Boolean withoutTenantId,
                                                        Boolean includeDecisionDefinitionsWithoutTenantId,
                                                        String versionTag,
                                                        String versionTagLike,
                                                        ApiCallback<List<DecisionDefinitionDto>> _callback)
                                                 throws ApiException
        Get List (asynchronously) Queries for decision definitions that fulfill given parameters. Parameters may be the properties of decision definitions, such as the name, key or version. The size of the result set can be retrieved by using the [Get Decision Definition Count](https://docs.camunda.org/manual/7.18/reference/rest/decision-definition/get-query-count/) method.
        Parameters:
        sortBy - Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)
        sortOrder - Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)
        firstResult - Pagination of results. Specifies the index of the first result to return. (optional)
        maxResults - Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)
        decisionDefinitionId - Filter by decision definition id. (optional)
        decisionDefinitionIdIn - Filter by decision definition ids. (optional)
        name - Filter by decision definition name. (optional)
        nameLike - Filter by decision definition names that the parameter is a substring of. (optional)
        deploymentId - Filter by the deployment the id belongs to. (optional)
        deployedAfter - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed after (exclusive) a specific time. (optional)
        deployedAt - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed at a specific time (exact match). (optional)
        key - Filter by decision definition key, i.e., the id in the DMN 1.0 XML. Exact match. (optional)
        keyLike - Filter by decision definition keys that the parameter is a substring of. (optional)
        category - Filter by decision definition category. Exact match. (optional)
        categoryLike - Filter by decision definition categories that the parameter is a substring of. (optional)
        version - Filter by decision definition version. (optional)
        latestVersion - Only include those decision definitions that are latest versions. Value may only be `true`, as `false` is the default behavior. (optional)
        resourceName - Filter by the name of the decision definition resource. Exact match. (optional)
        resourceNameLike - Filter by names of those decision definition resources that the parameter is a substring of. (optional)
        decisionRequirementsDefinitionId - Filter by the id of the decision requirements definition this decision definition belongs to. (optional)
        decisionRequirementsDefinitionKey - Filter by the key of the decision requirements definition this decision definition belongs to. (optional)
        withoutDecisionRequirementsDefinition - Only include decision definitions which does not belongs to any decision requirements definition. Value may only be `true`, as `false` is the default behavior. (optional)
        tenantIdIn - Filter by a comma-separated list of `Strings`. A decision definition must have one of the given tenant ids. (optional)
        withoutTenantId - Only include decision definitions which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)
        includeDecisionDefinitionsWithoutTenantId - Include decision definitions which belong to no tenant. Can be used in combination with `tenantIdIn`. Value may only be `true`, as `false` is the default behavior. (optional)
        versionTag - Filter by the version tag. (optional)
        versionTagLike - Filter by the version tags of those decision definition resources that the parameter is a substring of. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getDecisionDefinitionsCountCall

        public okhttp3.Call getDecisionDefinitionsCountCall​(String decisionDefinitionId,
                                                            String decisionDefinitionIdIn,
                                                            String name,
                                                            String nameLike,
                                                            String deploymentId,
                                                            Date deployedAfter,
                                                            Date deployedAt,
                                                            String key,
                                                            String keyLike,
                                                            String category,
                                                            String categoryLike,
                                                            Integer version,
                                                            Boolean latestVersion,
                                                            String resourceName,
                                                            String resourceNameLike,
                                                            String decisionRequirementsDefinitionId,
                                                            String decisionRequirementsDefinitionKey,
                                                            Boolean withoutDecisionRequirementsDefinition,
                                                            String tenantIdIn,
                                                            Boolean withoutTenantId,
                                                            Boolean includeDecisionDefinitionsWithoutTenantId,
                                                            String versionTag,
                                                            String versionTagLike,
                                                            ApiCallback _callback)
                                                     throws ApiException
        Build call for getDecisionDefinitionsCount
        Parameters:
        decisionDefinitionId - Filter by decision definition id. (optional)
        decisionDefinitionIdIn - Filter by decision definition ids. (optional)
        name - Filter by decision definition name. (optional)
        nameLike - Filter by decision definition names that the parameter is a substring of. (optional)
        deploymentId - Filter by the deployment the id belongs to. (optional)
        deployedAfter - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed after (exclusive) a specific time. (optional)
        deployedAt - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed at a specific time (exact match). (optional)
        key - Filter by decision definition key, i.e., the id in the DMN 1.0 XML. Exact match. (optional)
        keyLike - Filter by decision definition keys that the parameter is a substring of. (optional)
        category - Filter by decision definition category. Exact match. (optional)
        categoryLike - Filter by decision definition categories that the parameter is a substring of. (optional)
        version - Filter by decision definition version. (optional)
        latestVersion - Only include those decision definitions that are latest versions. Value may only be `true`, as `false` is the default behavior. (optional)
        resourceName - Filter by the name of the decision definition resource. Exact match. (optional)
        resourceNameLike - Filter by names of those decision definition resources that the parameter is a substring of. (optional)
        decisionRequirementsDefinitionId - Filter by the id of the decision requirements definition this decision definition belongs to. (optional)
        decisionRequirementsDefinitionKey - Filter by the key of the decision requirements definition this decision definition belongs to. (optional)
        withoutDecisionRequirementsDefinition - Only include decision definitions which does not belongs to any decision requirements definition. Value may only be `true`, as `false` is the default behavior. (optional)
        tenantIdIn - Filter by a comma-separated list of `Strings`. A decision definition must have one of the given tenant ids. (optional)
        withoutTenantId - Only include decision definitions which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)
        includeDecisionDefinitionsWithoutTenantId - Include decision definitions which belong to no tenant. Can be used in combination with `tenantIdIn`. Value may only be `true`, as `false` is the default behavior. (optional)
        versionTag - Filter by the version tag. (optional)
        versionTagLike - Filter by the version tags of those decision definition resources that the parameter is a substring of. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getDecisionDefinitionsCount

        public CountResultDto getDecisionDefinitionsCount​(String decisionDefinitionId,
                                                          String decisionDefinitionIdIn,
                                                          String name,
                                                          String nameLike,
                                                          String deploymentId,
                                                          Date deployedAfter,
                                                          Date deployedAt,
                                                          String key,
                                                          String keyLike,
                                                          String category,
                                                          String categoryLike,
                                                          Integer version,
                                                          Boolean latestVersion,
                                                          String resourceName,
                                                          String resourceNameLike,
                                                          String decisionRequirementsDefinitionId,
                                                          String decisionRequirementsDefinitionKey,
                                                          Boolean withoutDecisionRequirementsDefinition,
                                                          String tenantIdIn,
                                                          Boolean withoutTenantId,
                                                          Boolean includeDecisionDefinitionsWithoutTenantId,
                                                          String versionTag,
                                                          String versionTagLike)
                                                   throws ApiException
        Get List Count Requests the number of decision definitions that fulfill the query criteria. Takes the same filtering parameters as the [Get Decision Definition](https://docs.camunda.org/manual/7.18/reference/rest/decision-definition/get-query/) method.
        Parameters:
        decisionDefinitionId - Filter by decision definition id. (optional)
        decisionDefinitionIdIn - Filter by decision definition ids. (optional)
        name - Filter by decision definition name. (optional)
        nameLike - Filter by decision definition names that the parameter is a substring of. (optional)
        deploymentId - Filter by the deployment the id belongs to. (optional)
        deployedAfter - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed after (exclusive) a specific time. (optional)
        deployedAt - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed at a specific time (exact match). (optional)
        key - Filter by decision definition key, i.e., the id in the DMN 1.0 XML. Exact match. (optional)
        keyLike - Filter by decision definition keys that the parameter is a substring of. (optional)
        category - Filter by decision definition category. Exact match. (optional)
        categoryLike - Filter by decision definition categories that the parameter is a substring of. (optional)
        version - Filter by decision definition version. (optional)
        latestVersion - Only include those decision definitions that are latest versions. Value may only be `true`, as `false` is the default behavior. (optional)
        resourceName - Filter by the name of the decision definition resource. Exact match. (optional)
        resourceNameLike - Filter by names of those decision definition resources that the parameter is a substring of. (optional)
        decisionRequirementsDefinitionId - Filter by the id of the decision requirements definition this decision definition belongs to. (optional)
        decisionRequirementsDefinitionKey - Filter by the key of the decision requirements definition this decision definition belongs to. (optional)
        withoutDecisionRequirementsDefinition - Only include decision definitions which does not belongs to any decision requirements definition. Value may only be `true`, as `false` is the default behavior. (optional)
        tenantIdIn - Filter by a comma-separated list of `Strings`. A decision definition must have one of the given tenant ids. (optional)
        withoutTenantId - Only include decision definitions which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)
        includeDecisionDefinitionsWithoutTenantId - Include decision definitions which belong to no tenant. Can be used in combination with `tenantIdIn`. Value may only be `true`, as `false` is the default behavior. (optional)
        versionTag - Filter by the version tag. (optional)
        versionTagLike - Filter by the version tags of those decision definition resources that the parameter is a substring of. (optional)
        Returns:
        CountResultDto
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionsCountWithHttpInfo

        public ApiResponse<CountResultDto> getDecisionDefinitionsCountWithHttpInfo​(String decisionDefinitionId,
                                                                                   String decisionDefinitionIdIn,
                                                                                   String name,
                                                                                   String nameLike,
                                                                                   String deploymentId,
                                                                                   Date deployedAfter,
                                                                                   Date deployedAt,
                                                                                   String key,
                                                                                   String keyLike,
                                                                                   String category,
                                                                                   String categoryLike,
                                                                                   Integer version,
                                                                                   Boolean latestVersion,
                                                                                   String resourceName,
                                                                                   String resourceNameLike,
                                                                                   String decisionRequirementsDefinitionId,
                                                                                   String decisionRequirementsDefinitionKey,
                                                                                   Boolean withoutDecisionRequirementsDefinition,
                                                                                   String tenantIdIn,
                                                                                   Boolean withoutTenantId,
                                                                                   Boolean includeDecisionDefinitionsWithoutTenantId,
                                                                                   String versionTag,
                                                                                   String versionTagLike)
                                                                            throws ApiException
        Get List Count Requests the number of decision definitions that fulfill the query criteria. Takes the same filtering parameters as the [Get Decision Definition](https://docs.camunda.org/manual/7.18/reference/rest/decision-definition/get-query/) method.
        Parameters:
        decisionDefinitionId - Filter by decision definition id. (optional)
        decisionDefinitionIdIn - Filter by decision definition ids. (optional)
        name - Filter by decision definition name. (optional)
        nameLike - Filter by decision definition names that the parameter is a substring of. (optional)
        deploymentId - Filter by the deployment the id belongs to. (optional)
        deployedAfter - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed after (exclusive) a specific time. (optional)
        deployedAt - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed at a specific time (exact match). (optional)
        key - Filter by decision definition key, i.e., the id in the DMN 1.0 XML. Exact match. (optional)
        keyLike - Filter by decision definition keys that the parameter is a substring of. (optional)
        category - Filter by decision definition category. Exact match. (optional)
        categoryLike - Filter by decision definition categories that the parameter is a substring of. (optional)
        version - Filter by decision definition version. (optional)
        latestVersion - Only include those decision definitions that are latest versions. Value may only be `true`, as `false` is the default behavior. (optional)
        resourceName - Filter by the name of the decision definition resource. Exact match. (optional)
        resourceNameLike - Filter by names of those decision definition resources that the parameter is a substring of. (optional)
        decisionRequirementsDefinitionId - Filter by the id of the decision requirements definition this decision definition belongs to. (optional)
        decisionRequirementsDefinitionKey - Filter by the key of the decision requirements definition this decision definition belongs to. (optional)
        withoutDecisionRequirementsDefinition - Only include decision definitions which does not belongs to any decision requirements definition. Value may only be `true`, as `false` is the default behavior. (optional)
        tenantIdIn - Filter by a comma-separated list of `Strings`. A decision definition must have one of the given tenant ids. (optional)
        withoutTenantId - Only include decision definitions which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)
        includeDecisionDefinitionsWithoutTenantId - Include decision definitions which belong to no tenant. Can be used in combination with `tenantIdIn`. Value may only be `true`, as `false` is the default behavior. (optional)
        versionTag - Filter by the version tag. (optional)
        versionTagLike - Filter by the version tags of those decision definition resources that the parameter is a substring of. (optional)
        Returns:
        ApiResponse<CountResultDto>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDecisionDefinitionsCountAsync

        public okhttp3.Call getDecisionDefinitionsCountAsync​(String decisionDefinitionId,
                                                             String decisionDefinitionIdIn,
                                                             String name,
                                                             String nameLike,
                                                             String deploymentId,
                                                             Date deployedAfter,
                                                             Date deployedAt,
                                                             String key,
                                                             String keyLike,
                                                             String category,
                                                             String categoryLike,
                                                             Integer version,
                                                             Boolean latestVersion,
                                                             String resourceName,
                                                             String resourceNameLike,
                                                             String decisionRequirementsDefinitionId,
                                                             String decisionRequirementsDefinitionKey,
                                                             Boolean withoutDecisionRequirementsDefinition,
                                                             String tenantIdIn,
                                                             Boolean withoutTenantId,
                                                             Boolean includeDecisionDefinitionsWithoutTenantId,
                                                             String versionTag,
                                                             String versionTagLike,
                                                             ApiCallback<CountResultDto> _callback)
                                                      throws ApiException
        Get List Count (asynchronously) Requests the number of decision definitions that fulfill the query criteria. Takes the same filtering parameters as the [Get Decision Definition](https://docs.camunda.org/manual/7.18/reference/rest/decision-definition/get-query/) method.
        Parameters:
        decisionDefinitionId - Filter by decision definition id. (optional)
        decisionDefinitionIdIn - Filter by decision definition ids. (optional)
        name - Filter by decision definition name. (optional)
        nameLike - Filter by decision definition names that the parameter is a substring of. (optional)
        deploymentId - Filter by the deployment the id belongs to. (optional)
        deployedAfter - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed after (exclusive) a specific time. (optional)
        deployedAt - Filter by the deploy time of the deployment the decision definition belongs to. Only selects decision definitions that have been deployed at a specific time (exact match). (optional)
        key - Filter by decision definition key, i.e., the id in the DMN 1.0 XML. Exact match. (optional)
        keyLike - Filter by decision definition keys that the parameter is a substring of. (optional)
        category - Filter by decision definition category. Exact match. (optional)
        categoryLike - Filter by decision definition categories that the parameter is a substring of. (optional)
        version - Filter by decision definition version. (optional)
        latestVersion - Only include those decision definitions that are latest versions. Value may only be `true`, as `false` is the default behavior. (optional)
        resourceName - Filter by the name of the decision definition resource. Exact match. (optional)
        resourceNameLike - Filter by names of those decision definition resources that the parameter is a substring of. (optional)
        decisionRequirementsDefinitionId - Filter by the id of the decision requirements definition this decision definition belongs to. (optional)
        decisionRequirementsDefinitionKey - Filter by the key of the decision requirements definition this decision definition belongs to. (optional)
        withoutDecisionRequirementsDefinition - Only include decision definitions which does not belongs to any decision requirements definition. Value may only be `true`, as `false` is the default behavior. (optional)
        tenantIdIn - Filter by a comma-separated list of `Strings`. A decision definition must have one of the given tenant ids. (optional)
        withoutTenantId - Only include decision definitions which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior. (optional)
        includeDecisionDefinitionsWithoutTenantId - Include decision definitions which belong to no tenant. Can be used in combination with `tenantIdIn`. Value may only be `true`, as `false` is the default behavior. (optional)
        versionTag - Filter by the version tag. (optional)
        versionTagLike - Filter by the version tags of those decision definition resources that the parameter is a substring of. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • updateHistoryTimeToLiveByDecisionDefinitionIdCall

        public okhttp3.Call updateHistoryTimeToLiveByDecisionDefinitionIdCall​(String id,
                                                                              HistoryTimeToLiveDto historyTimeToLiveDto,
                                                                              ApiCallback _callback)
                                                                       throws ApiException
        Build call for updateHistoryTimeToLiveByDecisionDefinitionId
        Parameters:
        id - The id of the decision definition to change history time to live. (required)
        historyTimeToLiveDto - (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • updateHistoryTimeToLiveByDecisionDefinitionId

        public void updateHistoryTimeToLiveByDecisionDefinitionId​(String id,
                                                                  HistoryTimeToLiveDto historyTimeToLiveDto)
                                                           throws ApiException
        Update History Time to Live Updates history time to live for decision definition. The field is used within [History cleanup](https://docs.camunda.org/manual/7.18/user-guide/process-engine/history/#history-cleanup).
        Parameters:
        id - The id of the decision definition to change history time to live. (required)
        historyTimeToLiveDto - (optional)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateHistoryTimeToLiveByDecisionDefinitionIdWithHttpInfo

        public ApiResponse<Void> updateHistoryTimeToLiveByDecisionDefinitionIdWithHttpInfo​(String id,
                                                                                           HistoryTimeToLiveDto historyTimeToLiveDto)
                                                                                    throws ApiException
        Update History Time to Live Updates history time to live for decision definition. The field is used within [History cleanup](https://docs.camunda.org/manual/7.18/user-guide/process-engine/history/#history-cleanup).
        Parameters:
        id - The id of the decision definition to change history time to live. (required)
        historyTimeToLiveDto - (optional)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateHistoryTimeToLiveByDecisionDefinitionIdAsync

        public okhttp3.Call updateHistoryTimeToLiveByDecisionDefinitionIdAsync​(String id,
                                                                               HistoryTimeToLiveDto historyTimeToLiveDto,
                                                                               ApiCallback<Void> _callback)
                                                                        throws ApiException
        Update History Time to Live (asynchronously) Updates history time to live for decision definition. The field is used within [History cleanup](https://docs.camunda.org/manual/7.18/user-guide/process-engine/history/#history-cleanup).
        Parameters:
        id - The id of the decision definition to change history time to live. (required)
        historyTimeToLiveDto - (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • updateHistoryTimeToLiveByDecisionDefinitionKeyCall

        public okhttp3.Call updateHistoryTimeToLiveByDecisionDefinitionKeyCall​(String key,
                                                                               HistoryTimeToLiveDto historyTimeToLiveDto,
                                                                               ApiCallback _callback)
                                                                        throws ApiException
        Build call for updateHistoryTimeToLiveByDecisionDefinitionKey
        Parameters:
        key - The key of the decision definitions to change history time to live. (required)
        historyTimeToLiveDto - (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • updateHistoryTimeToLiveByDecisionDefinitionKey

        public void updateHistoryTimeToLiveByDecisionDefinitionKey​(String key,
                                                                   HistoryTimeToLiveDto historyTimeToLiveDto)
                                                            throws ApiException
        Update History Time to Live By Key Updates the latest version of the decision definition which belongs to no tenant. The field is used within [History cleanup](https://docs.camunda.org/manual/7.18/user-guide/process-engine/history/#history-cleanup).
        Parameters:
        key - The key of the decision definitions to change history time to live. (required)
        historyTimeToLiveDto - (optional)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateHistoryTimeToLiveByDecisionDefinitionKeyWithHttpInfo

        public ApiResponse<Void> updateHistoryTimeToLiveByDecisionDefinitionKeyWithHttpInfo​(String key,
                                                                                            HistoryTimeToLiveDto historyTimeToLiveDto)
                                                                                     throws ApiException
        Update History Time to Live By Key Updates the latest version of the decision definition which belongs to no tenant. The field is used within [History cleanup](https://docs.camunda.org/manual/7.18/user-guide/process-engine/history/#history-cleanup).
        Parameters:
        key - The key of the decision definitions to change history time to live. (required)
        historyTimeToLiveDto - (optional)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateHistoryTimeToLiveByDecisionDefinitionKeyAsync

        public okhttp3.Call updateHistoryTimeToLiveByDecisionDefinitionKeyAsync​(String key,
                                                                                HistoryTimeToLiveDto historyTimeToLiveDto,
                                                                                ApiCallback<Void> _callback)
                                                                         throws ApiException
        Update History Time to Live By Key (asynchronously) Updates the latest version of the decision definition which belongs to no tenant. The field is used within [History cleanup](https://docs.camunda.org/manual/7.18/user-guide/process-engine/history/#history-cleanup).
        Parameters:
        key - The key of the decision definitions to change history time to live. (required)
        historyTimeToLiveDto - (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • updateHistoryTimeToLiveByDecisionDefinitionKeyAndTenantCall

        public okhttp3.Call updateHistoryTimeToLiveByDecisionDefinitionKeyAndTenantCall​(String key,
                                                                                        String tenantId,
                                                                                        HistoryTimeToLiveDto historyTimeToLiveDto,
                                                                                        ApiCallback _callback)
                                                                                 throws ApiException
        Build call for updateHistoryTimeToLiveByDecisionDefinitionKeyAndTenant
        Parameters:
        key - The key of the decision definitions to change history time to live. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        historyTimeToLiveDto - (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • updateHistoryTimeToLiveByDecisionDefinitionKeyAndTenant

        public void updateHistoryTimeToLiveByDecisionDefinitionKeyAndTenant​(String key,
                                                                            String tenantId,
                                                                            HistoryTimeToLiveDto historyTimeToLiveDto)
                                                                     throws ApiException
        Update History Time to Live By Key And Tenant Updates the latest version of the decision definition for tenant. The field is used within [History cleanup](https://docs.camunda.org/manual/7.18/user-guide/process-engine/history/#history-cleanup).
        Parameters:
        key - The key of the decision definitions to change history time to live. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        historyTimeToLiveDto - (optional)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateHistoryTimeToLiveByDecisionDefinitionKeyAndTenantWithHttpInfo

        public ApiResponse<Void> updateHistoryTimeToLiveByDecisionDefinitionKeyAndTenantWithHttpInfo​(String key,
                                                                                                     String tenantId,
                                                                                                     HistoryTimeToLiveDto historyTimeToLiveDto)
                                                                                              throws ApiException
        Update History Time to Live By Key And Tenant Updates the latest version of the decision definition for tenant. The field is used within [History cleanup](https://docs.camunda.org/manual/7.18/user-guide/process-engine/history/#history-cleanup).
        Parameters:
        key - The key of the decision definitions to change history time to live. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        historyTimeToLiveDto - (optional)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateHistoryTimeToLiveByDecisionDefinitionKeyAndTenantAsync

        public okhttp3.Call updateHistoryTimeToLiveByDecisionDefinitionKeyAndTenantAsync​(String key,
                                                                                         String tenantId,
                                                                                         HistoryTimeToLiveDto historyTimeToLiveDto,
                                                                                         ApiCallback<Void> _callback)
                                                                                  throws ApiException
        Update History Time to Live By Key And Tenant (asynchronously) Updates the latest version of the decision definition for tenant. The field is used within [History cleanup](https://docs.camunda.org/manual/7.18/user-guide/process-engine/history/#history-cleanup).
        Parameters:
        key - The key of the decision definitions to change history time to live. (required)
        tenantId - The id of the tenant the decision definition belongs to. (required)
        historyTimeToLiveDto - (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object