# coding: utf-8

"""
    Kubernetes

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: v1.20.7
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import kubernetes.client
from kubernetes.client.models.v1_custom_resource_validation import V1CustomResourceValidation  # noqa: E501
from kubernetes.client.rest import ApiException

class TestV1CustomResourceValidation(unittest.TestCase):
    """V1CustomResourceValidation unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test V1CustomResourceValidation
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = kubernetes.client.models.v1_custom_resource_validation.V1CustomResourceValidation()  # noqa: E501
        if include_optional :
            return V1CustomResourceValidation(
                open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                    __ref = '0', 
                    __schema = '0', 
                    additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                    additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                    all_of = [
                        kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                            __ref = '0', 
                            __schema = '0', 
                            additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                            additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                            any_of = [
                                kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                    __ref = '0', 
                                    __schema = '0', 
                                    additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                    additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                    default = kubernetes.client.models.default.default(), 
                                    definitions = {
                                        'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                            __ref = '0', 
                                            __schema = '0', 
                                            additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                            additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                            default = kubernetes.client.models.default.default(), 
                                            dependencies = {
                                                'key' : None
                                                }, 
                                            description = '0', 
                                            enum = [
                                                None
                                                ], 
                                            example = kubernetes.client.models.example.example(), 
                                            exclusive_maximum = True, 
                                            exclusive_minimum = True, 
                                            external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation(
                                                description = '0', 
                                                url = '0', ), 
                                            format = '0', 
                                            id = '0', 
                                            items = kubernetes.client.models.items.items(), 
                                            max_items = 56, 
                                            max_length = 56, 
                                            max_properties = 56, 
                                            maximum = 1.337, 
                                            min_items = 56, 
                                            min_length = 56, 
                                            min_properties = 56, 
                                            minimum = 1.337, 
                                            multiple_of = 1.337, 
                                            not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                                __ref = '0', 
                                                __schema = '0', 
                                                additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                                additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                                default = kubernetes.client.models.default.default(), 
                                                description = '0', 
                                                example = kubernetes.client.models.example.example(), 
                                                exclusive_maximum = True, 
                                                exclusive_minimum = True, 
                                                format = '0', 
                                                id = '0', 
                                                items = kubernetes.client.models.items.items(), 
                                                max_items = 56, 
                                                max_length = 56, 
                                                max_properties = 56, 
                                                maximum = 1.337, 
                                                min_items = 56, 
                                                min_length = 56, 
                                                min_properties = 56, 
                                                minimum = 1.337, 
                                                multiple_of = 1.337, 
                                                nullable = True, 
                                                one_of = [
                                                    kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                                        __ref = '0', 
                                                        __schema = '0', 
                                                        additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                                        additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                                        default = kubernetes.client.models.default.default(), 
                                                        description = '0', 
                                                        example = kubernetes.client.models.example.example(), 
                                                        exclusive_maximum = True, 
                                                        exclusive_minimum = True, 
                                                        format = '0', 
                                                        id = '0', 
                                                        items = kubernetes.client.models.items.items(), 
                                                        max_items = 56, 
                                                        max_length = 56, 
                                                        max_properties = 56, 
                                                        maximum = 1.337, 
                                                        min_items = 56, 
                                                        min_length = 56, 
                                                        min_properties = 56, 
                                                        minimum = 1.337, 
                                                        multiple_of = 1.337, 
                                                        nullable = True, 
                                                        pattern = '0', 
                                                        pattern_properties = {
                                                            'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                                                __ref = '0', 
                                                                __schema = '0', 
                                                                additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                                                additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                                                default = kubernetes.client.models.default.default(), 
                                                                description = '0', 
                                                                example = kubernetes.client.models.example.example(), 
                                                                exclusive_maximum = True, 
                                                                exclusive_minimum = True, 
                                                                format = '0', 
                                                                id = '0', 
                                                                items = kubernetes.client.models.items.items(), 
                                                                max_items = 56, 
                                                                max_length = 56, 
                                                                max_properties = 56, 
                                                                maximum = 1.337, 
                                                                min_items = 56, 
                                                                min_length = 56, 
                                                                min_properties = 56, 
                                                                minimum = 1.337, 
                                                                multiple_of = 1.337, 
                                                                nullable = True, 
                                                                pattern = '0', 
                                                                properties = {
                                                                    'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                                                        __ref = '0', 
                                                                        __schema = '0', 
                                                                        additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                                                        additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                                                        default = kubernetes.client.models.default.default(), 
                                                                        description = '0', 
                                                                        example = kubernetes.client.models.example.example(), 
                                                                        exclusive_maximum = True, 
                                                                        exclusive_minimum = True, 
                                                                        format = '0', 
                                                                        id = '0', 
                                                                        items = kubernetes.client.models.items.items(), 
                                                                        max_items = 56, 
                                                                        max_length = 56, 
                                                                        max_properties = 56, 
                                                                        maximum = 1.337, 
                                                                        min_items = 56, 
                                                                        min_length = 56, 
                                                                        min_properties = 56, 
                                                                        minimum = 1.337, 
                                                                        multiple_of = 1.337, 
                                                                        nullable = True, 
                                                                        pattern = '0', 
                                                                        required = [
                                                                            '0'
                                                                            ], 
                                                                        title = '0', 
                                                                        type = '0', 
                                                                        unique_items = True, 
                                                                        x_kubernetes_embedded_resource = True, 
                                                                        x_kubernetes_int_or_string = True, 
                                                                        x_kubernetes_list_map_keys = [
                                                                            '0'
                                                                            ], 
                                                                        x_kubernetes_list_type = '0', 
                                                                        x_kubernetes_map_type = '0', 
                                                                        x_kubernetes_preserve_unknown_fields = True, )
                                                                    }, 
                                                                required = [
                                                                    '0'
                                                                    ], 
                                                                title = '0', 
                                                                type = '0', 
                                                                unique_items = True, 
                                                                x_kubernetes_embedded_resource = True, 
                                                                x_kubernetes_int_or_string = True, 
                                                                x_kubernetes_list_map_keys = [
                                                                    '0'
                                                                    ], 
                                                                x_kubernetes_list_type = '0', 
                                                                x_kubernetes_map_type = '0', 
                                                                x_kubernetes_preserve_unknown_fields = True, )
                                                            }, 
                                                        properties = {
                                                            'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                                                __ref = '0', 
                                                                __schema = '0', 
                                                                additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                                                additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                                                default = kubernetes.client.models.default.default(), 
                                                                description = '0', 
                                                                example = kubernetes.client.models.example.example(), 
                                                                exclusive_maximum = True, 
                                                                exclusive_minimum = True, 
                                                                format = '0', 
                                                                id = '0', 
                                                                items = kubernetes.client.models.items.items(), 
                                                                max_items = 56, 
                                                                max_length = 56, 
                                                                max_properties = 56, 
                                                                maximum = 1.337, 
                                                                min_items = 56, 
                                                                min_length = 56, 
                                                                min_properties = 56, 
                                                                minimum = 1.337, 
                                                                multiple_of = 1.337, 
                                                                nullable = True, 
                                                                pattern = '0', 
                                                                title = '0', 
                                                                type = '0', 
                                                                unique_items = True, 
                                                                x_kubernetes_embedded_resource = True, 
                                                                x_kubernetes_int_or_string = True, 
                                                                x_kubernetes_list_type = '0', 
                                                                x_kubernetes_map_type = '0', 
                                                                x_kubernetes_preserve_unknown_fields = True, )
                                                            }, 
                                                        required = [
                                                            '0'
                                                            ], 
                                                        title = '0', 
                                                        type = '0', 
                                                        unique_items = True, 
                                                        x_kubernetes_embedded_resource = True, 
                                                        x_kubernetes_int_or_string = True, 
                                                        x_kubernetes_list_map_keys = [
                                                            '0'
                                                            ], 
                                                        x_kubernetes_list_type = '0', 
                                                        x_kubernetes_map_type = '0', 
                                                        x_kubernetes_preserve_unknown_fields = True, )
                                                    ], 
                                                pattern = '0', 
                                                pattern_properties = {
                                                    'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                                        __ref = '0', 
                                                        __schema = '0', 
                                                        additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                                        additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                                        default = kubernetes.client.models.default.default(), 
                                                        description = '0', 
                                                        example = kubernetes.client.models.example.example(), 
                                                        exclusive_maximum = True, 
                                                        exclusive_minimum = True, 
                                                        format = '0', 
                                                        id = '0', 
                                                        items = kubernetes.client.models.items.items(), 
                                                        max_items = 56, 
                                                        max_length = 56, 
                                                        max_properties = 56, 
                                                        maximum = 1.337, 
                                                        min_items = 56, 
                                                        min_length = 56, 
                                                        min_properties = 56, 
                                                        minimum = 1.337, 
                                                        multiple_of = 1.337, 
                                                        nullable = True, 
                                                        pattern = '0', 
                                                        title = '0', 
                                                        type = '0', 
                                                        unique_items = True, 
                                                        x_kubernetes_embedded_resource = True, 
                                                        x_kubernetes_int_or_string = True, 
                                                        x_kubernetes_list_type = '0', 
                                                        x_kubernetes_map_type = '0', 
                                                        x_kubernetes_preserve_unknown_fields = True, )
                                                    }, 
                                                properties = {
                                                    'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                                        __ref = '0', 
                                                        __schema = '0', 
                                                        additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                                        additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                                        default = kubernetes.client.models.default.default(), 
                                                        description = '0', 
                                                        example = kubernetes.client.models.example.example(), 
                                                        exclusive_maximum = True, 
                                                        exclusive_minimum = True, 
                                                        format = '0', 
                                                        id = '0', 
                                                        items = kubernetes.client.models.items.items(), 
                                                        max_items = 56, 
                                                        max_length = 56, 
                                                        max_properties = 56, 
                                                        maximum = 1.337, 
                                                        min_items = 56, 
                                                        min_length = 56, 
                                                        min_properties = 56, 
                                                        minimum = 1.337, 
                                                        multiple_of = 1.337, 
                                                        nullable = True, 
                                                        pattern = '0', 
                                                        title = '0', 
                                                        type = '0', 
                                                        unique_items = True, 
                                                        x_kubernetes_embedded_resource = True, 
                                                        x_kubernetes_int_or_string = True, 
                                                        x_kubernetes_list_type = '0', 
                                                        x_kubernetes_map_type = '0', 
                                                        x_kubernetes_preserve_unknown_fields = True, )
                                                    }, 
                                                required = [
                                                    '0'
                                                    ], 
                                                title = '0', 
                                                type = '0', 
                                                unique_items = True, 
                                                x_kubernetes_embedded_resource = True, 
                                                x_kubernetes_int_or_string = True, 
                                                x_kubernetes_list_map_keys = [
                                                    '0'
                                                    ], 
                                                x_kubernetes_list_type = '0', 
                                                x_kubernetes_map_type = '0', 
                                                x_kubernetes_preserve_unknown_fields = True, ), 
                                            nullable = True, 
                                            one_of = [
                                                kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                                    __ref = '0', 
                                                    __schema = '0', 
                                                    additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                                    additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                                    default = kubernetes.client.models.default.default(), 
                                                    description = '0', 
                                                    example = kubernetes.client.models.example.example(), 
                                                    exclusive_maximum = True, 
                                                    exclusive_minimum = True, 
                                                    format = '0', 
                                                    id = '0', 
                                                    items = kubernetes.client.models.items.items(), 
                                                    max_items = 56, 
                                                    max_length = 56, 
                                                    max_properties = 56, 
                                                    maximum = 1.337, 
                                                    min_items = 56, 
                                                    min_length = 56, 
                                                    min_properties = 56, 
                                                    minimum = 1.337, 
                                                    multiple_of = 1.337, 
                                                    nullable = True, 
                                                    pattern = '0', 
                                                    title = '0', 
                                                    type = '0', 
                                                    unique_items = True, 
                                                    x_kubernetes_embedded_resource = True, 
                                                    x_kubernetes_int_or_string = True, 
                                                    x_kubernetes_list_type = '0', 
                                                    x_kubernetes_map_type = '0', 
                                                    x_kubernetes_preserve_unknown_fields = True, )
                                                ], 
                                            pattern = '0', 
                                            pattern_properties = {
                                                'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                                    __ref = '0', 
                                                    __schema = '0', 
                                                    additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                                    additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                                    default = kubernetes.client.models.default.default(), 
                                                    description = '0', 
                                                    example = kubernetes.client.models.example.example(), 
                                                    exclusive_maximum = True, 
                                                    exclusive_minimum = True, 
                                                    format = '0', 
                                                    id = '0', 
                                                    items = kubernetes.client.models.items.items(), 
                                                    max_items = 56, 
                                                    max_length = 56, 
                                                    max_properties = 56, 
                                                    maximum = 1.337, 
                                                    min_items = 56, 
                                                    min_length = 56, 
                                                    min_properties = 56, 
                                                    minimum = 1.337, 
                                                    multiple_of = 1.337, 
                                                    nullable = True, 
                                                    pattern = '0', 
                                                    title = '0', 
                                                    type = '0', 
                                                    unique_items = True, 
                                                    x_kubernetes_embedded_resource = True, 
                                                    x_kubernetes_int_or_string = True, 
                                                    x_kubernetes_list_type = '0', 
                                                    x_kubernetes_map_type = '0', 
                                                    x_kubernetes_preserve_unknown_fields = True, )
                                                }, 
                                            properties = {
                                                'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                                    __ref = '0', 
                                                    __schema = '0', 
                                                    additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                                    additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                                    default = kubernetes.client.models.default.default(), 
                                                    description = '0', 
                                                    example = kubernetes.client.models.example.example(), 
                                                    exclusive_maximum = True, 
                                                    exclusive_minimum = True, 
                                                    format = '0', 
                                                    id = '0', 
                                                    items = kubernetes.client.models.items.items(), 
                                                    max_items = 56, 
                                                    max_length = 56, 
                                                    max_properties = 56, 
                                                    maximum = 1.337, 
                                                    min_items = 56, 
                                                    min_length = 56, 
                                                    min_properties = 56, 
                                                    minimum = 1.337, 
                                                    multiple_of = 1.337, 
                                                    nullable = True, 
                                                    pattern = '0', 
                                                    title = '0', 
                                                    type = '0', 
                                                    unique_items = True, 
                                                    x_kubernetes_embedded_resource = True, 
                                                    x_kubernetes_int_or_string = True, 
                                                    x_kubernetes_list_type = '0', 
                                                    x_kubernetes_map_type = '0', 
                                                    x_kubernetes_preserve_unknown_fields = True, )
                                                }, 
                                            required = [
                                                '0'
                                                ], 
                                            title = '0', 
                                            type = '0', 
                                            unique_items = True, 
                                            x_kubernetes_embedded_resource = True, 
                                            x_kubernetes_int_or_string = True, 
                                            x_kubernetes_list_map_keys = [
                                                '0'
                                                ], 
                                            x_kubernetes_list_type = '0', 
                                            x_kubernetes_map_type = '0', 
                                            x_kubernetes_preserve_unknown_fields = True, )
                                        }, 
                                    dependencies = {
                                        'key' : None
                                        }, 
                                    description = '0', 
                                    enum = [
                                        None
                                        ], 
                                    example = kubernetes.client.models.example.example(), 
                                    exclusive_maximum = True, 
                                    exclusive_minimum = True, 
                                    external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation(
                                        description = '0', 
                                        url = '0', ), 
                                    format = '0', 
                                    id = '0', 
                                    items = kubernetes.client.models.items.items(), 
                                    max_items = 56, 
                                    max_length = 56, 
                                    max_properties = 56, 
                                    maximum = 1.337, 
                                    min_items = 56, 
                                    min_length = 56, 
                                    min_properties = 56, 
                                    minimum = 1.337, 
                                    multiple_of = 1.337, 
                                    not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                        __ref = '0', 
                                        __schema = '0', 
                                        additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                        additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                        default = kubernetes.client.models.default.default(), 
                                        description = '0', 
                                        example = kubernetes.client.models.example.example(), 
                                        exclusive_maximum = True, 
                                        exclusive_minimum = True, 
                                        format = '0', 
                                        id = '0', 
                                        items = kubernetes.client.models.items.items(), 
                                        max_items = 56, 
                                        max_length = 56, 
                                        max_properties = 56, 
                                        maximum = 1.337, 
                                        min_items = 56, 
                                        min_length = 56, 
                                        min_properties = 56, 
                                        minimum = 1.337, 
                                        multiple_of = 1.337, 
                                        nullable = True, 
                                        pattern = '0', 
                                        title = '0', 
                                        type = '0', 
                                        unique_items = True, 
                                        x_kubernetes_embedded_resource = True, 
                                        x_kubernetes_int_or_string = True, 
                                        x_kubernetes_list_type = '0', 
                                        x_kubernetes_map_type = '0', 
                                        x_kubernetes_preserve_unknown_fields = True, ), 
                                    nullable = True, 
                                    one_of = [
                                        kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                            __ref = '0', 
                                            __schema = '0', 
                                            additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                            additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                            default = kubernetes.client.models.default.default(), 
                                            description = '0', 
                                            example = kubernetes.client.models.example.example(), 
                                            exclusive_maximum = True, 
                                            exclusive_minimum = True, 
                                            format = '0', 
                                            id = '0', 
                                            items = kubernetes.client.models.items.items(), 
                                            max_items = 56, 
                                            max_length = 56, 
                                            max_properties = 56, 
                                            maximum = 1.337, 
                                            min_items = 56, 
                                            min_length = 56, 
                                            min_properties = 56, 
                                            minimum = 1.337, 
                                            multiple_of = 1.337, 
                                            nullable = True, 
                                            pattern = '0', 
                                            title = '0', 
                                            type = '0', 
                                            unique_items = True, 
                                            x_kubernetes_embedded_resource = True, 
                                            x_kubernetes_int_or_string = True, 
                                            x_kubernetes_list_type = '0', 
                                            x_kubernetes_map_type = '0', 
                                            x_kubernetes_preserve_unknown_fields = True, )
                                        ], 
                                    pattern = '0', 
                                    pattern_properties = {
                                        'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                            __ref = '0', 
                                            __schema = '0', 
                                            additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                            additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                            default = kubernetes.client.models.default.default(), 
                                            description = '0', 
                                            example = kubernetes.client.models.example.example(), 
                                            exclusive_maximum = True, 
                                            exclusive_minimum = True, 
                                            format = '0', 
                                            id = '0', 
                                            items = kubernetes.client.models.items.items(), 
                                            max_items = 56, 
                                            max_length = 56, 
                                            max_properties = 56, 
                                            maximum = 1.337, 
                                            min_items = 56, 
                                            min_length = 56, 
                                            min_properties = 56, 
                                            minimum = 1.337, 
                                            multiple_of = 1.337, 
                                            nullable = True, 
                                            pattern = '0', 
                                            title = '0', 
                                            type = '0', 
                                            unique_items = True, 
                                            x_kubernetes_embedded_resource = True, 
                                            x_kubernetes_int_or_string = True, 
                                            x_kubernetes_list_type = '0', 
                                            x_kubernetes_map_type = '0', 
                                            x_kubernetes_preserve_unknown_fields = True, )
                                        }, 
                                    properties = {
                                        'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                            __ref = '0', 
                                            __schema = '0', 
                                            additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                            additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                            default = kubernetes.client.models.default.default(), 
                                            description = '0', 
                                            example = kubernetes.client.models.example.example(), 
                                            exclusive_maximum = True, 
                                            exclusive_minimum = True, 
                                            format = '0', 
                                            id = '0', 
                                            items = kubernetes.client.models.items.items(), 
                                            max_items = 56, 
                                            max_length = 56, 
                                            max_properties = 56, 
                                            maximum = 1.337, 
                                            min_items = 56, 
                                            min_length = 56, 
                                            min_properties = 56, 
                                            minimum = 1.337, 
                                            multiple_of = 1.337, 
                                            nullable = True, 
                                            pattern = '0', 
                                            title = '0', 
                                            type = '0', 
                                            unique_items = True, 
                                            x_kubernetes_embedded_resource = True, 
                                            x_kubernetes_int_or_string = True, 
                                            x_kubernetes_list_type = '0', 
                                            x_kubernetes_map_type = '0', 
                                            x_kubernetes_preserve_unknown_fields = True, )
                                        }, 
                                    required = [
                                        '0'
                                        ], 
                                    title = '0', 
                                    type = '0', 
                                    unique_items = True, 
                                    x_kubernetes_embedded_resource = True, 
                                    x_kubernetes_int_or_string = True, 
                                    x_kubernetes_list_map_keys = [
                                        '0'
                                        ], 
                                    x_kubernetes_list_type = '0', 
                                    x_kubernetes_map_type = '0', 
                                    x_kubernetes_preserve_unknown_fields = True, )
                                ], 
                            default = kubernetes.client.models.default.default(), 
                            definitions = {
                                'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                    __ref = '0', 
                                    __schema = '0', 
                                    additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                    additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                    default = kubernetes.client.models.default.default(), 
                                    description = '0', 
                                    example = kubernetes.client.models.example.example(), 
                                    exclusive_maximum = True, 
                                    exclusive_minimum = True, 
                                    format = '0', 
                                    id = '0', 
                                    items = kubernetes.client.models.items.items(), 
                                    max_items = 56, 
                                    max_length = 56, 
                                    max_properties = 56, 
                                    maximum = 1.337, 
                                    min_items = 56, 
                                    min_length = 56, 
                                    min_properties = 56, 
                                    minimum = 1.337, 
                                    multiple_of = 1.337, 
                                    nullable = True, 
                                    pattern = '0', 
                                    title = '0', 
                                    type = '0', 
                                    unique_items = True, 
                                    x_kubernetes_embedded_resource = True, 
                                    x_kubernetes_int_or_string = True, 
                                    x_kubernetes_list_type = '0', 
                                    x_kubernetes_map_type = '0', 
                                    x_kubernetes_preserve_unknown_fields = True, )
                                }, 
                            dependencies = {
                                'key' : None
                                }, 
                            description = '0', 
                            enum = [
                                None
                                ], 
                            example = kubernetes.client.models.example.example(), 
                            exclusive_maximum = True, 
                            exclusive_minimum = True, 
                            external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation(
                                description = '0', 
                                url = '0', ), 
                            format = '0', 
                            id = '0', 
                            items = kubernetes.client.models.items.items(), 
                            max_items = 56, 
                            max_length = 56, 
                            max_properties = 56, 
                            maximum = 1.337, 
                            min_items = 56, 
                            min_length = 56, 
                            min_properties = 56, 
                            minimum = 1.337, 
                            multiple_of = 1.337, 
                            not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                __ref = '0', 
                                __schema = '0', 
                                additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                default = kubernetes.client.models.default.default(), 
                                description = '0', 
                                example = kubernetes.client.models.example.example(), 
                                exclusive_maximum = True, 
                                exclusive_minimum = True, 
                                format = '0', 
                                id = '0', 
                                items = kubernetes.client.models.items.items(), 
                                max_items = 56, 
                                max_length = 56, 
                                max_properties = 56, 
                                maximum = 1.337, 
                                min_items = 56, 
                                min_length = 56, 
                                min_properties = 56, 
                                minimum = 1.337, 
                                multiple_of = 1.337, 
                                nullable = True, 
                                pattern = '0', 
                                title = '0', 
                                type = '0', 
                                unique_items = True, 
                                x_kubernetes_embedded_resource = True, 
                                x_kubernetes_int_or_string = True, 
                                x_kubernetes_list_type = '0', 
                                x_kubernetes_map_type = '0', 
                                x_kubernetes_preserve_unknown_fields = True, ), 
                            nullable = True, 
                            one_of = [
                                kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                    __ref = '0', 
                                    __schema = '0', 
                                    additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                    additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                    default = kubernetes.client.models.default.default(), 
                                    description = '0', 
                                    example = kubernetes.client.models.example.example(), 
                                    exclusive_maximum = True, 
                                    exclusive_minimum = True, 
                                    format = '0', 
                                    id = '0', 
                                    items = kubernetes.client.models.items.items(), 
                                    max_items = 56, 
                                    max_length = 56, 
                                    max_properties = 56, 
                                    maximum = 1.337, 
                                    min_items = 56, 
                                    min_length = 56, 
                                    min_properties = 56, 
                                    minimum = 1.337, 
                                    multiple_of = 1.337, 
                                    nullable = True, 
                                    pattern = '0', 
                                    title = '0', 
                                    type = '0', 
                                    unique_items = True, 
                                    x_kubernetes_embedded_resource = True, 
                                    x_kubernetes_int_or_string = True, 
                                    x_kubernetes_list_type = '0', 
                                    x_kubernetes_map_type = '0', 
                                    x_kubernetes_preserve_unknown_fields = True, )
                                ], 
                            pattern = '0', 
                            pattern_properties = {
                                'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                    __ref = '0', 
                                    __schema = '0', 
                                    additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                    additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                    default = kubernetes.client.models.default.default(), 
                                    description = '0', 
                                    example = kubernetes.client.models.example.example(), 
                                    exclusive_maximum = True, 
                                    exclusive_minimum = True, 
                                    format = '0', 
                                    id = '0', 
                                    items = kubernetes.client.models.items.items(), 
                                    max_items = 56, 
                                    max_length = 56, 
                                    max_properties = 56, 
                                    maximum = 1.337, 
                                    min_items = 56, 
                                    min_length = 56, 
                                    min_properties = 56, 
                                    minimum = 1.337, 
                                    multiple_of = 1.337, 
                                    nullable = True, 
                                    pattern = '0', 
                                    title = '0', 
                                    type = '0', 
                                    unique_items = True, 
                                    x_kubernetes_embedded_resource = True, 
                                    x_kubernetes_int_or_string = True, 
                                    x_kubernetes_list_type = '0', 
                                    x_kubernetes_map_type = '0', 
                                    x_kubernetes_preserve_unknown_fields = True, )
                                }, 
                            properties = {
                                'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                                    __ref = '0', 
                                    __schema = '0', 
                                    additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                                    additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                                    default = kubernetes.client.models.default.default(), 
                                    description = '0', 
                                    example = kubernetes.client.models.example.example(), 
                                    exclusive_maximum = True, 
                                    exclusive_minimum = True, 
                                    format = '0', 
                                    id = '0', 
                                    items = kubernetes.client.models.items.items(), 
                                    max_items = 56, 
                                    max_length = 56, 
                                    max_properties = 56, 
                                    maximum = 1.337, 
                                    min_items = 56, 
                                    min_length = 56, 
                                    min_properties = 56, 
                                    minimum = 1.337, 
                                    multiple_of = 1.337, 
                                    nullable = True, 
                                    pattern = '0', 
                                    title = '0', 
                                    type = '0', 
                                    unique_items = True, 
                                    x_kubernetes_embedded_resource = True, 
                                    x_kubernetes_int_or_string = True, 
                                    x_kubernetes_list_type = '0', 
                                    x_kubernetes_map_type = '0', 
                                    x_kubernetes_preserve_unknown_fields = True, )
                                }, 
                            required = [
                                '0'
                                ], 
                            title = '0', 
                            type = '0', 
                            unique_items = True, 
                            x_kubernetes_embedded_resource = True, 
                            x_kubernetes_int_or_string = True, 
                            x_kubernetes_list_map_keys = [
                                '0'
                                ], 
                            x_kubernetes_list_type = '0', 
                            x_kubernetes_map_type = '0', 
                            x_kubernetes_preserve_unknown_fields = True, )
                        ], 
                    any_of = [
                        kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                            __ref = '0', 
                            __schema = '0', 
                            additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                            additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                            default = kubernetes.client.models.default.default(), 
                            description = '0', 
                            example = kubernetes.client.models.example.example(), 
                            exclusive_maximum = True, 
                            exclusive_minimum = True, 
                            format = '0', 
                            id = '0', 
                            items = kubernetes.client.models.items.items(), 
                            max_items = 56, 
                            max_length = 56, 
                            max_properties = 56, 
                            maximum = 1.337, 
                            min_items = 56, 
                            min_length = 56, 
                            min_properties = 56, 
                            minimum = 1.337, 
                            multiple_of = 1.337, 
                            nullable = True, 
                            pattern = '0', 
                            title = '0', 
                            type = '0', 
                            unique_items = True, 
                            x_kubernetes_embedded_resource = True, 
                            x_kubernetes_int_or_string = True, 
                            x_kubernetes_list_type = '0', 
                            x_kubernetes_map_type = '0', 
                            x_kubernetes_preserve_unknown_fields = True, )
                        ], 
                    default = kubernetes.client.models.default.default(), 
                    definitions = {
                        'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                            __ref = '0', 
                            __schema = '0', 
                            additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                            additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                            default = kubernetes.client.models.default.default(), 
                            description = '0', 
                            example = kubernetes.client.models.example.example(), 
                            exclusive_maximum = True, 
                            exclusive_minimum = True, 
                            format = '0', 
                            id = '0', 
                            items = kubernetes.client.models.items.items(), 
                            max_items = 56, 
                            max_length = 56, 
                            max_properties = 56, 
                            maximum = 1.337, 
                            min_items = 56, 
                            min_length = 56, 
                            min_properties = 56, 
                            minimum = 1.337, 
                            multiple_of = 1.337, 
                            nullable = True, 
                            pattern = '0', 
                            title = '0', 
                            type = '0', 
                            unique_items = True, 
                            x_kubernetes_embedded_resource = True, 
                            x_kubernetes_int_or_string = True, 
                            x_kubernetes_list_type = '0', 
                            x_kubernetes_map_type = '0', 
                            x_kubernetes_preserve_unknown_fields = True, )
                        }, 
                    dependencies = {
                        'key' : None
                        }, 
                    description = '0', 
                    enum = [
                        None
                        ], 
                    example = kubernetes.client.models.example.example(), 
                    exclusive_maximum = True, 
                    exclusive_minimum = True, 
                    external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation(
                        description = '0', 
                        url = '0', ), 
                    format = '0', 
                    id = '0', 
                    items = kubernetes.client.models.items.items(), 
                    max_items = 56, 
                    max_length = 56, 
                    max_properties = 56, 
                    maximum = 1.337, 
                    min_items = 56, 
                    min_length = 56, 
                    min_properties = 56, 
                    minimum = 1.337, 
                    multiple_of = 1.337, 
                    not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                        __ref = '0', 
                        __schema = '0', 
                        additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                        additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                        default = kubernetes.client.models.default.default(), 
                        description = '0', 
                        example = kubernetes.client.models.example.example(), 
                        exclusive_maximum = True, 
                        exclusive_minimum = True, 
                        format = '0', 
                        id = '0', 
                        items = kubernetes.client.models.items.items(), 
                        max_items = 56, 
                        max_length = 56, 
                        max_properties = 56, 
                        maximum = 1.337, 
                        min_items = 56, 
                        min_length = 56, 
                        min_properties = 56, 
                        minimum = 1.337, 
                        multiple_of = 1.337, 
                        nullable = True, 
                        pattern = '0', 
                        title = '0', 
                        type = '0', 
                        unique_items = True, 
                        x_kubernetes_embedded_resource = True, 
                        x_kubernetes_int_or_string = True, 
                        x_kubernetes_list_type = '0', 
                        x_kubernetes_map_type = '0', 
                        x_kubernetes_preserve_unknown_fields = True, ), 
                    nullable = True, 
                    one_of = [
                        kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                            __ref = '0', 
                            __schema = '0', 
                            additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                            additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                            default = kubernetes.client.models.default.default(), 
                            description = '0', 
                            example = kubernetes.client.models.example.example(), 
                            exclusive_maximum = True, 
                            exclusive_minimum = True, 
                            format = '0', 
                            id = '0', 
                            items = kubernetes.client.models.items.items(), 
                            max_items = 56, 
                            max_length = 56, 
                            max_properties = 56, 
                            maximum = 1.337, 
                            min_items = 56, 
                            min_length = 56, 
                            min_properties = 56, 
                            minimum = 1.337, 
                            multiple_of = 1.337, 
                            nullable = True, 
                            pattern = '0', 
                            title = '0', 
                            type = '0', 
                            unique_items = True, 
                            x_kubernetes_embedded_resource = True, 
                            x_kubernetes_int_or_string = True, 
                            x_kubernetes_list_type = '0', 
                            x_kubernetes_map_type = '0', 
                            x_kubernetes_preserve_unknown_fields = True, )
                        ], 
                    pattern = '0', 
                    pattern_properties = {
                        'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                            __ref = '0', 
                            __schema = '0', 
                            additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                            additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                            default = kubernetes.client.models.default.default(), 
                            description = '0', 
                            example = kubernetes.client.models.example.example(), 
                            exclusive_maximum = True, 
                            exclusive_minimum = True, 
                            format = '0', 
                            id = '0', 
                            items = kubernetes.client.models.items.items(), 
                            max_items = 56, 
                            max_length = 56, 
                            max_properties = 56, 
                            maximum = 1.337, 
                            min_items = 56, 
                            min_length = 56, 
                            min_properties = 56, 
                            minimum = 1.337, 
                            multiple_of = 1.337, 
                            nullable = True, 
                            pattern = '0', 
                            title = '0', 
                            type = '0', 
                            unique_items = True, 
                            x_kubernetes_embedded_resource = True, 
                            x_kubernetes_int_or_string = True, 
                            x_kubernetes_list_type = '0', 
                            x_kubernetes_map_type = '0', 
                            x_kubernetes_preserve_unknown_fields = True, )
                        }, 
                    properties = {
                        'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps(
                            __ref = '0', 
                            __schema = '0', 
                            additional_items = kubernetes.client.models.additional_items.additionalItems(), 
                            additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), 
                            default = kubernetes.client.models.default.default(), 
                            description = '0', 
                            example = kubernetes.client.models.example.example(), 
                            exclusive_maximum = True, 
                            exclusive_minimum = True, 
                            format = '0', 
                            id = '0', 
                            items = kubernetes.client.models.items.items(), 
                            max_items = 56, 
                            max_length = 56, 
                            max_properties = 56, 
                            maximum = 1.337, 
                            min_items = 56, 
                            min_length = 56, 
                            min_properties = 56, 
                            minimum = 1.337, 
                            multiple_of = 1.337, 
                            nullable = True, 
                            pattern = '0', 
                            title = '0', 
                            type = '0', 
                            unique_items = True, 
                            x_kubernetes_embedded_resource = True, 
                            x_kubernetes_int_or_string = True, 
                            x_kubernetes_list_type = '0', 
                            x_kubernetes_map_type = '0', 
                            x_kubernetes_preserve_unknown_fields = True, )
                        }, 
                    required = [
                        '0'
                        ], 
                    title = '0', 
                    type = '0', 
                    unique_items = True, 
                    x_kubernetes_embedded_resource = True, 
                    x_kubernetes_int_or_string = True, 
                    x_kubernetes_list_map_keys = [
                        '0'
                        ], 
                    x_kubernetes_list_type = '0', 
                    x_kubernetes_map_type = '0', 
                    x_kubernetes_preserve_unknown_fields = True, )
            )
        else :
            return V1CustomResourceValidation(
        )

    def testV1CustomResourceValidation(self):
        """Test V1CustomResourceValidation"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


if __name__ == '__main__':
    unittest.main()
