/*
 * Swagger of Opencellsoft Api
 * @#Introduction
 *
 * The version of the OpenAPI document: 7.3.1-SNAPSHOT
 * Contact: contact@opencellsoft.fr
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package org.openapitools.client.api;

import org.openapitools.client.ApiException;
import org.openapitools.client.model.ActionStatus;
import org.openapitools.client.model.BusinessEntityResponseDto;
import org.openapitools.client.model.CustomEntityTemplateDto;
import org.openapitools.client.model.CustomEntityTemplateResponseDto;
import org.openapitools.client.model.CustomEntityTemplatesResponseDto;
import org.openapitools.client.model.CustomFieldTemplateDto;
import org.openapitools.client.model.EntityCustomActionDto;
import org.openapitools.client.model.EntityCustomActionResponseDto;
import org.openapitools.client.model.EntityCustomizationDto;
import org.openapitools.client.model.EntityCustomizationResponseDto;
import org.openapitools.client.model.GetCustomFieldTemplateReponseDto;
import org.junit.Test;
import org.junit.Ignore;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * API tests for EntityCustomizationApi
 */
@Ignore
public class EntityCustomizationApiTest {

    private final EntityCustomizationApi api = new EntityCustomizationApi();

    
    /**
     *  Remove entity action definition given its code and entity it applies to  
     *
     *  Remove entity action definition given its code and entity it applies to  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void dELETEEntityCustomizationActionActionCodeAppliesTo1Test() throws ApiException {
        String actionCode = null;
        String appliesTo = null;
        ActionStatus response = api.dELETEEntityCustomizationActionActionCodeAppliesTo1(actionCode, appliesTo);

        // TODO: test validations
    }
    
    /**
     *  Remove custom entity template definition given its code  
     *
     *  Remove custom entity template definition given its code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void dELETEEntityCustomizationEntityCustomEntityTemplateCode1Test() throws ApiException {
        String customEntityTemplateCode = null;
        ActionStatus response = api.dELETEEntityCustomizationEntityCustomEntityTemplateCode1(customEntityTemplateCode);

        // TODO: test validations
    }
    
    /**
     *  Remove custom field definition given its code and entity it applies to  
     *
     *  Remove custom field definition given its code and entity it applies to  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void dELETEEntityCustomizationFieldCustomFieldTemplateCodeAppliesTo1Test() throws ApiException {
        String customFieldTemplateCode = null;
        String appliesTo = null;
        ActionStatus response = api.dELETEEntityCustomizationFieldCustomFieldTemplateCodeAppliesTo1(customFieldTemplateCode, appliesTo);

        // TODO: test validations
    }
    
    /**
     *  Get entity action definition  
     *
     *  Get entity action definition  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETEntityCustomizationAction1Test() throws ApiException {
        String actionCode = null;
        String appliesTo = null;
        EntityCustomActionResponseDto response = api.gETEntityCustomizationAction1(actionCode, appliesTo);

        // TODO: test validations
    }
    
    /**
     *  Get customizations made on a standard Meveo entity given its class  
     *
     *  Get customizations made on a standard Meveo entity given its class  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETEntityCustomizationCustomizeCustomizedEntityClass1Test() throws ApiException {
        String customizedEntityClass = null;
        EntityCustomizationResponseDto response = api.gETEntityCustomizationCustomizeCustomizedEntityClass1(customizedEntityClass);

        // TODO: test validations
    }
    
    /**
     *  Get custom entity template definition including its fields and applicable actions  
     *
     *  Get custom entity template definition including its fields and applicable actions  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETEntityCustomizationEntityCustomEntityTemplateCode1Test() throws ApiException {
        String customEntityTemplateCode = null;
        CustomEntityTemplateResponseDto response = api.gETEntityCustomizationEntityCustomEntityTemplateCode1(customEntityTemplateCode);

        // TODO: test validations
    }
    
    /**
     *  List custom entity templates.  
     *
     *  List custom entity templates.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETEntityCustomizationEntityList1Test() throws ApiException {
        String customEntityTemplateCode = null;
        CustomEntityTemplatesResponseDto response = api.gETEntityCustomizationEntityList1(customEntityTemplateCode);

        // TODO: test validations
    }
    
    /**
     *  Returns a list of filtered CustomFieldTemplate of an entity. The list of entity is evaluted againsts the entity with the given code.  
     *
     *  Returns a list of filtered CustomFieldTemplate of an entity. The list of entity is evaluted againsts the entity with the given code.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETEntityCustomizationEntityListELFiltered1Test() throws ApiException {
        String appliesTo = null;
        String entityCode = null;
        EntityCustomizationResponseDto response = api.gETEntityCustomizationEntityListELFiltered1(appliesTo, entityCode);

        // TODO: test validations
    }
    
    /**
     *  Get custom field definition  
     *
     *  Get custom field definition  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETEntityCustomizationField1Test() throws ApiException {
        String customFieldTemplateCode = null;
        String appliesTo = null;
        GetCustomFieldTemplateReponseDto response = api.gETEntityCustomizationField1(customFieldTemplateCode, appliesTo);

        // TODO: test validations
    }
    
    /**
     *  Returns a List of BusinessEntities given a CustomFieldTemplate code
     *
     *  Returns a List of BusinessEntities given a CustomFieldTemplate code. The CustomFieldTemplate is pulled from the database and entityClass is use in query. For example entity class is of type OfferTemplate, then it will return a list of OfferTemplates.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETEntityCustomizationListBusinessEntityForCFVByCode1Test() throws ApiException {
        String code = null;
        String wildcode = null;
        BusinessEntityResponseDto response = api.gETEntityCustomizationListBusinessEntityForCFVByCode1(code, wildcode);

        // TODO: test validations
    }
    
    /**
     *  Get version of application  
     *
     *  Get version of application  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETIBaseVersion67Test() throws ApiException {
        ActionStatus response = api.gETIBaseVersion67();

        // TODO: test validations
    }
    
    /**
     *  Define a new entity action  
     *
     *  Define a new entity action  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTEntityCustomizationAction1Test() throws ApiException {
        EntityCustomActionDto entityCustomActionDto = null;
        ActionStatus response = api.pOSTEntityCustomizationAction1(entityCustomActionDto);

        // TODO: test validations
    }
    
    /**
     *  Define new or update existing entity action definition  
     *
     *  Define new or update existing entity action definition  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTEntityCustomizationActionCreateOrUpdate1Test() throws ApiException {
        EntityCustomActionDto entityCustomActionDto = null;
        ActionStatus response = api.pOSTEntityCustomizationActionCreateOrUpdate1(entityCustomActionDto);

        // TODO: test validations
    }
    
    /**
     *  To be sure the compatibility of above method we will create a new one. Define new or update existing custom entity template definition  
     *
     *  To be sure the compatibility of above method we will create a new one. Define new or update existing custom entity template definition  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTEntityCustomizationCetCreateOrUpdate1Test() throws ApiException {
        CustomEntityTemplateDto customEntityTemplateDto = null;
        ActionStatus response = api.pOSTEntityCustomizationCetCreateOrUpdate1(customEntityTemplateDto);

        // TODO: test validations
    }
    
    /**
     *  Define a new custom entity template including fields and applicable actions  
     *
     *  Define a new custom entity template including fields and applicable actions  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTEntityCustomizationEntity1Test() throws ApiException {
        CustomEntityTemplateDto customEntityTemplateDto = null;
        ActionStatus response = api.pOSTEntityCustomizationEntity1(customEntityTemplateDto);

        // TODO: test validations
    }
    
    /**
     *  Execute and action of a given entity  
     *
     *  Execute and action of a given entity  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTEntityCustomizationEntityActionExecuteActionCodeAppliesToEntityCode1Test() throws ApiException {
        String actionCode = null;
        String appliesTo = null;
        String entityCode = null;
        ActionStatus response = api.pOSTEntityCustomizationEntityActionExecuteActionCodeAppliesToEntityCode1(actionCode, appliesTo, entityCode);

        // TODO: test validations
    }
    
    /**
     *  Disable a Custom entity template with a given code  
     *
     *  Disable a Custom entity template with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTEntityCustomizationEntityCodeDisable1Test() throws ApiException {
        String code = null;
        ActionStatus response = api.pOSTEntityCustomizationEntityCodeDisable1(code);

        // TODO: test validations
    }
    
    /**
     *  Enable a Custom entity template with a given code  
     *
     *  Enable a Custom entity template with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTEntityCustomizationEntityCodeEnable1Test() throws ApiException {
        String code = null;
        ActionStatus response = api.pOSTEntityCustomizationEntityCodeEnable1(code);

        // TODO: test validations
    }
    
    /**
     *  Define new or update existing custom entity template definition  
     *
     *  Define new or update existing custom entity template definition  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTEntityCustomizationEntityCreateOrUpdate1Test() throws ApiException {
        CustomEntityTemplateDto customEntityTemplateDto = null;
        ActionStatus response = api.pOSTEntityCustomizationEntityCreateOrUpdate1(customEntityTemplateDto);

        // TODO: test validations
    }
    
    /**
     *  Define a new custom field  
     *
     *  Define a new custom field  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTEntityCustomizationField1Test() throws ApiException {
        CustomFieldTemplateDto customFieldTemplateDto = null;
        ActionStatus response = api.pOSTEntityCustomizationField1(customFieldTemplateDto);

        // TODO: test validations
    }
    
    /**
     *  Disable a Entity action with a given code  
     *
     *  Disable a Entity action with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTEntityCustomizationFieldActionCodeAppliesToDisable1Test() throws ApiException {
        String actionCode = null;
        String appliesTo = null;
        ActionStatus response = api.pOSTEntityCustomizationFieldActionCodeAppliesToDisable1(actionCode, appliesTo);

        // TODO: test validations
    }
    
    /**
     *  Enable a Entity action with a given code  
     *
     *  Enable a Entity action with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTEntityCustomizationFieldActionCodeAppliesToEnable1Test() throws ApiException {
        String actionCode = null;
        String appliesTo = null;
        ActionStatus response = api.pOSTEntityCustomizationFieldActionCodeAppliesToEnable1(actionCode, appliesTo);

        // TODO: test validations
    }
    
    /**
     *  Define new or update existing custom field definition  
     *
     *  Define new or update existing custom field definition  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTEntityCustomizationFieldCreateOrUpdate1Test() throws ApiException {
        CustomFieldTemplateDto customFieldTemplateDto = null;
        ActionStatus response = api.pOSTEntityCustomizationFieldCreateOrUpdate1(customFieldTemplateDto);

        // TODO: test validations
    }
    
    /**
     *  Disable a Custom field template with a given code  
     *
     *  Disable a Custom field template with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTEntityCustomizationFieldCustomFieldTemplateCodeAppliesToDisable1Test() throws ApiException {
        String customFieldTemplateCode = null;
        String appliesTo = null;
        ActionStatus response = api.pOSTEntityCustomizationFieldCustomFieldTemplateCodeAppliesToDisable1(customFieldTemplateCode, appliesTo);

        // TODO: test validations
    }
    
    /**
     *  Enable a Custom field template with a given code  
     *
     *  Enable a Custom field template with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTEntityCustomizationFieldCustomFieldTemplateCodeAppliesToEnable1Test() throws ApiException {
        String customFieldTemplateCode = null;
        String appliesTo = null;
        ActionStatus response = api.pOSTEntityCustomizationFieldCustomFieldTemplateCodeAppliesToEnable1(customFieldTemplateCode, appliesTo);

        // TODO: test validations
    }
    
    /**
     *  Update existing entity action definition  
     *
     *  Update existing entity action definition  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pUTEntityCustomizationAction1Test() throws ApiException {
        EntityCustomActionDto entityCustomActionDto = null;
        ActionStatus response = api.pUTEntityCustomizationAction1(entityCustomActionDto);

        // TODO: test validations
    }
    
    /**
     *  Customize a standard Meveo entity definition by adding fields and/or custom actions  
     *
     *  Customize a standard Meveo entity definition by adding fields and/or custom actions  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pUTEntityCustomizationCustomize1Test() throws ApiException {
        EntityCustomizationDto entityCustomizationDto = null;
        ActionStatus response = api.pUTEntityCustomizationCustomize1(entityCustomizationDto);

        // TODO: test validations
    }
    
    /**
     *  Update custom entity template definition  
     *
     *  Update custom entity template definition  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pUTEntityCustomizationEntity1Test() throws ApiException {
        CustomEntityTemplateDto customEntityTemplateDto = null;
        ActionStatus response = api.pUTEntityCustomizationEntity1(customEntityTemplateDto);

        // TODO: test validations
    }
    
    /**
     *  Update existing custom field definition  
     *
     *  Update existing custom field definition  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pUTEntityCustomizationField1Test() throws ApiException {
        CustomFieldTemplateDto customFieldTemplateDto = null;
        ActionStatus response = api.pUTEntityCustomizationField1(customFieldTemplateDto);

        // TODO: test validations
    }
    
    /**
     * 
     *
     * 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void user42Test() throws ApiException {
        ActionStatus response = api.user42();

        // TODO: test validations
    }
    
}
