# coding: utf-8

"""
    authentik

    Making authentication simple.

    The version of the OpenAPI document: 2025.10.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_geo_ip_policy_list import PaginatedGeoIPPolicyList

class TestPaginatedGeoIPPolicyList(unittest.TestCase):
    """PaginatedGeoIPPolicyList unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> PaginatedGeoIPPolicyList:
        """Test PaginatedGeoIPPolicyList
            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 `PaginatedGeoIPPolicyList`
        """
        model = PaginatedGeoIPPolicyList()
        if include_optional:
            return PaginatedGeoIPPolicyList(
                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.geo_ip_policy.GeoIPPolicy(
                        pk = '', 
                        name = '', 
                        execution_logging = True, 
                        component = '', 
                        verbose_name = '', 
                        verbose_name_plural = '', 
                        meta_model_name = '', 
                        bound_to = 56, 
                        asns = [
                            -2147483648
                            ], 
                        countries = [
                            'AF'
                            ], 
                        countries_obj = [
                            authentik_client.models.detailed_country_field.DetailedCountryField(
                                code = 'AF', 
                                name = '', )
                            ], 
                        check_history_distance = True, 
                        history_max_distance_km = 0, 
                        distance_tolerance_km = 0, 
                        history_login_count = 0, 
                        check_impossible_travel = True, 
                        impossible_tolerance_km = 0, )
                    ],
                autocomplete = {
                    'key' : null
                    }
            )
        else:
            return PaginatedGeoIPPolicyList(
                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.geo_ip_policy.GeoIPPolicy(
                        pk = '', 
                        name = '', 
                        execution_logging = True, 
                        component = '', 
                        verbose_name = '', 
                        verbose_name_plural = '', 
                        meta_model_name = '', 
                        bound_to = 56, 
                        asns = [
                            -2147483648
                            ], 
                        countries = [
                            'AF'
                            ], 
                        countries_obj = [
                            authentik_client.models.detailed_country_field.DetailedCountryField(
                                code = 'AF', 
                                name = '', )
                            ], 
                        check_history_distance = True, 
                        history_max_distance_km = 0, 
                        distance_tolerance_km = 0, 
                        history_login_count = 0, 
                        check_impossible_travel = True, 
                        impossible_tolerance_km = 0, )
                    ],
                autocomplete = {
                    'key' : null
                    },
        )
        """

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

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