# 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.196.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.sbom_vulnerability_analysis_request import SbomVulnerabilityAnalysisRequest

class TestSbomVulnerabilityAnalysisRequest(unittest.TestCase):
    """SbomVulnerabilityAnalysisRequest unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> SbomVulnerabilityAnalysisRequest:
        """Test SbomVulnerabilityAnalysisRequest
            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 `SbomVulnerabilityAnalysisRequest`
        """
        model = SbomVulnerabilityAnalysisRequest()
        if include_optional:
            return SbomVulnerabilityAnalysisRequest(
                component_locator = sonatype_iq_api_client.models.component_locator.componentLocator(
                    hash = '', 
                    package_url = '', ),
                vulnerability_analysis = sonatype_iq_api_client.models.vulnerability_analysis.vulnerabilityAnalysis(
                    created_on = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    detail = '', 
                    justification = 'code_not_present', 
                    last_updated_by = '', 
                    last_updated_on = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    response = 'can_not_fix', 
                    state = 'resolved', )
            )
        else:
            return SbomVulnerabilityAnalysisRequest(
                component_locator = sonatype_iq_api_client.models.component_locator.componentLocator(
                    hash = '', 
                    package_url = '', ),
                vulnerability_analysis = sonatype_iq_api_client.models.vulnerability_analysis.vulnerabilityAnalysis(
                    created_on = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    detail = '', 
                    justification = 'code_not_present', 
                    last_updated_by = '', 
                    last_updated_on = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    response = 'can_not_fix', 
                    state = 'resolved', ),
        )
        """

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

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