/*
 * 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.JobCategoriesResponseDto;
import org.openapitools.client.model.JobExecutionResultResponseDto;
import org.openapitools.client.model.JobInstanceDto;
import org.openapitools.client.model.JobInstanceInfoDto;
import org.openapitools.client.model.JobInstanceListResponseDto;
import org.openapitools.client.model.JobInstanceResponseDto;
import org.openapitools.client.model.TimerEntityDto;
import org.openapitools.client.model.TimerEntityResponseDto;
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 JobApi
 */
@Ignore
public class JobApiTest {

    private final JobApi api = new JobApi();

    
    /**
     *  Remove an existing job instance with a given code   
     *
     *  Remove an existing job instance with a given code   
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void dELETEJobJobInstanceCode1Test() throws ApiException {
        String jobInstanceCode = null;
        ActionStatus response = api.dELETEJobJobInstanceCode1(jobInstanceCode);

        // TODO: test validations
    }
    
    /**
     *  Remove an existing timer with a given code   
     *
     *  Remove an existing timer with a given code   
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void dELETEJobTimerTimerCode1Test() throws ApiException {
        String timerCode = null;
        ActionStatus response = api.dELETEJobTimerTimerCode1(timerCode);

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

        // TODO: test validations
    }
    
    /**
     *  Find a job execution result with a given id   
     *
     *  Find a job execution result with a given id   
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETJobJobReport1Test() throws ApiException {
        String code = null;
        Long id = null;
        JobExecutionResultResponseDto response = api.gETJobJobReport1(code, id);

        // TODO: test validations
    }
    
    /**
     *  Deprecated in v.4.7.2 Use /list instead.  
     *
     *  Deprecated in v.4.7.2 Use /list instead.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETJobList1Test() throws ApiException {
        Integer offset = null;
        Integer limit = null;
        Boolean mergedCF = null;
        String sortBy = null;
        String sortOrder = null;
        JobInstanceListResponseDto response = api.gETJobList1(offset, limit, mergedCF, sortBy, sortOrder);

        // TODO: test validations
    }
    
    /**
     *  List job categories  
     *
     *  List job categories  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETJobListCategories1Test() throws ApiException {
        JobCategoriesResponseDto response = api.gETJobListCategories1();

        // TODO: test validations
    }
    
    /**
     *  Find a job instance with a given code   
     *
     *  Find a job instance with a given code   
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETJobSearch1Test() throws ApiException {
        String jobInstanceCode = null;
        JobInstanceResponseDto response = api.gETJobSearch1(jobInstanceCode);

        // TODO: test validations
    }
    
    /**
     *  Find a timer with a given code   
     *
     *  Find a timer with a given code   
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETJobTimer1Test() throws ApiException {
        String timerCode = null;
        TimerEntityResponseDto response = api.gETJobTimer1(timerCode);

        // TODO: test validations
    }
    
    /**
     *  Create a new job instance  
     *
     *  Create a new job instance  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTJobCreate1Test() throws ApiException {
        JobInstanceDto jobInstanceDto = null;
        ActionStatus response = api.pOSTJobCreate1(jobInstanceDto);

        // TODO: test validations
    }
    
    /**
     *  Create new or update an existing job instance with a given code  
     *
     *  Create new or update an existing job instance with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTJobCreateOrUpdate1Test() throws ApiException {
        JobInstanceDto jobInstanceDto = null;
        ActionStatus response = api.pOSTJobCreateOrUpdate1(jobInstanceDto);

        // TODO: test validations
    }
    
    /**
     *  Execute a given job instance info   
     *
     *  Execute a given job instance info   
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTJobExecute1Test() throws ApiException {
        JobInstanceInfoDto jobInstanceInfoDto = null;
        JobExecutionResultResponseDto response = api.pOSTJobExecute1(jobInstanceInfoDto);

        // TODO: test validations
    }
    
    /**
     *  Stop a given job instance info   
     *
     *  Stop a given job instance info   
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTJobStopJobInstanceCode1Test() throws ApiException {
        String jobInstanceCode = null;
        ActionStatus response = api.pOSTJobStopJobInstanceCode1(jobInstanceCode);

        // TODO: test validations
    }
    
    /**
     *  Create a new timer entity  
     *
     *  Create a new timer entity  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTJobTimer1Test() throws ApiException {
        TimerEntityDto timerEntityDto = null;
        ActionStatus response = api.pOSTJobTimer1(timerEntityDto);

        // TODO: test validations
    }
    
    /**
     *  Create new or update an existing timer entity with a given code  
     *
     *  Create new or update an existing timer entity with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTJobTimerCreateOrUpdate1Test() throws ApiException {
        TimerEntityDto timerEntityDto = null;
        ActionStatus response = api.pOSTJobTimerCreateOrUpdate1(timerEntityDto);

        // TODO: test validations
    }
    
    /**
     *  Update an existing timer entity  
     *
     *  Update an existing timer entity  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pUTJobTimer1Test() throws ApiException {
        TimerEntityDto timerEntityDto = null;
        ActionStatus response = api.pUTJobTimer1(timerEntityDto);

        // TODO: test validations
    }
    
    /**
     *  Update an existing job instance  
     *
     *  Update an existing job instance  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pUTJobUpdate1Test() throws ApiException {
        JobInstanceDto jobInstanceDto = null;
        ActionStatus response = api.pUTJobUpdate1(jobInstanceDto);

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

        // TODO: test validations
    }
    
}
