# 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_data import LearnerData

class TestLearnerData(unittest.TestCase):
    """LearnerData unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> LearnerData:
        """Test LearnerData
            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 `LearnerData`
        """
        model = LearnerData()
        if include_optional:
            return LearnerData(
                courses = [
                    iblai.models.course_detail.CourseDetail(
                        course_id = '', 
                        name = '', 
                        platform = '', 
                        enrollment = iblai.models.enrollment_info.EnrollmentInfo(
                            created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                            started = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                            ended = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                            active = True, ), 
                        completion = null, 
                        time_spent = '', 
                        time_spent_secs = 56, )
                    ],
                programs = [
                    iblai.models.program_detail.ProgramDetail(
                        program_id = '', 
                        name = '', 
                        platform = '', 
                        enrollment = iblai.models.enrollment_info.EnrollmentInfo(
                            created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                            started = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                            ended = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                            active = True, ), 
                        completion = null, )
                    ],
                pathways = [
                    iblai.models.pathway_detail.PathwayDetail(
                        pathway_id = '', 
                        name = '', 
                        platform = '', 
                        enrollment = iblai.models.pathway_enrollment.PathwayEnrollment(
                            created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                            ended = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                            active = True, ), 
                        completion = null, )
                    ],
                mentors = [
                    iblai.models.mentor_detail.MentorDetail(
                        mentor_id = '', 
                        name = '', 
                        slug = '', 
                        platform_key = '', 
                        categories = [
                            ''
                            ], 
                        subjects = [
                            ''
                            ], 
                        interactions = iblai.models.mentor_interactions.MentorInteractions(
                            total_messages = 56, 
                            latest_interaction = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                            rating = 1.337, ), )
                    ],
                skills = iblai.models.skills_detail.SkillsDetail(
                    desired = [
                        iblai.models.skill.Skill(
                            skill_id = 56, 
                            name = '', 
                            slug = '', 
                            platform = '', )
                        ], 
                    reported = [
                        iblai.models.skill.Skill(
                            skill_id = 56, 
                            name = '', 
                            slug = '', 
                            platform = '', )
                        ], ),
                credentials = [
                    iblai.models.credential.Credential(
                        credential_id = '', 
                        credential_url = '', 
                        name = '', 
                        credential_type = '', 
                        issuer = '', 
                        issued_on = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        revoked = True, )
                    ],
                time_spent = iblai.models.time_spent_detail.TimeSpentDetail(
                    courses = [
                        iblai.models.time_spent_course.TimeSpentCourse(
                            course_id = '', 
                            course_name = '', 
                            platform = '', 
                            time_spent = '', 
                            time_spent_secs = 56, )
                        ], 
                    total_time_spent = '', 
                    total_time_spent_secs = 56, 
                    overtime = [
                        iblai.models.overtime_data_point.OvertimeDataPoint(
                            date = '', 
                            value = 56, )
                        ], )
            )
        else:
            return LearnerData(
        )
        """

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

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