/*
 * Cloudera Manager API
 * <h1>Cloudera Manager API v57</h1>       <p>Introduced in Cloudera Manager 7.13.1</p>       <p><a href=\"http://www.cloudera.com/documentation.html\">Cloudera Product Documentation</a></p>
 *
 * OpenAPI spec version: 7.13.1
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.cloudera.api.swagger;

import com.cloudera.api.swagger.model.ApiCommand;
import com.cloudera.api.swagger.model.ApiHBaseSnapshot;
import com.cloudera.api.swagger.model.ApiSnapshotCommandList;
import com.cloudera.api.swagger.model.ApiSnapshotPolicy;
import com.cloudera.api.swagger.model.ApiSnapshotPolicyList;
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 SnapshotsResourceApi
 */
@Ignore
public class SnapshotsResourceApiTest {

    private final SnapshotsResourceApi api = new SnapshotsResourceApi();

    /**
     * 
     *
     * 
     *
     * @throws Exception
     *          if the Api call fails
     */
    @Test
    public void createHBaseSnapshotFromRemoteTest() throws Exception {
        String clusterName = null;
        String serviceName = null;
        ApiHBaseSnapshot body = null;
        java.math.BigDecimal bandwidthPerMap = null;
        Boolean directCopy = null;
        String externalAccount = null;
        java.math.BigDecimal numMappers = null;
        String runAsUser = null;
        String schedulerPoolName = null;
        ApiCommand response = api.createHBaseSnapshotFromRemote(clusterName, serviceName, body, bandwidthPerMap, directCopy, externalAccount, numMappers, runAsUser, schedulerPoolName);

        // TODO: test validations
    }
    /**
     * Creates one or more snapshot policies.
     *
     * Creates one or more snapshot policies.
     *
     * @throws Exception
     *          if the Api call fails
     */
    @Test
    public void createPoliciesTest() throws Exception {
        String clusterName = null;
        String serviceName = null;
        ApiSnapshotPolicyList body = null;
        ApiSnapshotPolicyList response = api.createPolicies(clusterName, serviceName, body);

        // TODO: test validations
    }
    /**
     * Deletes an existing snapshot policy.
     *
     * Deletes an existing snapshot policy.
     *
     * @throws Exception
     *          if the Api call fails
     */
    @Test
    public void deletePolicyTest() throws Exception {
        String clusterName = null;
        String policyName = null;
        String serviceName = null;
        ApiSnapshotPolicy response = api.deletePolicy(clusterName, policyName, serviceName);

        // TODO: test validations
    }
    /**
     * Starts a command that lists the available HBase snapshots from S3 or local HBase service.
     *
     * Starts a command that lists the available HBase snapshots from S3 or local HBase service. If a table name is provided, it will list the snapshots for that table only, otherwise it will list all available snapshots.
     *
     * @throws Exception
     *          if the Api call fails
     */
    @Test
    public void listHBaseSnapshotsCommandTest() throws Exception {
        String clusterName = null;
        String serviceName = null;
        String storage = null;
        String storageLocation = null;
        String tableName = null;
        ApiCommand response = api.listHBaseSnapshotsCommand(clusterName, serviceName, storage, storageLocation, tableName);

        // TODO: test validations
    }
    /**
     * Returns a list of commands triggered by a snapshot policy.
     *
     * Returns a list of commands triggered by a snapshot policy.
     *
     * @throws Exception
     *          if the Api call fails
     */
    @Test
    public void readHistoryTest() throws Exception {
        String clusterName = null;
        String policyName = null;
        String serviceName = null;
        java.math.BigDecimal limit = null;
        java.math.BigDecimal offset = null;
        String view = null;
        ApiSnapshotCommandList response = api.readHistory(clusterName, policyName, serviceName, limit, offset, view);

        // TODO: test validations
    }
    /**
     * Returns information for all snapshot policies.
     *
     * Returns information for all snapshot policies.
     *
     * @throws Exception
     *          if the Api call fails
     */
    @Test
    public void readPoliciesTest() throws Exception {
        String clusterName = null;
        String serviceName = null;
        String view = null;
        ApiSnapshotPolicyList response = api.readPolicies(clusterName, serviceName, view);

        // TODO: test validations
    }
    /**
     * Returns information for a specific snapshot policy.
     *
     * Returns information for a specific snapshot policy.
     *
     * @throws Exception
     *          if the Api call fails
     */
    @Test
    public void readPolicyTest() throws Exception {
        String clusterName = null;
        String policyName = null;
        String serviceName = null;
        String view = null;
        ApiSnapshotPolicy response = api.readPolicy(clusterName, policyName, serviceName, view);

        // TODO: test validations
    }
    /**
     * Updates an existing snapshot policy.
     *
     * Updates an existing snapshot policy.
     *
     * @throws Exception
     *          if the Api call fails
     */
    @Test
    public void updatePolicyTest() throws Exception {
        String clusterName = null;
        String policyName = null;
        String serviceName = null;
        ApiSnapshotPolicy body = null;
        ApiSnapshotPolicy response = api.updatePolicy(clusterName, policyName, serviceName, body);

        // TODO: test validations
    }
}
