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

class TestContentResponse(unittest.TestCase):
    """ContentResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ContentResponse:
        """Test ContentResponse
            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 `ContentResponse`
        """
        model = ContentResponse()
        if include_optional:
            return ContentResponse(
                metric = '',
                summary = iblai.models.content_summary.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, )
                        ], ),
                pagination = iblai.models.content_pagination.ContentPagination(
                    count = 56, 
                    next = '', 
                    previous = '', 
                    current_page = 56, 
                    total_pages = 56, ),
                results = [
                    iblai.models.content_item.ContentItem(
                        id = '', 
                        name = '', 
                        slug = '', 
                        platform = '', 
                        external = True, 
                        analytics = iblai.models.content_analytics.ContentAnalytics(
                            enrollments = 56, 
                            active_enrollments = 56, 
                            completion_rate = 1.337, 
                            avg_rating = 1.337, 
                            rating_count = 56, 
                            associated_courses = 56, 
                            learners_count = 56, 
                            total_time_spent = 56, 
                            avg_time_per_learner = 1.337, ), 
                        instructor = '', 
                        category = '', 
                        duration = '', 
                        enabled = True, 
                        created = '', 
                        updated = '', 
                        metadata = null, )
                    ]
            )
        else:
            return ContentResponse(
                metric = '',
                summary = iblai.models.content_summary.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, )
                        ], ),
                pagination = iblai.models.content_pagination.ContentPagination(
                    count = 56, 
                    next = '', 
                    previous = '', 
                    current_page = 56, 
                    total_pages = 56, ),
                results = [
                    iblai.models.content_item.ContentItem(
                        id = '', 
                        name = '', 
                        slug = '', 
                        platform = '', 
                        external = True, 
                        analytics = iblai.models.content_analytics.ContentAnalytics(
                            enrollments = 56, 
                            active_enrollments = 56, 
                            completion_rate = 1.337, 
                            avg_rating = 1.337, 
                            rating_count = 56, 
                            associated_courses = 56, 
                            learners_count = 56, 
                            total_time_spent = 56, 
                            avg_time_per_learner = 1.337, ), 
                        instructor = '', 
                        category = '', 
                        duration = '', 
                        enabled = True, 
                        created = '', 
                        updated = '', 
                        metadata = null, )
                    ],
        )
        """

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

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