# coding: utf-8

"""
    Jamf Pro API

    ## Overview This is a sample Jamf Pro server which allows for usage without any authentication. The Jamf Pro environment which supports the Try it Out functionality does not run the current beta version of Jamf Pro, thus any newly added endpoints will result in an error and should be used soley for documentation purposes.   # noqa: E501

    The version of the OpenAPI document: 10.25.0
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import jamf
from jamf.models.cloud_ldap_connection_pool_statistics import CloudLdapConnectionPoolStatistics  # noqa: E501
from jamf.rest import ApiException

class TestCloudLdapConnectionPoolStatistics(unittest.TestCase):
    """CloudLdapConnectionPoolStatistics unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test CloudLdapConnectionPoolStatistics
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = jamf.models.cloud_ldap_connection_pool_statistics.CloudLdapConnectionPoolStatistics()  # noqa: E501
        if include_optional :
            return CloudLdapConnectionPoolStatistics(
                num_connections_closed_defunct = 1, 
                num_connections_closed_expired = 1, 
                num_connections_closed_unneeded = 1, 
                num_failed_checkouts = 1, 
                num_failed_connection_attempts = 1, 
                num_released_valid = 1, 
                num_successful_checkouts = 1, 
                num_successful_checkouts_new_connection = 1, 
                num_successful_connection_attempts = 1, 
                maximum_available_connections = 1, 
                num_successful_checkouts_without_wait = 1, 
                num_successful_checkouts_after_wait = 1, 
                num_available_connections = 1
            )
        else :
            return CloudLdapConnectionPoolStatistics(
        )

    def testCloudLdapConnectionPoolStatistics(self):
        """Test CloudLdapConnectionPoolStatistics"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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

# coding: utf-8

"""
    Jamf Pro API

    ## Overview This is a sample Jamf Pro server which allows for usage without any authentication. The Jamf Pro environment which supports the Try it Out functionality does not run the current beta version of Jamf Pro, thus any newly added endpoints will result in an error and should be used soley for documentation purposes.   # noqa: E501

    The version of the OpenAPI document: 10.25.0
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import jamf
from jamf.models.cloud_ldap_connection_pool_statistics import CloudLdapConnectionPoolStatistics  # noqa: E501
from jamf.rest import ApiException

class TestCloudLdapConnectionPoolStatistics(unittest.TestCase):
    """CloudLdapConnectionPoolStatistics unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test CloudLdapConnectionPoolStatistics
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = jamf.models.cloud_ldap_connection_pool_statistics.CloudLdapConnectionPoolStatistics()  # noqa: E501
        if include_optional :
            return CloudLdapConnectionPoolStatistics(
                num_connections_closed_defunct = 1, 
                num_connections_closed_expired = 1, 
                num_connections_closed_unneeded = 1, 
                num_failed_checkouts = 1, 
                num_failed_connection_attempts = 1, 
                num_released_valid = 1, 
                num_successful_checkouts = 1, 
                num_successful_checkouts_new_connection = 1, 
                num_successful_connection_attempts = 1, 
                maximum_available_connections = 1, 
                num_successful_checkouts_without_wait = 1, 
                num_successful_checkouts_after_wait = 1, 
                num_available_connections = 1
            )
        else :
            return CloudLdapConnectionPoolStatistics(
        )

    def testCloudLdapConnectionPoolStatistics(self):
        """Test CloudLdapConnectionPoolStatistics"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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

# coding: utf-8 Jamf Pro API      ## Overview This is a sample Jamf Pro server which allows for usage without any authentication. The Jamf Pro environment which supports the Try it Out functionality does not run the current beta version of Jamf Pro, thus any newly added endpoints will result in an error and should be used soley for documentation purposes.   # noqa: E501      The version of the OpenAPI document: 10.25.0     Generated by: https://openapi-generator.tech # noqa: E501 CloudLdapConnectionPoolStatistics unit test stubs Test CloudLdapConnectionPoolStatistics             include_option is a boolean, when False only required             params are included, when True both required and             optional params are included # model = jamf.models.cloud_ldap_connection_pool_statistics.CloudLdapConnectionPoolStatistics()  # noqa: E501 Test CloudLdapConnectionPoolStatistics