# coding: utf-8

"""
    Collibra Data Governance Center Core API

    <p>The Core REST API allows you to create your own integrations with Collibra Data Governance Center.</p><p><i>Create custom applications to help users get access to the right data.</i></p>  # noqa: E501

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


from __future__ import absolute_import

import unittest
import datetime

import collibra_core
from collibra_core.models.paged_response_jdbc_driver import PagedResponseJdbcDriver  # noqa: E501
from collibra_core.rest import ApiException

class TestPagedResponseJdbcDriver(unittest.TestCase):
    """PagedResponseJdbcDriver unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test PagedResponseJdbcDriver
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = collibra_core.models.paged_response_jdbc_driver.PagedResponseJdbcDriver()  # noqa: E501
        if include_optional :
            return PagedResponseJdbcDriver(
                total = 1000, 
                offset = 10, 
                limit = 100, 
                results = [
                    collibra_core.models.jdbc_driver.JdbcDriver(
                        id = '0', 
                        created_by = '4d250cc5-e583-4640-9874-b93d82c7a6cb', 
                        created_on = 1475503010320, 
                        last_modified_by = 'a073ff90-e7bc-4b35-ba90-c4d475f642fe', 
                        last_modified_on = 1476703764163, 
                        system = True, 
                        resource_type = 'View', 
                        database_name = '0', 
                        database_version = '0', 
                        driver = '0', 
                        connection_string = '0', 
                        jdbc_driver_files = [
                            collibra_core.models.jdbc_driver_file.JdbcDriverFile(
                                id = '0', 
                                created_by = '4d250cc5-e583-4640-9874-b93d82c7a6cb', 
                                created_on = 1475503010320, 
                                last_modified_by = 'a073ff90-e7bc-4b35-ba90-c4d475f642fe', 
                                last_modified_on = 1476703764163, 
                                system = True, 
                                resource_type = 'View', 
                                file_name = '0', 
                                file_type = '0', )
                            ], 
                        connection_string_parameters = [
                            collibra_core.models.connection_string_parameter.ConnectionStringParameter(
                                id = '0', 
                                label = '0', 
                                parameter = '0', 
                                required = True, )
                            ], )
                    ]
            )
        else :
            return PagedResponseJdbcDriver(
        )

    def testPagedResponseJdbcDriver(self):
        """Test PagedResponseJdbcDriver"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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