# 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.artifact_version import ArtifactVersion

class TestArtifactVersion(unittest.TestCase):
    """ArtifactVersion unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ArtifactVersion:
        """Test ArtifactVersion
            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 `ArtifactVersion`
        """
        model = ArtifactVersion()
        if include_optional:
            return 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 = 'chat'
            )
        else:
            return 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'),
                interface = 'chat',
        )
        """

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

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