# 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_response import LearnerAnalyticsResponse

class TestLearnerAnalyticsResponse(unittest.TestCase):
    """LearnerAnalyticsResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> LearnerAnalyticsResponse:
        """Test LearnerAnalyticsResponse
            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 `LearnerAnalyticsResponse`
        """
        model = LearnerAnalyticsResponse()
        if include_optional:
            return LearnerAnalyticsResponse(
                user = iblai.models.user_info.UserInfo(
                    user_id = 56, 
                    username = '', 
                    email = '', 
                    name = '', 
                    is_active = True, 
                    last_active = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    date_joined = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ),
                summary = iblai.models.learner_summary.LearnerSummary(
                    total_time_spent_seconds = 56, ),
                results = [
                    iblai.models.learner_analytics_result.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, )
                    ],
                pagination = iblai.models.pagination.Pagination(
                    total_items = 56, 
                    current_page = 56, 
                    per_page = 56, 
                    total_pages = 56, ),
                overtime = [
                    iblai.models.overtime_data_point.OvertimeDataPoint(
                        date = '', 
                        value = 56, )
                    ],
                generated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f')
            )
        else:
            return LearnerAnalyticsResponse(
                user = iblai.models.user_info.UserInfo(
                    user_id = 56, 
                    username = '', 
                    email = '', 
                    name = '', 
                    is_active = True, 
                    last_active = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    date_joined = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ),
                summary = iblai.models.learner_summary.LearnerSummary(
                    total_time_spent_seconds = 56, ),
                results = [
                    iblai.models.learner_analytics_result.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, )
                    ],
                pagination = iblai.models.pagination.Pagination(
                    total_items = 56, 
                    current_page = 56, 
                    per_page = 56, 
                    total_pages = 56, ),
                generated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
        )
        """

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

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