/*
 * 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.CustomFieldTemplateDto;
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 CustomFieldTemplateApi
 */
@Ignore
public class CustomFieldTemplateApiTest {

    private final CustomFieldTemplateApi api = new CustomFieldTemplateApi();

    
    /**
     *  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 dELETECustomFieldTemplateCustomFieldTemplateCodeAppliesTo1Test() throws ApiException {
        String customFieldTemplateCode = null;
        String appliesTo = null;
        ActionStatus response = api.dELETECustomFieldTemplateCustomFieldTemplateCodeAppliesTo1(customFieldTemplateCode, appliesTo);

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

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

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

        // 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 pOSTCustomFieldTemplateCreateOrUpdate1Test() throws ApiException {
        CustomFieldTemplateDto customFieldTemplateDto = null;
        ActionStatus response = api.pOSTCustomFieldTemplateCreateOrUpdate1(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 pOSTCustomFieldTemplateCustomFieldTemplateCodeAppliesToDisable1Test() throws ApiException {
        String customFieldTemplateCode = null;
        String appliesTo = null;
        ActionStatus response = api.pOSTCustomFieldTemplateCustomFieldTemplateCodeAppliesToDisable1(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 pOSTCustomFieldTemplateCustomFieldTemplateCodeAppliesToEnable1Test() throws ApiException {
        String customFieldTemplateCode = null;
        String appliesTo = null;
        ActionStatus response = api.pOSTCustomFieldTemplateCustomFieldTemplateCodeAppliesToEnable1(customFieldTemplateCode, appliesTo);

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

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

        // TODO: test validations
    }
    
}
