# 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.200.0-01
    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.get_suggested_remediation_for_component200_response import GetSuggestedRemediationForComponent200Response

class TestGetSuggestedRemediationForComponent200Response(unittest.TestCase):
    """GetSuggestedRemediationForComponent200Response unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> GetSuggestedRemediationForComponent200Response:
        """Test GetSuggestedRemediationForComponent200Response
            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 `GetSuggestedRemediationForComponent200Response`
        """
        model = GetSuggestedRemediationForComponent200Response()
        if include_optional:
            return GetSuggestedRemediationForComponent200Response(
                remediation = sonatype_iq_api_client.models.api_component_remediation_value_dto.ApiComponentRemediationValueDTO(
                    suggested_version_change = sonatype_iq_api_client.models.api_suggested_version_change_option_dto.ApiSuggestedVersionChangeOptionDTO(
                        data = sonatype_iq_api_client.models.api_component_change_action_dto.ApiComponentChangeActionDTO(
                            component = sonatype_iq_api_client.models.api_component_dtov2.ApiComponentDTOV2(
                                component_identifier = sonatype_iq_api_client.models.api_component_identifier_dtov2.ApiComponentIdentifierDTOV2(
                                    coordinates = {
                                        'key' : ''
                                        }, 
                                    format = '', ), 
                                display_name = '', 
                                hash = '', 
                                original_purl = '', 
                                package_url = '', 
                                proprietary = True, 
                                sha256 = '', 
                                third_party = True, ), ), 
                        direct_dependency = True, 
                        direct_dependency_data = [
                            sonatype_iq_api_client.models.api_component_change_action_dto.ApiComponentChangeActionDTO()
                            ], 
                        is_golden = True, 
                        type = 'next-no-violations', ), 
                    version_changes = [
                        sonatype_iq_api_client.models.api_version_change_option_dto.ApiVersionChangeOptionDTO(
                            direct_dependency = True, 
                            type = 'next-no-violations', )
                        ], )
            )
        else:
            return GetSuggestedRemediationForComponent200Response(
                remediation = sonatype_iq_api_client.models.api_component_remediation_value_dto.ApiComponentRemediationValueDTO(
                    suggested_version_change = sonatype_iq_api_client.models.api_suggested_version_change_option_dto.ApiSuggestedVersionChangeOptionDTO(
                        data = sonatype_iq_api_client.models.api_component_change_action_dto.ApiComponentChangeActionDTO(
                            component = sonatype_iq_api_client.models.api_component_dtov2.ApiComponentDTOV2(
                                component_identifier = sonatype_iq_api_client.models.api_component_identifier_dtov2.ApiComponentIdentifierDTOV2(
                                    coordinates = {
                                        'key' : ''
                                        }, 
                                    format = '', ), 
                                display_name = '', 
                                hash = '', 
                                original_purl = '', 
                                package_url = '', 
                                proprietary = True, 
                                sha256 = '', 
                                third_party = True, ), ), 
                        direct_dependency = True, 
                        direct_dependency_data = [
                            sonatype_iq_api_client.models.api_component_change_action_dto.ApiComponentChangeActionDTO()
                            ], 
                        is_golden = True, 
                        type = 'next-no-violations', ), 
                    version_changes = [
                        sonatype_iq_api_client.models.api_version_change_option_dto.ApiVersionChangeOptionDTO(
                            direct_dependency = True, 
                            type = 'next-no-violations', )
                        ], ),
        )
        """

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

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