# coding: utf-8

"""
    ibl-data-manager

    API for iblai

    The version of the OpenAPI document: 4.202.1-ai-plus
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from iblai.models.learner_list_response import LearnerListResponse

class TestLearnerListResponse(unittest.TestCase):
    """LearnerListResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> LearnerListResponse:
        """Test LearnerListResponse
            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 `LearnerListResponse`
        """
        model = LearnerListResponse()
        if include_optional:
            return LearnerListResponse(
                platform = iblai.models.platform_info.PlatformInfo(
                    platform_id = 56, 
                    platform_name = '', 
                    platform_key = '', ),
                learners = [
                    iblai.models.learner_list_item.LearnerListItem(
                        user_id = 56, 
                        username = '', 
                        email = '', 
                        name = '', 
                        is_active = True, 
                        platform_id = 56, 
                        platform_name = '', 
                        platform_key = '', 
                        metrics = null, 
                        first_activity = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        last_activity = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
                    ],
                pagination = iblai.models.learner_list_pagination.LearnerListPagination(
                    page = 56, 
                    limit = 56, 
                    total_pages = 56, 
                    total_records = 56, 
                    has_next = True, 
                    has_previous = True, 
                    next_page = 56, 
                    previous_page = 56, ),
                generated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f')
            )
        else:
            return LearnerListResponse(
                platform = iblai.models.platform_info.PlatformInfo(
                    platform_id = 56, 
                    platform_name = '', 
                    platform_key = '', ),
                learners = [
                    iblai.models.learner_list_item.LearnerListItem(
                        user_id = 56, 
                        username = '', 
                        email = '', 
                        name = '', 
                        is_active = True, 
                        platform_id = 56, 
                        platform_name = '', 
                        platform_key = '', 
                        metrics = null, 
                        first_activity = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        last_activity = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
                    ],
                pagination = iblai.models.learner_list_pagination.LearnerListPagination(
                    page = 56, 
                    limit = 56, 
                    total_pages = 56, 
                    total_records = 56, 
                    has_next = True, 
                    has_previous = True, 
                    next_page = 56, 
                    previous_page = 56, ),
                generated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
        )
        """

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

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