/*
 * 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.ContactDto;
import org.openapitools.client.model.ContactsResponseDto;
import org.openapitools.client.model.GetContactResponseDto;
import org.openapitools.client.model.PagingAndFiltering;
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 ContactApi
 */
@Ignore
public class ContactApiTest {

    private final ContactApi api = new ContactApi();

    
    /**
     *  Delete a contact with a given code 
     *
     *  Delete a contact with a given code 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void dELETEContactCode1Test() throws ApiException {
        String code = null;
        ActionStatus response = api.dELETEContactCode1(code);

        // TODO: test validations
    }
    
    /**
     *  Delete a tag to a contact with his code 
     *
     *  Delete a tag to a contact with his code 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void dELETEContactCodeTag1Test() throws ApiException {
        String code = null;
        String tag = null;
        ActionStatus response = api.dELETEContactCodeTag1(code, tag);

        // TODO: test validations
    }
    
    /**
     *  List contacts matching a given criteria 
     *
     *  List contacts matching a given criteria 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETContactList1Test() throws ApiException {
        String query = null;
        String fields = null;
        Integer offset = null;
        Integer limit = null;
        String sortBy = null;
        String sortOrder = null;
        String inheritCF = null;
        ContactsResponseDto response = api.gETContactList1(query, fields, offset, limit, sortBy, sortOrder, inheritCF);

        // TODO: test validations
    }
    
    /**
     *  Find a contact with a given code 
     *
     *  Find a contact with a given code 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETContactSearch1Test() throws ApiException {
        String code = null;
        GetContactResponseDto response = api.gETContactSearch1(code);

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

        // TODO: test validations
    }
    
    /**
     *  Create a new CRM Contact  
     *
     *  Create a new CRM Contact  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTContactCreate1Test() throws ApiException {
        ContactDto contactDto = null;
        ActionStatus response = api.pOSTContactCreate1(contactDto);

        // TODO: test validations
    }
    
    /**
     *  Create or update a CRM contact  
     *
     *  Create or update a CRM contact  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTContactCreateOrUpdate1Test() throws ApiException {
        ContactDto contactDto = null;
        ActionStatus response = api.pOSTContactCreateOrUpdate1(contactDto);

        // TODO: test validations
    }
    
    /**
     *  Import the contact list from a file 
     *
     *  Import the contact list from a file 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTContactImportCSVFile1Test() throws ApiException {
        ActionStatus response = api.pOSTContactImportCSVFile1();

        // TODO: test validations
    }
    
    /**
     *  Import the contact list to a CSV file text 
     *
     *  Import the contact list to a CSV file text 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTContactImportCSVText1Test() throws ApiException {
        String body = null;
        ContactsResponseDto response = api.pOSTContactImportCSVText1(body);

        // TODO: test validations
    }
    
    /**
     *  Retrieve a list by using paging and filter option 
     *
     *  Retrieve a list by using paging and filter option 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTContactList1Test() throws ApiException {
        PagingAndFiltering pagingAndFiltering = null;
        ContactsResponseDto response = api.pOSTContactList1(pagingAndFiltering);

        // TODO: test validations
    }
    
    /**
     *  Add a tag to a contact with his code 
     *
     *  Add a tag to a contact with his code 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pUTContactCodeTag1Test() throws ApiException {
        String code = null;
        String tag = null;
        ActionStatus response = api.pUTContactCodeTag1(code, tag);

        // TODO: test validations
    }
    
    /**
     *  Update a contact CRM informatopn 
     *
     *  Update a contact CRM informatopn 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pUTContactUpdate1Test() throws ApiException {
        ContactDto contactDto = null;
        ActionStatus response = api.pUTContactUpdate1(contactDto);

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

        // TODO: test validations
    }
    
}
