/*
 * WSO2 API Manager - Publisher API
 * This specifies a **RESTful API** for WSO2 **API Manager** - Publisher.  Please see [full swagger definition](https://raw.githubusercontent.com/wso2/carbon-apimgt/v6.0.4/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher/src/main/resources/publisher-api.yaml) of the API which is written using [swagger 2.0](http://swagger.io/) specification. 
 *
 * OpenAPI spec version: 0.10.0
 * Contact: architecture@wso2.com
 *
 * 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.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


package org.wso2.carbon.apimgt.rest.integration.tests.api;

import org.testng.annotations.Test;
import org.wso2.carbon.apimgt.rest.integration.tests.ApiException;
import org.wso2.carbon.apimgt.rest.integration.tests.model.Tier;
import org.wso2.carbon.apimgt.rest.integration.tests.model.TierList;


/**
 * API tests for ThrottlingTierCollectionApi
 */
public class ThrottlingTierCollectionApiIT {

    private final ThrottlingTierCollectionApi api = new ThrottlingTierCollectionApi();

    
    /**
     * Get all policies
     *
     * This operation can be used to list the available policies for a given policy level. Tier level should be specified as a path parameter and should be one of &#x60;api&#x60;, &#x60;application&#x60; and &#x60;resource&#x60;. 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void policiesTierLevelGetTest() throws ApiException {
        String tierLevel = "unlimited";
        Integer limit = 2;
        Integer offset = 2;
        String accept = null;
        String ifNoneMatch = null;
        //TierList response = api.policiesTierLevelGet(tierLevel, limit, offset, accept, ifNoneMatch);

        // TODO: test validations
    }
    
    /**
     * Create a Tier
     *
     * This operation can be used to create a new throttling policy. The only supported policy level is &#x60;api&#x60; policies. &#x60;POST https://127.0.0.1:9443/api/am/publisher/v0.10/policies/api&#x60;  **IMPORTANT:** * This is only effective when Advanced Throttling is disabled in the Server. If enabled, we need to use Admin REST API for throttling policies modification related operations. 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void policiesTierLevelPostTest() throws ApiException {
        Tier body = null;
        String tierLevel = null;
        String contentType = null;
        // Tier response = api.policiesTierLevelPost(body, tierLevel, contentType);

        // TODO: test validations
    }
    
}
