# coding: utf-8

"""
    authentik

    Making authentication simple.

    The version of the OpenAPI document: 2026.5.0-rc1
    Contact: hello@goauthentik.io
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from authentik_client.models.plex_source import PlexSource

class TestPlexSource(unittest.TestCase):
    """PlexSource unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> PlexSource:
        """Test PlexSource
            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 `PlexSource`
        """
        model = PlexSource()
        if include_optional:
            return PlexSource(
                pk = '',
                name = '',
                slug = 'z',
                enabled = True,
                promoted = True,
                authentication_flow = '',
                enrollment_flow = '',
                user_property_mappings = [
                    ''
                    ],
                group_property_mappings = [
                    ''
                    ],
                component = '',
                verbose_name = '',
                verbose_name_plural = '',
                meta_model_name = '',
                policy_engine_mode = 'all',
                user_matching_mode = 'identifier',
                managed = '',
                user_path_template = '',
                icon = '',
                icon_url = '',
                icon_themed_urls = authentik_client.models.themed_urls.ThemedUrls(
                    light = '', 
                    dark = '', ),
                group_matching_mode = 'identifier',
                client_id = '',
                allowed_servers = [
                    ''
                    ],
                allow_friends = True,
                plex_token = ''
            )
        else:
            return PlexSource(
                pk = '',
                name = '',
                slug = 'z',
                component = '',
                verbose_name = '',
                verbose_name_plural = '',
                meta_model_name = '',
                managed = '',
                icon_url = '',
                icon_themed_urls = authentik_client.models.themed_urls.ThemedUrls(
                    light = '', 
                    dark = '', ),
                plex_token = '',
        )
        """

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

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