# 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.search_taskflow_nodes_response import SearchTaskflowNodesResponse

class TestSearchTaskflowNodesResponse(unittest.TestCase):
    """SearchTaskflowNodesResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> SearchTaskflowNodesResponse:
        """Test SearchTaskflowNodesResponse
            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 `SearchTaskflowNodesResponse`
        """
        model = SearchTaskflowNodesResponse()
        if include_optional:
            return SearchTaskflowNodesResponse(
                next_page_token = '',
                result = [
                    teambition_oapi_sdk.models.search_taskflow_nodes_200_response_result_inner.SearchTaskflowNodes_200_response_result_inner(
                        id = '', 
                        name = '', 
                        prev_ids = [
                            ''
                            ], 
                        tfs_id = '', 
                        done_type = '', 
                        is_auto_finish = True, 
                        require_all_subtask_done = True, 
                        permissions = [
                            teambition_oapi_sdk.models.search_form_record_process_nodes_v3_200_response_result_inner_permissions_inner.SearchFormRecordProcessNodesV3_200_response_result_inner_permissions_inner(
                                action = '', 
                                allow_roles = [
                                    ''
                                    ], )
                            ], )
                    ],
                code = 1.337,
                error_message = '',
                request_id = ''
            )
        else:
            return SearchTaskflowNodesResponse(
        )
        """

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

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