# 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 import GetPipelineResponse

class TestGetPipelineResponse(unittest.TestCase):
    """GetPipelineResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> GetPipelineResponse:
        """Test GetPipelineResponse
            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 `GetPipelineResponse`
        """
        model = GetPipelineResponse()
        if include_optional:
            return GetPipelineResponse(
                result = teambition_oapi_sdk.models.get_pipeline_200_response_result.GetPipeline_200_response_result(
                    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 = '', ), ),
                code = 1.337,
                error_message = '',
                request_id = ''
            )
        else:
            return GetPipelineResponse(
        )
        """

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

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