# coding: utf-8

"""
    Fastify Template API

    API documentation using Swagger

    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 keplar_api.models.get_user_workspaces200_response import GetUserWorkspaces200Response

class TestGetUserWorkspaces200Response(unittest.TestCase):
    """GetUserWorkspaces200Response unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> GetUserWorkspaces200Response:
        """Test GetUserWorkspaces200Response
            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 `GetUserWorkspaces200Response`
        """
        model = GetUserWorkspaces200Response()
        if include_optional:
            return GetUserWorkspaces200Response(
                user_workspaces = [
                    keplar_api.models.user_workspace_item.UserWorkspaceItem(
                        id = '', 
                        workspace_id = '', 
                        workspace_name = '', 
                        role = '', 
                        is_default = True, )
                    ],
                all_workspaces = [
                    keplar_api.models.workspace_list_item.WorkspaceListItem(
                        id = '', 
                        name = '', 
                        created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        member_count = 1.337, )
                    ],
                default_workspace_id = ''
            )
        else:
            return GetUserWorkspaces200Response(
                user_workspaces = [
                    keplar_api.models.user_workspace_item.UserWorkspaceItem(
                        id = '', 
                        workspace_id = '', 
                        workspace_name = '', 
                        role = '', 
                        is_default = True, )
                    ],
                all_workspaces = [
                    keplar_api.models.workspace_list_item.WorkspaceListItem(
                        id = '', 
                        name = '', 
                        created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        member_count = 1.337, )
                    ],
                default_workspace_id = '',
        )
        """

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

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