# coding: utf-8

"""
    Graphiant APIs

    **To use the APIs:**  1) Login using `/api/v1/auth/login`   2) Copy the value of \"token\" in the response   3) Click the \"Authorize\" button   4) In the \"Value\" text field enter: `Bearer <your token>`   5) Click \"Authorize\"   6) All requests are now authorized.  **Token valid for 2 hours. If expired:**   - Login again, click \"Authorize\", paste new token.

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

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


import unittest

from graphiant_sdk.models.v1_devices_device_id_dhcp_server_leases_get200_response import V1DevicesDeviceIdDhcpServerLeasesGet200Response

class TestV1DevicesDeviceIdDhcpServerLeasesGet200Response(unittest.TestCase):
    """V1DevicesDeviceIdDhcpServerLeasesGet200Response unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> V1DevicesDeviceIdDhcpServerLeasesGet200Response:
        """Test V1DevicesDeviceIdDhcpServerLeasesGet200Response
            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 `V1DevicesDeviceIdDhcpServerLeasesGet200Response`
        """
        model = V1DevicesDeviceIdDhcpServerLeasesGet200Response()
        if include_optional:
            return V1DevicesDeviceIdDhcpServerLeasesGet200Response(
                pools = [
                    graphiant_sdk.models._v1_extranets_get_200_response_policies_inner_branches_excluded_devices_inner_segments_inner_dhcp_subnets_inner._v1_extranets_get_200_response_policies_inner_branches_excludedDevices_inner_segments_inner_dhcpSubnets_inner(
                        default_lease_time_secs = 123, 
                        description = 'example string', 
                        domain_name = 'example string', 
                        gateway = 'example string', 
                        id = 1234567891011, 
                        interface = 'example string', 
                        ip_prefix = 'example string', 
                        ip_version = 123, 
                        leases = [
                            graphiant_sdk.models._v1_extranets_get_200_response_policies_inner_branches_excluded_devices_inner_segments_inner_dhcp_subnets_inner_leases_inner._v1_extranets_get_200_response_policies_inner_branches_excludedDevices_inner_segments_inner_dhcpSubnets_inner_leases_inner(
                                ends_at = graphiant_sdk.models._v1_alarm_history_get_200_response_history_inner_time._v1_alarm_history_get_200_response_history_inner_time(
                                    nanos = 123, 
                                    seconds = 1234567891011, ), 
                                id = 1234567891011, 
                                ip_address = 'example string', 
                                mac_address = 'example string', 
                                vrf = 'example string', )
                            ], 
                        max_lease_time_secs = 123, 
                        min_lease_time_secs = 123, 
                        name = 'example string', 
                        nameservers = graphiant_sdk.models._v1_extranets_get_200_response_policies_inner_branches_excluded_devices_inner_segments_inner_dhcp_subnets_inner_nameservers._v1_extranets_get_200_response_policies_inner_branches_excludedDevices_inner_segments_inner_dhcpSubnets_inner_nameservers(
                            primary = 'example string', 
                            secondary = 'example string', ), 
                        ranges = [
                            graphiant_sdk.models._v1_extranets_get_200_response_policies_inner_branches_excluded_devices_inner_segments_inner_dhcp_subnets_inner_ranges_inner._v1_extranets_get_200_response_policies_inner_branches_excludedDevices_inner_segments_inner_dhcpSubnets_inner_ranges_inner(
                                end = 'example string', 
                                start = 'example string', )
                            ], 
                        static_leases = [
                            graphiant_sdk.models._v1_extranets_get_200_response_policies_inner_branches_excluded_devices_inner_segments_inner_dhcp_subnets_inner_static_leases_inner._v1_extranets_get_200_response_policies_inner_branches_excludedDevices_inner_segments_inner_dhcpSubnets_inner_staticLeases_inner(
                                hostname = 'example string', 
                                id = 1234567891011, 
                                ip_address = 'example string', 
                                mac_address = 'example string', 
                                vrf = 'example string', )
                            ], 
                        total_addresses = 12345678910, 
                        utilization = 123, )
                    ]
            )
        else:
            return V1DevicesDeviceIdDhcpServerLeasesGet200Response(
        )
        """

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

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