# coding: utf-8

"""
    Sonatype Lifecycle Public REST API

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

    The version of the OpenAPI document: 1.201.0-02
    Contact: community@sonatype.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from sonatype_iq_api_client.models.api_ci_configuration_dto import ApiCiConfigurationDto

class TestApiCiConfigurationDto(unittest.TestCase):
    """ApiCiConfigurationDto unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ApiCiConfigurationDto:
        """Test ApiCiConfigurationDto
            include_optional is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # uncomment below to create an instance of `ApiCiConfigurationDto`
        """
        model = ApiCiConfigurationDto()
        if include_optional:
            return ApiCiConfigurationDto(
                advanced_properties = [
                    ''
                    ],
                download = sonatype_iq_api_client.models.download_config.DownloadConfig(
                    iq_cli_url = '', 
                    iq_cli_version = '', ),
                enable_debug_logging = True,
                fail_build_on_network_error = True,
                fail_build_on_policy_warnings = True,
                fail_build_on_reachability_errors = True,
                fail_build_on_scanning_errors = True,
                module_excludes = [
                    ''
                    ],
                parameter_priority = '',
                proxy = sonatype_iq_api_client.models.proxy_config.ProxyConfig(
                    host = '', ),
                reachability = sonatype_iq_api_client.models.reachability_config.ReachabilityConfig(
                    fail_on_error = True, 
                    java_analysis = sonatype_iq_api_client.models.java_analysis_config.JavaAnalysisConfig(
                        enabled = True, 
                        entrypoint_strategy = '', 
                        namespaces = [
                            ''
                            ], ), 
                    java_script_analysis = sonatype_iq_api_client.models.java_script_analysis_config.JavaScriptAnalysisConfig(
                        enabled = True, 
                        js_excludes = [
                            ''
                            ], 
                        js_sources = [
                            ''
                            ], 
                        node_js_executable = '', 
                        project_root = '', ), ),
                result_file = '',
                sarif_file = '',
                scan_patterns = [
                    ''
                    ],
                unstable_build_on_policy_warnings = True
            )
        else:
            return ApiCiConfigurationDto(
        )
        """

    def testApiCiConfigurationDto(self):
        """Test ApiCiConfigurationDto"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

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