# 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_build_stages_inner import SyncBuildsRequestBuildStagesInner

class TestSyncBuildsRequestBuildStagesInner(unittest.TestCase):
    """SyncBuildsRequestBuildStagesInner unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> SyncBuildsRequestBuildStagesInner:
        """Test SyncBuildsRequestBuildStagesInner
            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 `SyncBuildsRequestBuildStagesInner`
        """
        model = SyncBuildsRequestBuildStagesInner()
        if include_optional:
            return SyncBuildsRequestBuildStagesInner(
                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 SyncBuildsRequestBuildStagesInner(
                code = '',
                name = '',
                status = '',
                timestamp = 1.337,
        )
        """

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

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