# coding: utf-8

"""
    Authress

    <p> <h2>Introduction</h2> <p>Welcome to the Authress Authorization API. <br>The Authress REST API provides the operations and resources necessary to create records, assign permissions, and verify any user in your platform.</p> <p><ul>   <li>Manage multitenant platforms and create user tenants for SSO connections.</li>   <li>Create records to assign roles and resources to grant access for users.</li>   <li>Check user access control by calling the authorization API at the right time.</li>   <li>Configure service clients to securely access services in your platform.</li> </ul></p> <p>For more in-depth scenarios check out the <a href=\"https://authress.io/knowledge-base\" target=\"_blank\">Authress knowledge base</a>.</p> </p>

    The version of the OpenAPI document: v1
    Contact: support@authress.io
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest
import datetime

from authress.models.role_collection import RoleCollection  # noqa: E501

class TestRoleCollection(unittest.TestCase):
    """RoleCollection unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> RoleCollection:
        """Test RoleCollection
            include_option 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 `RoleCollection`
        """
        model = RoleCollection()  # noqa: E501
        if include_optional:
            return RoleCollection(
                roles = [
                    authress.models.role.Role(
                        role_id = 'A0', 
                        name = '0', 
                        description = '', 
                        permissions = [
                            authress.models.permission_object.PermissionObject(
                                action = 'documents:read', 
                                allow = True, 
                                grant = True, 
                                delegate = True, )
                            ], )
                    ],
                pagination = authress.models.pagination.Pagination(
                    next = authress.models.pagination_next.Pagination_next(
                        cursor = '', ), ),
                links = authress.models.collection_links.CollectionLinks(
                    self = authress.models.link.Link(
                        href = '', 
                        rel = '', ), 
                    next = authress.models.link.Link(
                        href = '', 
                        rel = '', ), )
            )
        else:
            return RoleCollection(
                roles = [
                    authress.models.role.Role(
                        role_id = 'A0', 
                        name = '0', 
                        description = '', 
                        permissions = [
                            authress.models.permission_object.PermissionObject(
                                action = 'documents:read', 
                                allow = True, 
                                grant = True, 
                                delegate = True, )
                            ], )
                    ],
                links = authress.models.collection_links.CollectionLinks(
                    self = authress.models.link.Link(
                        href = '', 
                        rel = '', ), 
                    next = authress.models.link.Link(
                        href = '', 
                        rel = '', ), ),
        )
        """

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

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