# 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.get_table_stats_response import GetTableStatsResponse

class TestGetTableStatsResponse(unittest.TestCase):
    """GetTableStatsResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> GetTableStatsResponse:
        """Test GetTableStatsResponse
            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 `GetTableStatsResponse`
        """
        model = GetTableStatsResponse()
        if include_optional:
            return GetTableStatsResponse(
                total_bytes = 0,
                num_rows = 0,
                num_indices = 0,
                fragment_stats = lance_namespace_urllib3_client.models.fragment_stats.FragmentStats(
                    num_fragments = 0, 
                    num_small_fragments = 0, 
                    lengths = lance_namespace_urllib3_client.models.fragment_summary.FragmentSummary(
                        min = 0, 
                        max = 0, 
                        mean = 0, 
                        p25 = 0, 
                        p50 = 0, 
                        p75 = 0, 
                        p99 = 0, ), )
            )
        else:
            return GetTableStatsResponse(
                total_bytes = 0,
                num_rows = 0,
                num_indices = 0,
                fragment_stats = lance_namespace_urllib3_client.models.fragment_stats.FragmentStats(
                    num_fragments = 0, 
                    num_small_fragments = 0, 
                    lengths = lance_namespace_urllib3_client.models.fragment_summary.FragmentSummary(
                        min = 0, 
                        max = 0, 
                        mean = 0, 
                        p25 = 0, 
                        p50 = 0, 
                        p75 = 0, 
                        p99 = 0, ), ),
        )
        """

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

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