# coding: utf-8

"""
Cybee API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Generated by OpenAPI Generator (https://openapi-generator.tech)

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

import unittest

from cybee_sdk.api.models.page_repository_checks import PageRepositoryChecks


class TestPageRepositoryChecks(unittest.TestCase):
    """PageRepositoryChecks unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> PageRepositoryChecks:
        """Test PageRepositoryChecks
        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 `PageRepositoryChecks`
        """
        model = PageRepositoryChecks()
        if include_optional:
            return PageRepositoryChecks(
                page = 56,
                per_page = 56,
                total_items = 56,
                total_pages = 56,
                items = [
                    cybee_sdk.api.models.repository_checks.RepositoryChecks(
                        id = '', 
                        repository_id = '', 
                        task_id = '', 
                        programmed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        status = 'finished', 
                        message_type = '', 
                        num_errors = 56, 
                        broken_packs = [
                            ''
                            ], 
                        suggest_repair_index = True, 
                        suggest_prune = True, 
                        message = '', )
                    ]
            )
        else:
            return PageRepositoryChecks(
                page = 56,
                per_page = 56,
                total_items = 56,
                items = [
                    cybee_sdk.api.models.repository_checks.RepositoryChecks(
                        id = '', 
                        repository_id = '', 
                        task_id = '', 
                        programmed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        status = 'finished', 
                        message_type = '', 
                        num_errors = 56, 
                        broken_packs = [
                            ''
                            ], 
                        suggest_repair_index = True, 
                        suggest_prune = True, 
                        message = '', )
                    ],
        )
        """

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


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