# coding: utf-8

"""
    Slurm Rest API

    API to access and control Slurm.

    The version of the OpenAPI document: 0.0.38
    Contact: sales@schedmd.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest
import datetime

from openapi_client.models.v0038_diag import V0038Diag

class TestV0038Diag(unittest.TestCase):
    """V0038Diag unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> V0038Diag:
        """Test V0038Diag
            include_option 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 `V0038Diag`
        """
        model = V0038Diag()
        if include_optional:
            return V0038Diag(
                meta = openapi_client.models.v0/0/38_meta.v0.0.38_meta(
                    plugin = openapi_client.models.v0_0_38_meta_plugin.v0_0_38_meta_plugin(
                        type = '', 
                        name = '', ), 
                    slurm = openapi_client.models.v0_0_38_meta_slurm.v0_0_38_meta_Slurm(
                        version = openapi_client.models.v0_0_38_meta_slurm_version.v0_0_38_meta_Slurm_version(
                            major = '', 
                            micro = '', 
                            minor = '', ), 
                        release = '', ), ),
                errors = [
                    openapi_client.models.v0/0/38_error.v0.0.38_error(
                        error = '', 
                        error_number = 56, )
                    ],
                statistics = openapi_client.models.v0_0_38_diag_statistics.v0_0_38_diag_statistics(
                    parts_packed = 56, 
                    req_time = 56, 
                    req_time_start = 56, 
                    server_thread_count = 56, 
                    agent_queue_size = 56, 
                    agent_count = 56, 
                    agent_thread_count = 56, 
                    dbd_agent_queue_size = 56, 
                    gettimeofday_latency = 56, 
                    schedule_cycle_max = 56, 
                    schedule_cycle_last = 56, 
                    schedule_cycle_total = 56, 
                    schedule_cycle_mean = 56, 
                    schedule_cycle_mean_depth = 56, 
                    schedule_cycle_per_minute = 56, 
                    schedule_queue_length = 56, 
                    jobs_submitted = 56, 
                    jobs_started = 56, 
                    jobs_completed = 56, 
                    jobs_canceled = 56, 
                    jobs_failed = 56, 
                    jobs_pending = 56, 
                    jobs_running = 56, 
                    job_states_ts = 56, 
                    bf_backfilled_jobs = 56, 
                    bf_last_backfilled_jobs = 56, 
                    bf_backfilled_het_jobs = 56, 
                    bf_cycle_counter = 56, 
                    bf_cycle_mean = 56, 
                    bf_cycle_max = 56, 
                    bf_last_depth = 56, 
                    bf_last_depth_try = 56, 
                    bf_depth_mean = 56, 
                    bf_depth_mean_try = 56, 
                    bf_cycle_last = 56, 
                    bf_queue_len = 56, 
                    bf_queue_len_mean = 56, 
                    bf_table_size = 56, 
                    bf_table_size_mean = 56, 
                    bf_when_last_cycle = 56, 
                    bf_active = True, 
                    rpcs_by_message_type = [
                        openapi_client.models.v0/0/38_diag_rpcm.v0.0.38_diag_rpcm(
                            message_type = '', 
                            type_id = 56, 
                            count = 56, 
                            average_time = 56, 
                            total_time = 56, )
                        ], 
                    rpcs_by_user = [
                        openapi_client.models.v0/0/38_diag_rpcu.v0.0.38_diag_rpcu(
                            user = '', 
                            user_id = 56, 
                            count = 56, 
                            average_time = 56, 
                            total_time = 56, )
                        ], )
            )
        else:
            return V0038Diag(
        )
        """

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

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