# coding: utf-8

"""
    IncQuery Server Web API

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

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


from __future__ import absolute_import

import unittest
import datetime

import iqs_client
from iqs_client.models.persisted_model_compartment_details_response import PersistedModelCompartmentDetailsResponse  # noqa: E501
from iqs_client.rest import ApiException

class TestPersistedModelCompartmentDetailsResponse(unittest.TestCase):
    """PersistedModelCompartmentDetailsResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test PersistedModelCompartmentDetailsResponse
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = iqs_client.models.persisted_model_compartment_details_response.PersistedModelCompartmentDetailsResponse()  # noqa: E501
        if include_optional :
            return PersistedModelCompartmentDetailsResponse(
                statistics = iqs_client.models.revision_statistics.RevisionStatistics(
                    element_store_size = 35, 
                    element_store_tuples = 8722, 
                    direct_instances_store_size = 8722, 
                    attribute_store_size = 44, 
                    attribute_store_tuples = 41263, 
                    reference_store_size = 100, 
                    reference_store_tuples = 64750, 
                    merged_unique_elements = 64750, 
                    merged_load_cost = 64750, )
            )
        else :
            return PersistedModelCompartmentDetailsResponse(
                statistics = iqs_client.models.revision_statistics.RevisionStatistics(
                    element_store_size = 35, 
                    element_store_tuples = 8722, 
                    direct_instances_store_size = 8722, 
                    attribute_store_size = 44, 
                    attribute_store_tuples = 41263, 
                    reference_store_size = 100, 
                    reference_store_tuples = 64750, 
                    merged_unique_elements = 64750, 
                    merged_load_cost = 64750, ),
        )

    def testPersistedModelCompartmentDetailsResponse(self):
        """Test PersistedModelCompartmentDetailsResponse"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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