# coding: utf-8

"""
    Artifact Keeper API

    Enterprise artifact registry supporting 45+ package formats.

    The version of the OpenAPI document: 1.0.0-rc.3
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from artifact_keeper_client.models.build_response import BuildResponse

class TestBuildResponse(unittest.TestCase):
    """BuildResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> BuildResponse:
        """Test BuildResponse
            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 `BuildResponse`
        """
        model = BuildResponse()
        if include_optional:
            return BuildResponse(
                agent = '',
                artifact_count = 56,
                created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                duration_ms = 56,
                finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                id = '',
                metadata = artifact_keeper_client.models.metadata.metadata(),
                modules = [
                    artifact_keeper_client.models.build_module.BuildModule(
                        artifacts = [
                            artifact_keeper_client.models.build_artifact.BuildArtifact(
                                checksum_sha256 = '', 
                                name = '', 
                                path = '', 
                                size_bytes = 56, )
                            ], 
                        id = '', 
                        name = '', )
                    ],
                name = '',
                number = 56,
                started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                status = '',
                updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                vcs_branch = '',
                vcs_message = '',
                vcs_revision = '',
                vcs_url = ''
            )
        else:
            return BuildResponse(
                created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                id = '',
                name = '',
                number = 56,
                status = '',
                updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
        )
        """

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

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