# coding: utf-8

"""
    ibl-data-manager

    API for iblai

    The version of the OpenAPI document: 4.202.1-ai-plus
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from iblai.models.o_auth_provider import OAuthProvider

class TestOAuthProvider(unittest.TestCase):
    """OAuthProvider unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> OAuthProvider:
        """Test OAuthProvider
            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 `OAuthProvider`
        """
        model = OAuthProvider()
        if include_optional:
            return OAuthProvider(
                id = 56,
                name = '',
                description = '',
                url = '',
                image = '',
                scope_map = None,
                auth_url = '',
                token_url = '',
                is_enabled = True,
                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'),
                services = [
                    iblai.models.o_auth_service.OAuthService(
                        id = 56, 
                        oauth_provider = '', 
                        oauth_provider_id = 56, 
                        name = '', 
                        display_name = '', 
                        description = '', 
                        scope = '', 
                        image = '', 
                        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'), )
                    ],
                credentials = iblai.models.oauth_credentials_masked.OauthCredentialsMasked(
                    id = 56, 
                    name = '', 
                    is_global = True, 
                    client_id = '', 
                    client_secret = '', 
                    scopes = [
                        ''
                        ], 
                    redirect_uris = [
                        ''
                        ], 
                    url = '', ),
                use_basic_auth = True
            )
        else:
            return OAuthProvider(
                id = 56,
                name = '',
                description = '',
                url = '',
                image = '',
                scope_map = None,
                auth_url = '',
                token_url = '',
                is_enabled = True,
                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'),
                services = [
                    iblai.models.o_auth_service.OAuthService(
                        id = 56, 
                        oauth_provider = '', 
                        oauth_provider_id = 56, 
                        name = '', 
                        display_name = '', 
                        description = '', 
                        scope = '', 
                        image = '', 
                        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'), )
                    ],
                credentials = iblai.models.oauth_credentials_masked.OauthCredentialsMasked(
                    id = 56, 
                    name = '', 
                    is_global = True, 
                    client_id = '', 
                    client_secret = '', 
                    scopes = [
                        ''
                        ], 
                    redirect_uris = [
                        ''
                        ], 
                    url = '', ),
                use_basic_auth = True,
        )
        """

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

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