# 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.chat_history import ChatHistory

class TestChatHistory(unittest.TestCase):
    """ChatHistory unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ChatHistory:
        """Test ChatHistory
            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 `ChatHistory`
        """
        model = ChatHistory()
        if include_optional:
            return ChatHistory(
                id = 56,
                message = None,
                inserted_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                title = '',
                feedback = None,
                files = None,
                artifact_versions = [
                    iblai.models.artifact_version.ArtifactVersion(
                        id = 56, 
                        artifact = iblai.models.artifact.Artifact(
                            id = 56, 
                            title = '', 
                            content = '', 
                            file_extension = '', 
                            llm_name = '', 
                            llm_provider = '', 
                            date_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                            date_updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                            metadata = null, 
                            username = '', 
                            session_id = '', 
                            current_version_number = 56, 
                            version_count = 56, ), 
                        title = '', 
                        content = '', 
                        session_id = '', 
                        content_length = 56, 
                        is_current = True, 
                        chat_message = 56, 
                        version_number = 56, 
                        date_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        created_by = '', 
                        change_summary = '', 
                        interface = null, )
                    ]
            )
        else:
            return ChatHistory(
                id = 56,
                message = None,
                inserted_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                feedback = None,
                files = None,
                artifact_versions = [
                    iblai.models.artifact_version.ArtifactVersion(
                        id = 56, 
                        artifact = iblai.models.artifact.Artifact(
                            id = 56, 
                            title = '', 
                            content = '', 
                            file_extension = '', 
                            llm_name = '', 
                            llm_provider = '', 
                            date_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                            date_updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                            metadata = null, 
                            username = '', 
                            session_id = '', 
                            current_version_number = 56, 
                            version_count = 56, ), 
                        title = '', 
                        content = '', 
                        session_id = '', 
                        content_length = 56, 
                        is_current = True, 
                        chat_message = 56, 
                        version_number = 56, 
                        date_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        created_by = '', 
                        change_summary = '', 
                        interface = null, )
                    ],
        )
        """

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

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