# 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.group_folder import GroupFolder  # noqa: E501
from bimdata_api_client.rest import ApiException

class TestGroupFolder(unittest.TestCase):
    """GroupFolder unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test GroupFolder
            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.group_folder.GroupFolder()  # noqa: E501
        if include_optional :
            return GroupFolder(
                folder = bimdata_api_client.models.inline_response_200.inline_response_200(
                    id = 56, 
                    parent_id = 56, 
                    type = '0', 
                    nature = '0', 
                    name = '0', 
                    created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    created_by = bimdata_api_client.models.user.User(
                        id = 56, 
                        email = '0', 
                        firstname = '0', 
                        lastname = '0', 
                        created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        cloud_role = 56, 
                        project_role = 56, 
                        provider = '0', 
                        sub = '0', 
                        profile_picture = '0', ), 
                    groups_permissions = [
                        bimdata_api_client.models.folder_group_permission.FolderGroupPermission(
                            group = bimdata_api_client.models.inline_response_200_1.inline_response_200_1(
                                id = 56, 
                                name = '0', 
                                color = '0', 
                                members = [
                                    bimdata_api_client.models.user_project.UserProject(
                                        id = 56, 
                                        user_id = 56, 
                                        invitation_id = 56, 
                                        email = '0', 
                                        firstname = '0', 
                                        lastname = '0', 
                                        profile_picture = '0', 
                                        role = 56, )
                                    ], ), 
                            permission = 56, )
                        ], 
                    default_permission = 56, 
                    user_permission = 56, ), 
                group = bimdata_api_client.models.inline_response_200_1.inline_response_200_1(
                    id = 56, 
                    name = '0', 
                    color = '0', 
                    members = [
                        bimdata_api_client.models.user_project.UserProject(
                            id = 56, 
                            user_id = 56, 
                            invitation_id = 56, 
                            email = '0', 
                            firstname = '0', 
                            lastname = '0', 
                            profile_picture = '0', 
                            role = 56, )
                        ], ), 
                permission = 56
            )
        else :
            return GroupFolder(
        )

    def testGroupFolder(self):
        """Test GroupFolder"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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