# coding: utf-8

"""
    Camunda Platform REST API

    OpenApi Spec for Camunda Platform REST API.  # noqa: E501

    The version of the OpenAPI document: 7.18.0
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import generic_camunda_client
from generic_camunda_client.models.external_task_failure_dto_all_of import ExternalTaskFailureDtoAllOf  # noqa: E501
from generic_camunda_client.rest import ApiException

class TestExternalTaskFailureDtoAllOf(unittest.TestCase):
    """ExternalTaskFailureDtoAllOf unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test ExternalTaskFailureDtoAllOf
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = generic_camunda_client.models.external_task_failure_dto_all_of.ExternalTaskFailureDtoAllOf()  # noqa: E501
        if include_optional :
            return ExternalTaskFailureDtoAllOf(
                error_message = '0', 
                error_details = '0', 
                retries = 56, 
                retry_timeout = 56, 
                variables = {
                    'key' : generic_camunda_client.models.variable_value_dto.VariableValueDto(
                        value = null, 
                        type = '0', 
                        value_info = { }, )
                    }, 
                local_variables = {
                    'key' : generic_camunda_client.models.variable_value_dto.VariableValueDto(
                        value = null, 
                        type = '0', 
                        value_info = { }, )
                    }
            )
        else :
            return ExternalTaskFailureDtoAllOf(
        )

    def testExternalTaskFailureDtoAllOf(self):
        """Test ExternalTaskFailureDtoAllOf"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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