# coding: utf-8

"""
    Artifact Keeper API

    Enterprise artifact registry supporting 45+ package formats.

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

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


import unittest

from artifact_keeper_client.models.promotion_rule_list_response import PromotionRuleListResponse

class TestPromotionRuleListResponse(unittest.TestCase):
    """PromotionRuleListResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> PromotionRuleListResponse:
        """Test PromotionRuleListResponse
            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 `PromotionRuleListResponse`
        """
        model = PromotionRuleListResponse()
        if include_optional:
            return PromotionRuleListResponse(
                items = [
                    artifact_keeper_client.models.promotion_rule_response.PromotionRuleResponse(
                        allowed_licenses = [
                            ''
                            ], 
                        auto_promote = True, 
                        created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        id = '', 
                        is_enabled = True, 
                        max_artifact_age_days = 56, 
                        max_cve_severity = '', 
                        min_health_score = 56, 
                        min_staging_hours = 56, 
                        name = '', 
                        require_signature = True, 
                        source_repo_id = '', 
                        target_repo_id = '', 
                        updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
                    ],
                total = 0
            )
        else:
            return PromotionRuleListResponse(
                items = [
                    artifact_keeper_client.models.promotion_rule_response.PromotionRuleResponse(
                        allowed_licenses = [
                            ''
                            ], 
                        auto_promote = True, 
                        created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        id = '', 
                        is_enabled = True, 
                        max_artifact_age_days = 56, 
                        max_cve_severity = '', 
                        min_health_score = 56, 
                        min_staging_hours = 56, 
                        name = '', 
                        require_signature = True, 
                        source_repo_id = '', 
                        target_repo_id = '', 
                        updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
                    ],
                total = 0,
        )
        """

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

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