# coding: utf-8

"""
    BIMData API

    BIMData API is a tool to interact with your models stored on BIMData’s servers.     Through the API, you can manage your projects, the clouds, upload your IFC files and manage them through endpoints.  # noqa: E501

    The version of the OpenAPI document: v1
    Contact: support@bimdata.io
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import bimdata_api_client
from bimdata_api_client.models.components_parent import ComponentsParent  # noqa: E501
from bimdata_api_client.rest import ApiException

class TestComponentsParent(unittest.TestCase):
    """ComponentsParent unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test ComponentsParent
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = bimdata_api_client.models.components_parent.ComponentsParent()  # noqa: E501
        if include_optional :
            return ComponentsParent(
                coloring = [
                    bimdata_api_client.models.coloring.Coloring(
                        color = '0', 
                        components = [
                            bimdata_api_client.models.component.Component(
                                ifc_guid = '0', 
                                originating_system = '0', 
                                authoring_tool_id = '0', )
                            ], )
                    ], 
                visibility = bimdata_api_client.models.visibility.Visibility(
                    default_visibility = True, 
                    exceptions = [
                        bimdata_api_client.models.component.Component(
                            ifc_guid = '0', 
                            originating_system = '0', 
                            authoring_tool_id = '0', )
                        ], 
                    view_setup_hints = bimdata_api_client.models.view_setup_hints.ViewSetupHints(
                        spaces_visible = True, 
                        space_boundaries_visible = True, 
                        openings_visible = True, ), ), 
                selection = [
                    bimdata_api_client.models.component.Component(
                        ifc_guid = '0', 
                        originating_system = '0', 
                        authoring_tool_id = '0', )
                    ]
            )
        else :
            return ComponentsParent(
        )

    def testComponentsParent(self):
        """Test ComponentsParent"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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