/*
 * lakeFS API
 * lakeFS HTTP API
 *
 * The version of the OpenAPI document: 0.1.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package io.lakefs.clients.api;

import io.lakefs.clients.api.ApiException;
import io.lakefs.clients.api.model.Error;
import io.lakefs.clients.api.model.ImportCreation;
import io.lakefs.clients.api.model.ImportCreationResponse;
import io.lakefs.clients.api.model.ImportStatusResp;
import io.lakefs.clients.api.model.IngestRangeCreationResponse;
import io.lakefs.clients.api.model.MetaRangeCreation;
import io.lakefs.clients.api.model.MetaRangeCreationResponse;
import io.lakefs.clients.api.model.StageRangeCreation;
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 ImportApi
 */
@Ignore
public class ImportApiTest {

    private final ImportApi api = new ImportApi();

    
    /**
     * create a lakeFS metarange file from the given ranges
     *
     * 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void createMetaRangeTest() throws ApiException {
        String repository = null;
        MetaRangeCreation metaRangeCreation = null;
                MetaRangeCreationResponse response = api.createMetaRange(repository, metaRangeCreation);
        // TODO: test validations
    }
    
    /**
     * cancel ongoing import
     *
     * 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void importCancelTest() throws ApiException {
        String repository = null;
        String branch = null;
        String id = null;
                api.importCancel(repository, branch, id);
        // TODO: test validations
    }
    
    /**
     * import data from object store
     *
     * 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void importStartTest() throws ApiException {
        String repository = null;
        String branch = null;
        ImportCreation importCreation = null;
                ImportCreationResponse response = api.importStart(repository, branch, importCreation);
        // TODO: test validations
    }
    
    /**
     * get import status
     *
     * 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void importStatusTest() throws ApiException {
        String repository = null;
        String branch = null;
        String id = null;
                ImportStatusResp response = api.importStatus(repository, branch, id);
        // TODO: test validations
    }
    
    /**
     * create a lakeFS range file from the source uri
     *
     * 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void ingestRangeTest() throws ApiException {
        String repository = null;
        StageRangeCreation stageRangeCreation = null;
                IngestRangeCreationResponse response = api.ingestRange(repository, stageRangeCreation);
        // TODO: test validations
    }
    
}
