# 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.get_pipeline_response_result import GetPipelineResponseResult

class TestGetPipelineResponseResult(unittest.TestCase):
    """GetPipelineResponseResult unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> GetPipelineResponseResult:
        """Test GetPipelineResponseResult
            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 `GetPipelineResponseResult`
        """
        model = GetPipelineResponseResult()
        if include_optional:
            return GetPipelineResponseResult(
                id = '',
                code = '',
                organization_id = '',
                platform_id = '',
                version = 56,
                created_at = '',
                name = '',
                type = '',
                updated_at = '',
                url = '',
                build_url = '',
                build_params = [
                    teambition_oapi_sdk.models.update_pipeline_params_request_build_params_inner.UpdatePipelineParams_request_buildParams_inner(
                        name = '', 
                        type = 'PipelineParamType.String', 
                        description = '', 
                        default_value = teambition_oapi_sdk.models.update_pipeline_params_request_build_params_inner_default_value.UpdatePipelineParams_request_buildParams_inner_defaultValue(
                            value = '', ), 
                        choices = [
                            teambition_oapi_sdk.models.update_pipeline_params_request_build_params_inner_choices_inner.UpdatePipelineParams_request_buildParams_inner_choices_inner(
                                code = '', 
                                name = '', )
                            ], )
                    ],
                last_build = teambition_oapi_sdk.models.get_pipeline_200_response_result_last_build.GetPipeline_200_response_result_lastBuild(
                    number = 1.337, 
                    code = '', 
                    name = '', 
                    full_name = '', 
                    in_progress = True, 
                    duration = 1.337, 
                    status = '', 
                    timestamp = 1.337, 
                    url = '', )
            )
        else:
            return GetPipelineResponseResult(
        )
        """

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

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