# 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.approval_list_response import ApprovalListResponse

class TestApprovalListResponse(unittest.TestCase):
    """ApprovalListResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ApprovalListResponse:
        """Test ApprovalListResponse
            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 `ApprovalListResponse`
        """
        model = ApprovalListResponse()
        if include_optional:
            return ApprovalListResponse(
                items = [
                    artifact_keeper_client.models.approval_response.ApprovalResponse(
                        artifact_id = '', 
                        id = '', 
                        notes = '', 
                        policy_result = artifact_keeper_client.models.policy_result.policy_result(), 
                        requested_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        requested_by = '', 
                        review_notes = '', 
                        reviewed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        reviewed_by = '', 
                        source_repository = '', 
                        status = '', 
                        target_repository = '', )
                    ],
                pagination = artifact_keeper_client.models.pagination.Pagination(
                    page = 0, 
                    per_page = 0, 
                    total = 56, 
                    total_pages = 0, )
            )
        else:
            return ApprovalListResponse(
                items = [
                    artifact_keeper_client.models.approval_response.ApprovalResponse(
                        artifact_id = '', 
                        id = '', 
                        notes = '', 
                        policy_result = artifact_keeper_client.models.policy_result.policy_result(), 
                        requested_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        requested_by = '', 
                        review_notes = '', 
                        reviewed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        reviewed_by = '', 
                        source_repository = '', 
                        status = '', 
                        target_repository = '', )
                    ],
                pagination = artifact_keeper_client.models.pagination.Pagination(
                    page = 0, 
                    per_page = 0, 
                    total = 56, 
                    total_pages = 0, ),
        )
        """

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

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