# coding: utf-8

"""
    Mixpeek API

    This is the Mixpeek API, providing access to various endpoints for data processing and retrieval.

    The version of the OpenAPI document: 0.81.1
    Contact: info@mixpeek.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from mixpeek.models.retriever_api_key_list_response import RetrieverAPIKeyListResponse

class TestRetrieverAPIKeyListResponse(unittest.TestCase):
    """RetrieverAPIKeyListResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> RetrieverAPIKeyListResponse:
        """Test RetrieverAPIKeyListResponse
            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 `RetrieverAPIKeyListResponse`
        """
        model = RetrieverAPIKeyListResponse()
        if include_optional:
            return RetrieverAPIKeyListResponse(
                results = [
                    mixpeek.models.api_key_model.APIKeyModel(
                        key_id = '', 
                        key_hash = '', 
                        key_prefix = '0123456789', 
                        key_type = 'standard', 
                        subscription_id = '', 
                        internal_id = '', 
                        organization_id = '', 
                        user_id = '', 
                        name = '', 
                        description = '', 
                        permissions = [
                            'read'
                            ], 
                        scopes = [
                            mixpeek.models.resource_scope.ResourceScope(
                                resource_type = 'organization', 
                                resource_id = '0', 
                                operations = [
                                    'read_data'
                                    ], )
                            ], 
                        rate_limit_override = 56, 
                        status = 'active', 
                        expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        last_used_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        created_by = '', 
                        revoked_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        revoked_by = '', 
                        allowed_origins = [
                            ''
                            ], )
                    ],
                total = 56
            )
        else:
            return RetrieverAPIKeyListResponse(
        )
        """

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

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