/*
 * Kubernetes
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: v1.10.4
 * 
 *
 * 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 io.kubernetes.client.apis;

import io.kubernetes.client.ApiException;
import io.kubernetes.client.models.V1APIResourceList;
import io.kubernetes.client.models.V1DeleteOptions;
import io.kubernetes.client.models.V1Status;
import io.kubernetes.client.models.V1beta1CustomResourceDefinition;
import io.kubernetes.client.models.V1beta1CustomResourceDefinitionList;
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 ApiextensionsV1beta1Api
 */
@Ignore
public class ApiextensionsV1beta1ApiTest {

    private final ApiextensionsV1beta1Api api = new ApiextensionsV1beta1Api();

    
    /**
     * 
     *
     * create a CustomResourceDefinition
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void createCustomResourceDefinitionTest() throws ApiException {
        V1beta1CustomResourceDefinition body = null;
        String pretty = null;
        V1beta1CustomResourceDefinition response = api.createCustomResourceDefinition(body, pretty);

        // TODO: test validations
    }
    
    /**
     * 
     *
     * delete collection of CustomResourceDefinition
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void deleteCollectionCustomResourceDefinitionTest() throws ApiException {
        String pretty = null;
        String _continue = null;
        String fieldSelector = null;
        Boolean includeUninitialized = null;
        String labelSelector = null;
        Integer limit = null;
        String resourceVersion = null;
        Integer timeoutSeconds = null;
        Boolean watch = null;
        V1Status response = api.deleteCollectionCustomResourceDefinition(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch);

        // TODO: test validations
    }
    
    /**
     * 
     *
     * delete a CustomResourceDefinition
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void deleteCustomResourceDefinitionTest() throws ApiException {
        String name = null;
        V1DeleteOptions body = null;
        String pretty = null;
        Integer gracePeriodSeconds = null;
        Boolean orphanDependents = null;
        String propagationPolicy = null;
        V1Status response = api.deleteCustomResourceDefinition(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy);

        // TODO: test validations
    }
    
    /**
     * 
     *
     * get available resources
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void getAPIResourcesTest() throws ApiException {
        V1APIResourceList response = api.getAPIResources();

        // TODO: test validations
    }
    
    /**
     * 
     *
     * list or watch objects of kind CustomResourceDefinition
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void listCustomResourceDefinitionTest() throws ApiException {
        String pretty = null;
        String _continue = null;
        String fieldSelector = null;
        Boolean includeUninitialized = null;
        String labelSelector = null;
        Integer limit = null;
        String resourceVersion = null;
        Integer timeoutSeconds = null;
        Boolean watch = null;
        V1beta1CustomResourceDefinitionList response = api.listCustomResourceDefinition(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch);

        // TODO: test validations
    }
    
    /**
     * 
     *
     * partially update the specified CustomResourceDefinition
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void patchCustomResourceDefinitionTest() throws ApiException {
        String name = null;
        Object body = null;
        String pretty = null;
        V1beta1CustomResourceDefinition response = api.patchCustomResourceDefinition(name, body, pretty);

        // TODO: test validations
    }
    
    /**
     * 
     *
     * read the specified CustomResourceDefinition
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void readCustomResourceDefinitionTest() throws ApiException {
        String name = null;
        String pretty = null;
        Boolean exact = null;
        Boolean export = null;
        V1beta1CustomResourceDefinition response = api.readCustomResourceDefinition(name, pretty, exact, export);

        // TODO: test validations
    }
    
    /**
     * 
     *
     * replace the specified CustomResourceDefinition
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void replaceCustomResourceDefinitionTest() throws ApiException {
        String name = null;
        V1beta1CustomResourceDefinition body = null;
        String pretty = null;
        V1beta1CustomResourceDefinition response = api.replaceCustomResourceDefinition(name, body, pretty);

        // TODO: test validations
    }
    
    /**
     * 
     *
     * replace status of the specified CustomResourceDefinition
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void replaceCustomResourceDefinitionStatusTest() throws ApiException {
        String name = null;
        V1beta1CustomResourceDefinition body = null;
        String pretty = null;
        V1beta1CustomResourceDefinition response = api.replaceCustomResourceDefinitionStatus(name, body, pretty);

        // TODO: test validations
    }
    
}
