# coding: utf-8

"""
    Camunda Platform REST API

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

    The version of the OpenAPI document: 7.16.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.variable_instance_query_dto import VariableInstanceQueryDto  # noqa: E501
from generic_camunda_client.rest import ApiException

class TestVariableInstanceQueryDto(unittest.TestCase):
    """VariableInstanceQueryDto unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test VariableInstanceQueryDto
            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.variable_instance_query_dto.VariableInstanceQueryDto()  # noqa: E501
        if include_optional :
            return VariableInstanceQueryDto(
                variable_name = '0', 
                variable_name_like = '0', 
                process_instance_id_in = [
                    '0'
                    ], 
                execution_id_in = [
                    '0'
                    ], 
                case_instance_id_in = [
                    '0'
                    ], 
                case_execution_id_in = [
                    '0'
                    ], 
                task_id_in = [
                    '0'
                    ], 
                batch_id_in = [
                    '0'
                    ], 
                activity_instance_id_in = [
                    '0'
                    ], 
                tenant_id_in = [
                    '0'
                    ], 
                variable_values = [
                    null
                    ], 
                variable_names_ignore_case = True, 
                variable_values_ignore_case = True, 
                variable_scope_id_in = [
                    '0'
                    ], 
                sorting = [
                    generic_camunda_client.models.variable_instance_query_dto_sorting.VariableInstanceQueryDto_sorting(
                        sort_by = 'variableName', 
                        sort_order = 'asc', )
                    ]
            )
        else :
            return VariableInstanceQueryDto(
        )

    def testVariableInstanceQueryDto(self):
        """Test VariableInstanceQueryDto"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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