# 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_item import LearnerListItem

class TestLearnerListItem(unittest.TestCase):
    """LearnerListItem unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> LearnerListItem:
        """Test LearnerListItem
            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 `LearnerListItem`
        """
        model = LearnerListItem()
        if include_optional:
            return LearnerListItem(
                user_id = 56,
                username = '',
                email = '',
                name = '',
                is_active = True,
                platform_id = 56,
                platform_name = '',
                platform_key = '',
                metrics = iblai.models.learner_metrics.LearnerMetrics(
                    enrollments = 56, 
                    programs = 56, 
                    pathways = 56, 
                    resources = 56, 
                    reported_skills = 56, 
                    desired_skills = 56, 
                    assigned_skills = 56, 
                    total_skills = 56, 
                    credentials = 56, 
                    points = 1.337, 
                    total_time_spent_seconds = 56, 
                    top_content = 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')
            )
        else:
            return LearnerListItem(
                user_id = 56,
                username = '',
                email = '',
                name = '',
                is_active = True,
                platform_id = 56,
                platform_name = '',
                platform_key = '',
                metrics = iblai.models.learner_metrics.LearnerMetrics(
                    enrollments = 56, 
                    programs = 56, 
                    pathways = 56, 
                    resources = 56, 
                    reported_skills = 56, 
                    desired_skills = 56, 
                    assigned_skills = 56, 
                    total_skills = 56, 
                    credentials = 56, 
                    points = 1.337, 
                    total_time_spent_seconds = 56, 
                    top_content = 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'),
        )
        """

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

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