# 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.historic_incident_dto import HistoricIncidentDto  # noqa: E501
from generic_camunda_client.rest import ApiException

class TestHistoricIncidentDto(unittest.TestCase):
    """HistoricIncidentDto unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test HistoricIncidentDto
            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.historic_incident_dto.HistoricIncidentDto()  # noqa: E501
        if include_optional :
            return HistoricIncidentDto(
                id = '0', 
                process_definition_key = '0', 
                process_definition_id = '0', 
                process_instance_id = '0', 
                execution_id = '0', 
                root_process_instance_id = '0', 
                create_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                removal_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                incident_type = '0', 
                activity_id = '0', 
                failed_activity_id = '0', 
                cause_incident_id = '0', 
                root_cause_incident_id = '0', 
                configuration = '0', 
                history_configuration = '0', 
                incident_message = '0', 
                tenant_id = '0', 
                job_definition_id = '0', 
                open = True, 
                deleted = True, 
                resolved = True, 
                annotation = '0'
            )
        else :
            return HistoricIncidentDto(
        )

    def testHistoricIncidentDto(self):
        """Test HistoricIncidentDto"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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