/*
 * 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.ApiConfigList;
import com.cloudera.api.swagger.model.ApiRoleConfigGroup;
import com.cloudera.api.swagger.model.ApiRoleConfigGroupList;
import com.cloudera.api.swagger.model.ApiRoleList;
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 MgmtRoleConfigGroupsResourceApi
 */
@Ignore
public class MgmtRoleConfigGroupsResourceApiTest {

    private final MgmtRoleConfigGroupsResourceApi api = new MgmtRoleConfigGroupsResourceApi();

    /**
     * Returns the current revision of the config for the specified role config group in the Cloudera Management Services.
     *
     * Returns the current revision of the config for the specified role config group in the Cloudera Management Services. &lt;p&gt; Available since API v3.
     *
     * @throws Exception
     *          if the Api call fails
     */
    @Test
    public void readConfigTest() throws Exception {
        String roleConfigGroupName = null;
        String view = null;
        ApiConfigList response = api.readConfig(roleConfigGroupName, view);

        // TODO: test validations
    }
    /**
     * Returns the information for a given role config group in the Cloudera Management Services.
     *
     * Returns the information for a given role config group in the Cloudera Management Services. &lt;p&gt; Available since API v3.
     *
     * @throws Exception
     *          if the Api call fails
     */
    @Test
    public void readRoleConfigGroupTest() throws Exception {
        String roleConfigGroupName = null;
        ApiRoleConfigGroup response = api.readRoleConfigGroup(roleConfigGroupName);

        // TODO: test validations
    }
    /**
     * Returns the information for all role config groups in the Cloudera Management Services.
     *
     * Returns the information for all role config groups in the Cloudera Management Services. &lt;p&gt; Available since API v3.
     *
     * @throws Exception
     *          if the Api call fails
     */
    @Test
    public void readRoleConfigGroupsTest() throws Exception {
        ApiRoleConfigGroupList response = api.readRoleConfigGroups();

        // TODO: test validations
    }
    /**
     * Returns all roles in the given role config group in the Cloudera Management Services.
     *
     * Returns all roles in the given role config group in the Cloudera Management Services. &lt;p&gt; Available since API v3.
     *
     * @throws Exception
     *          if the Api call fails
     */
    @Test
    public void readRolesTest() throws Exception {
        String roleConfigGroupName = null;
        ApiRoleList response = api.readRoles(roleConfigGroupName);

        // TODO: test validations
    }
    /**
     * Updates the config for the given role config group in the Cloudera Management Services.
     *
     * Updates the config for the given role config group in the Cloudera Management Services. &lt;p&gt; Available since API v3.
     *
     * @throws Exception
     *          if the Api call fails
     */
    @Test
    public void updateConfigTest() throws Exception {
        String roleConfigGroupName = null;
        ApiConfigList body = null;
        String message = null;
        ApiConfigList response = api.updateConfig(roleConfigGroupName, body, message);

        // TODO: test validations
    }
    /**
     * Updates an existing role config group in the Cloudera Management Services.
     *
     * Updates an existing role config group in the Cloudera Management Services. &lt;p&gt; Available since API v3.
     *
     * @throws Exception
     *          if the Api call fails
     */
    @Test
    public void updateRoleConfigGroupTest() throws Exception {
        String roleConfigGroupName = null;
        ApiRoleConfigGroup body = null;
        String message = null;
        ApiRoleConfigGroup response = api.updateRoleConfigGroup(roleConfigGroupName, body, message);

        // TODO: test validations
    }
}
