# coding: utf-8

"""
    Lance Namespace Specification

    This OpenAPI specification is a part of the Lance namespace specification. It contains 2 parts:  The `components/schemas`, `components/responses`, `components/examples`, `tags` sections define the request and response shape for each operation in a Lance Namespace across all implementations. See https://lance.org/format/namespace/operations for more details.  The `servers`, `security`, `paths`, `components/parameters` sections are for the Lance REST Namespace implementation, which defines a complete REST server that can work with Lance datasets. See https://lance.org/format/namespace/rest for more details. 

    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 lance_namespace_urllib3_client.models.batch_commit_tables_response import BatchCommitTablesResponse

class TestBatchCommitTablesResponse(unittest.TestCase):
    """BatchCommitTablesResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> BatchCommitTablesResponse:
        """Test BatchCommitTablesResponse
            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 `BatchCommitTablesResponse`
        """
        model = BatchCommitTablesResponse()
        if include_optional:
            return BatchCommitTablesResponse(
                transaction_id = '',
                results = [
                    lance_namespace_urllib3_client.models.commit_table_result.CommitTableResult(
                        declare_table = lance_namespace_urllib3_client.models.declare_table_response.DeclareTableResponse(
                            transaction_id = '', 
                            location = '', 
                            storage_options = {
                                'key' : ''
                                }, 
                            properties = {owner=Ralph, created_at=1452120468}, 
                            managed_versioning = True, ), 
                        create_table_version = lance_namespace_urllib3_client.models.create_table_version_response.CreateTableVersionResponse(
                            transaction_id = '', 
                            version = lance_namespace_urllib3_client.models.table_version.TableVersion(
                                version = 0, 
                                manifest_path = '', 
                                manifest_size = 0, 
                                e_tag = '', 
                                timestamp_millis = 56, 
                                metadata = {
                                    'key' : ''
                                    }, ), ), 
                        delete_table_versions = lance_namespace_urllib3_client.models.batch_delete_table_versions_response.BatchDeleteTableVersionsResponse(
                            deleted_count = 0, 
                            transaction_id = '', ), 
                        deregister_table = lance_namespace_urllib3_client.models.deregister_table_response.DeregisterTableResponse(
                            transaction_id = '', 
                            id = [
                                ''
                                ], 
                            location = '', 
                            properties = {owner=Ralph, created_at=1452120468}, ), )
                    ]
            )
        else:
            return BatchCommitTablesResponse(
                results = [
                    lance_namespace_urllib3_client.models.commit_table_result.CommitTableResult(
                        declare_table = lance_namespace_urllib3_client.models.declare_table_response.DeclareTableResponse(
                            transaction_id = '', 
                            location = '', 
                            storage_options = {
                                'key' : ''
                                }, 
                            properties = {owner=Ralph, created_at=1452120468}, 
                            managed_versioning = True, ), 
                        create_table_version = lance_namespace_urllib3_client.models.create_table_version_response.CreateTableVersionResponse(
                            transaction_id = '', 
                            version = lance_namespace_urllib3_client.models.table_version.TableVersion(
                                version = 0, 
                                manifest_path = '', 
                                manifest_size = 0, 
                                e_tag = '', 
                                timestamp_millis = 56, 
                                metadata = {
                                    'key' : ''
                                    }, ), ), 
                        delete_table_versions = lance_namespace_urllib3_client.models.batch_delete_table_versions_response.BatchDeleteTableVersionsResponse(
                            deleted_count = 0, 
                            transaction_id = '', ), 
                        deregister_table = lance_namespace_urllib3_client.models.deregister_table_response.DeregisterTableResponse(
                            transaction_id = '', 
                            id = [
                                ''
                                ], 
                            location = '', 
                            properties = {owner=Ralph, created_at=1452120468}, ), )
                    ],
        )
        """

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

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