# 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_details_response import ContentDetailsResponse

class TestContentDetailsResponse(unittest.TestCase):
    """ContentDetailsResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ContentDetailsResponse:
        """Test ContentDetailsResponse
            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 `ContentDetailsResponse`
        """
        model = ContentDetailsResponse()
        if include_optional:
            return ContentDetailsResponse(
                content_info = iblai.models.content_details_content_info.ContentDetailsContentInfo(
                    id = '', 
                    name = '', 
                    type = '', 
                    slug = '', 
                    platform = '', 
                    external = True, 
                    metadata = {
                        'key' : null
                        }, ),
                summary = iblai.models.content_details_summary.ContentDetailsSummary(
                    totals = {
                        'key' : 1.337
                        }, 
                    averages = {
                        'key' : 1.337
                        }, 
                    time_series = null, ),
                pagination = iblai.models.content_details_pagination.ContentDetailsPagination(
                    count = 56, 
                    next = '', 
                    previous = '', 
                    current_page = 56, 
                    total_pages = 56, ),
                learners = [
                    iblai.models.content_details_learner.ContentDetailsLearner(
                        user_id = 56, 
                        username = '', 
                        email = '', 
                        name = '', 
                        enrollment_date = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        completion_status = '', 
                        completion_percentage = 1.337, 
                        last_activity = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        rating = 1.337, 
                        review = '', 
                        details = {
                            'key' : null
                            }, )
                    ]
            )
        else:
            return ContentDetailsResponse(
                content_info = iblai.models.content_details_content_info.ContentDetailsContentInfo(
                    id = '', 
                    name = '', 
                    type = '', 
                    slug = '', 
                    platform = '', 
                    external = True, 
                    metadata = {
                        'key' : null
                        }, ),
                summary = iblai.models.content_details_summary.ContentDetailsSummary(
                    totals = {
                        'key' : 1.337
                        }, 
                    averages = {
                        'key' : 1.337
                        }, 
                    time_series = null, ),
                pagination = iblai.models.content_details_pagination.ContentDetailsPagination(
                    count = 56, 
                    next = '', 
                    previous = '', 
                    current_page = 56, 
                    total_pages = 56, ),
                learners = [
                    iblai.models.content_details_learner.ContentDetailsLearner(
                        user_id = 56, 
                        username = '', 
                        email = '', 
                        name = '', 
                        enrollment_date = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        completion_status = '', 
                        completion_percentage = 1.337, 
                        last_activity = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        rating = 1.337, 
                        review = '', 
                        details = {
                            'key' : null
                            }, )
                    ],
        )
        """

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

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