# coding: utf-8

"""
    Artifact Keeper API

    REST API for Artifact Keeper, an open-source universal artifact registry. Covers user management, repositories, artifacts, search, security scanning, SBOM, dependency tracking, SSO, analytics, monitoring, telemetry, lifecycle policies, plugins, edge nodes, migration, and administration. Format-specific protocol endpoints (npm, PyPI, Maven, Docker/OCI, etc.) are not included; those follow their respective upstream specifications.

    The version of the OpenAPI document: 1.0.0-a2
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from artifact_keeper_client.models.get_cve_history200_response import GetCveHistory200Response

class TestGetCveHistory200Response(unittest.TestCase):
    """GetCveHistory200Response unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> GetCveHistory200Response:
        """Test GetCveHistory200Response
            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 `GetCveHistory200Response`
        """
        model = GetCveHistory200Response()
        if include_optional:
            return GetCveHistory200Response(
                items = [
                    artifact_keeper_client.models.cve_history_entry.CveHistoryEntry(
                        id = '', 
                        artifact_id = '', 
                        sbom_id = '', 
                        component_id = '', 
                        scan_result_id = '', 
                        cve_id = '', 
                        affected_component = '', 
                        affected_version = '', 
                        fixed_version = '', 
                        severity = '', 
                        cvss_score = 1.337, 
                        cve_published_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        first_detected_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        last_detected_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        status = '', 
                        acknowledged_by = '', 
                        acknowledged_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        acknowledged_reason = '', 
                        created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
                    ]
            )
        else:
            return GetCveHistory200Response(
                items = [
                    artifact_keeper_client.models.cve_history_entry.CveHistoryEntry(
                        id = '', 
                        artifact_id = '', 
                        sbom_id = '', 
                        component_id = '', 
                        scan_result_id = '', 
                        cve_id = '', 
                        affected_component = '', 
                        affected_version = '', 
                        fixed_version = '', 
                        severity = '', 
                        cvss_score = 1.337, 
                        cve_published_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        first_detected_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        last_detected_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        status = '', 
                        acknowledged_by = '', 
                        acknowledged_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        acknowledged_reason = '', 
                        created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
                    ],
        )
        """

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

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