# 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.paginated_application_list import PaginatedApplicationList

class TestPaginatedApplicationList(unittest.TestCase):
    """PaginatedApplicationList unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> PaginatedApplicationList:
        """Test PaginatedApplicationList
            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 `PaginatedApplicationList`
        """
        model = PaginatedApplicationList()
        if include_optional:
            return PaginatedApplicationList(
                pagination = authentik_client.models.pagination.Pagination(
                    next = 1.337, 
                    previous = 1.337, 
                    count = 1.337, 
                    current = 1.337, 
                    total_pages = 1.337, 
                    start_index = 1.337, 
                    end_index = 1.337, ),
                results = [
                    authentik_client.models.application.Application(
                        pk = '', 
                        name = '', 
                        slug = 'z', 
                        provider = 56, 
                        provider_obj = null, 
                        backchannel_providers = [
                            56
                            ], 
                        backchannel_providers_obj = [
                            authentik_client.models.provider.Provider(
                                pk = 56, 
                                name = '', 
                                authentication_flow = '', 
                                authorization_flow = '', 
                                invalidation_flow = '', 
                                property_mappings = [
                                    ''
                                    ], 
                                component = '', 
                                assigned_application_slug = '', 
                                assigned_application_name = '', 
                                assigned_backchannel_application_slug = '', 
                                assigned_backchannel_application_name = '', 
                                verbose_name = '', 
                                verbose_name_plural = '', 
                                meta_model_name = '', )
                            ], 
                        launch_url = '', 
                        open_in_new_tab = True, 
                        meta_launch_url = '', 
                        meta_icon = '', 
                        meta_icon_url = '', 
                        meta_icon_themed_urls = null, 
                        meta_description = '', 
                        meta_publisher = '', 
                        policy_engine_mode = 'all', 
                        group = '', )
                    ],
                autocomplete = {
                    'key' : null
                    }
            )
        else:
            return PaginatedApplicationList(
                pagination = authentik_client.models.pagination.Pagination(
                    next = 1.337, 
                    previous = 1.337, 
                    count = 1.337, 
                    current = 1.337, 
                    total_pages = 1.337, 
                    start_index = 1.337, 
                    end_index = 1.337, ),
                results = [
                    authentik_client.models.application.Application(
                        pk = '', 
                        name = '', 
                        slug = 'z', 
                        provider = 56, 
                        provider_obj = null, 
                        backchannel_providers = [
                            56
                            ], 
                        backchannel_providers_obj = [
                            authentik_client.models.provider.Provider(
                                pk = 56, 
                                name = '', 
                                authentication_flow = '', 
                                authorization_flow = '', 
                                invalidation_flow = '', 
                                property_mappings = [
                                    ''
                                    ], 
                                component = '', 
                                assigned_application_slug = '', 
                                assigned_application_name = '', 
                                assigned_backchannel_application_slug = '', 
                                assigned_backchannel_application_name = '', 
                                verbose_name = '', 
                                verbose_name_plural = '', 
                                meta_model_name = '', )
                            ], 
                        launch_url = '', 
                        open_in_new_tab = True, 
                        meta_launch_url = '', 
                        meta_icon = '', 
                        meta_icon_url = '', 
                        meta_icon_themed_urls = null, 
                        meta_description = '', 
                        meta_publisher = '', 
                        policy_engine_mode = 'all', 
                        group = '', )
                    ],
                autocomplete = {
                    'key' : null
                    },
        )
        """

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

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