# coding: utf-8

"""
    Teambition Open API

    Teambition Open API

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

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



import unittest

from teambition_oapi_sdk.models.sync_builds_request import SyncBuildsRequest

class TestSyncBuildsRequest(unittest.TestCase):
    """SyncBuildsRequest unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> SyncBuildsRequest:
        """Test SyncBuildsRequest
            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 `SyncBuildsRequest`
        """
        model = SyncBuildsRequest()
        if include_optional:
            return SyncBuildsRequest(
                build = teambition_oapi_sdk.models.sync_builds_request_build.SyncBuilds_request_build(
                    code = '', 
                    number = 1.337, 
                    status = 'BuildStatusList', 
                    duration = 1.337, 
                    timestamp = 1.337, 
                    url = '', 
                    log = '', 
                    cause = teambition_oapi_sdk.models.sync_builds_request_build_cause.SyncBuilds_request_build_cause(
                        cause_type = '', 
                        user_id = '', 
                        user_name = '', ), 
                    repo = teambition_oapi_sdk.models.sync_builds_request_build_repo.SyncBuilds_request_build_repo(
                        type = 'git', 
                        remote_url = '', 
                        branch = teambition_oapi_sdk.models.sync_builds_request_build_repo_branch.SyncBuilds_request_build_repo_branch(
                            sha1 = '', 
                            name = '', ), ), 
                    change_sets = [
                        teambition_oapi_sdk.models.sync_builds_request_build_change_sets_inner.SyncBuilds_request_build_changeSets_inner(
                            type = 'git', 
                            sha_id = '', 
                            html_url = '', 
                            msg = '', 
                            timestamp = 1.337, 
                            user = teambition_oapi_sdk.models.sync_builds_request_build_change_sets_inner_user.SyncBuilds_request_build_changeSets_inner_user(
                                user_id = '', 
                                name = '', ), )
                        ], 
                    stages = [
                        teambition_oapi_sdk.models.sync_builds_request_build_stages_inner.SyncBuilds_request_build_stages_inner(
                            code = '', 
                            name = '', 
                            status = '', 
                            timestamp = 1.337, 
                            duration = 1.337, 
                            pause_duration = 1.337, 
                            error_type = '', 
                            error_message = '', 
                            sub_stages = [
                                teambition_oapi_sdk.models.sync_builds_request_build_stages_inner_sub_stages_inner.SyncBuilds_request_build_stages_inner_subStages_inner(
                                    code = '', 
                                    name = '', 
                                    status = '', 
                                    timestamp = 1.337, 
                                    duration = 1.337, 
                                    pause_duration = 1.337, 
                                    error_type = '', 
                                    error_message = '', 
                                    log = '', )
                                ], )
                        ], )
            )
        else:
            return SyncBuildsRequest(
        )
        """

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

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