# 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.content_summary import ContentSummary

class TestContentSummary(unittest.TestCase):
    """ContentSummary unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ContentSummary:
        """Test ContentSummary
            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 `ContentSummary`
        """
        model = ContentSummary()
        if include_optional:
            return ContentSummary(
                totals = iblai.models.content_totals.ContentTotals(
                    total_learners = 56, 
                    total_enrollments = 56, 
                    total_time_spent = 56, 
                    courses = 56, 
                    active_courses = 56, 
                    platform_courses = 56, 
                    external_courses = 56, 
                    programs = 56, 
                    active_programs = 56, 
                    platform_programs = 56, 
                    external_programs = 56, 
                    pathways = 56, 
                    active_pathways = 56, 
                    platform_pathways = 56, 
                    external_pathways = 56, 
                    skills = 56, 
                    active_skills = 56, 
                    platform_skills = 56, 
                    external_skills = 56, 
                    associated_courses = 56, 
                    learners_with_skills = 56, ),
                averages = iblai.models.content_averages.ContentAverages(
                    completion_rate = 1.337, 
                    average_rating = 1.337, 
                    enrollments_per_course = 1.337, 
                    enrollments_per_program = 1.337, 
                    enrollments_per_pathway = 1.337, 
                    courses_per_skill = 1.337, 
                    time_per_learner = 1.337, ),
                overtime = [
                    iblai.models.overtime_data_point.OvertimeDataPoint(
                        date = '', 
                        value = 56, )
                    ]
            )
        else:
            return ContentSummary(
                totals = iblai.models.content_totals.ContentTotals(
                    total_learners = 56, 
                    total_enrollments = 56, 
                    total_time_spent = 56, 
                    courses = 56, 
                    active_courses = 56, 
                    platform_courses = 56, 
                    external_courses = 56, 
                    programs = 56, 
                    active_programs = 56, 
                    platform_programs = 56, 
                    external_programs = 56, 
                    pathways = 56, 
                    active_pathways = 56, 
                    platform_pathways = 56, 
                    external_pathways = 56, 
                    skills = 56, 
                    active_skills = 56, 
                    platform_skills = 56, 
                    external_skills = 56, 
                    associated_courses = 56, 
                    learners_with_skills = 56, ),
                averages = iblai.models.content_averages.ContentAverages(
                    completion_rate = 1.337, 
                    average_rating = 1.337, 
                    enrollments_per_course = 1.337, 
                    enrollments_per_program = 1.337, 
                    enrollments_per_pathway = 1.337, 
                    courses_per_skill = 1.337, 
                    time_per_learner = 1.337, ),
        )
        """

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

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