# 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_analytics_result import LearnerAnalyticsResult

class TestLearnerAnalyticsResult(unittest.TestCase):
    """LearnerAnalyticsResult unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> LearnerAnalyticsResult:
        """Test LearnerAnalyticsResult
            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 `LearnerAnalyticsResult`
        """
        model = LearnerAnalyticsResult()
        if include_optional:
            return LearnerAnalyticsResult(
                platform_id = 56,
                platform_name = '',
                platform_key = '',
                summary = iblai.models.platform_summary.PlatformSummary(
                    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, 
                    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'), 
                    total_time_spent_seconds = 56, 
                    top_content = null, ),
                metrics = iblai.models.platform_metrics.PlatformMetrics(
                    enrollments = iblai.models.metric_detail.MetricDetail(
                        total = 56, 
                        details = [
                            {
                                'key' : null
                                }
                            ], ), 
                    programs = iblai.models.metric_detail.MetricDetail(
                        total = 56, ), 
                    pathways = , 
                    resources = , 
                    skills = iblai.models.skills_metric.SkillsMetric(
                        reported = 56, 
                        desired = 56, 
                        assigned = 56, 
                        total = 56, ), 
                    credentials = , 
                    points = iblai.models.points_metric.PointsMetric(
                        total = 1.337, ), ),
                activity = iblai.models.activity_info.ActivityInfo(
                    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'), ),
                last_updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                user_id = 56
            )
        else:
            return LearnerAnalyticsResult(
                platform_id = 56,
                platform_name = '',
                platform_key = '',
        )
        """

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

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