# coding: utf-8

"""
    IncQuery Server Web API

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

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


from __future__ import absolute_import

import unittest
import datetime

import iqs_client
from iqs_client.models.server_status_response import ServerStatusResponse  # noqa: E501
from iqs_client.rest import ApiException

class TestServerStatusResponse(unittest.TestCase):
    """ServerStatusResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test ServerStatusResponse
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = iqs_client.models.server_status_response.ServerStatusResponse()  # noqa: E501
        if include_optional :
            return ServerStatusResponse(
                up_time = None, 
                component_statuses = None, 
                server_status_message = iqs_client.models.server_status_message.ServerStatusMessage(
                    concurrent_client_connections = 0, 
                    concurrent_indexing_tasks = 0, 
                    concurrent_persisting_tasks = 0, 
                    concurrent_load_back_tasks = 0, 
                    concurrent_query_executions = 0, 
                    concurrent_validation_tasks = 0, 
                    concurrent_impact_analysis_tasks = 0, 
                    concurrent_acquisition_tasks = 0, 
                    server_exceptions = [
                        'java.net.ConnectException: TWC connection timed out'
                        ], )
            )
        else :
            return ServerStatusResponse(
                up_time = None,
                component_statuses = None,
                server_status_message = iqs_client.models.server_status_message.ServerStatusMessage(
                    concurrent_client_connections = 0, 
                    concurrent_indexing_tasks = 0, 
                    concurrent_persisting_tasks = 0, 
                    concurrent_load_back_tasks = 0, 
                    concurrent_query_executions = 0, 
                    concurrent_validation_tasks = 0, 
                    concurrent_impact_analysis_tasks = 0, 
                    concurrent_acquisition_tasks = 0, 
                    server_exceptions = [
                        'java.net.ConnectException: TWC connection timed out'
                        ], ),
        )

    def testServerStatusResponse(self):
        """Test ServerStatusResponse"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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