# 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_jobs_response import V0038JobsResponse

class TestV0038JobsResponse(unittest.TestCase):
    """V0038JobsResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> V0038JobsResponse:
        """Test V0038JobsResponse
            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 `V0038JobsResponse`
        """
        model = V0038JobsResponse()
        if include_optional:
            return V0038JobsResponse(
                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, )
                    ],
                jobs = [
                    openapi_client.models.v0/0/38_job_response_properties.v0.0.38_job_response_properties(
                        account = '', 
                        accrue_time = 56, 
                        admin_comment = '', 
                        array_job_id = 56, 
                        array_task_id = 56, 
                        array_max_tasks = 56, 
                        array_task_string = '', 
                        association_id = 56, 
                        batch_features = '', 
                        batch_flag = True, 
                        batch_host = '', 
                        flags = [
                            ''
                            ], 
                        burst_buffer = '', 
                        burst_buffer_state = '', 
                        cluster = '', 
                        cluster_features = '', 
                        command = '', 
                        comment = '', 
                        container = '', 
                        contiguous = True, 
                        core_spec = '', 
                        thread_spec = '', 
                        cores_per_socket = '', 
                        billable_tres = 1.337, 
                        cpus_per_task = '', 
                        cpu_frequency_minimum = '', 
                        cpu_frequency_maximum = '', 
                        cpu_frequency_governor = '', 
                        cpus_per_tres = '', 
                        deadline = 56, 
                        delay_boot = 56, 
                        dependency = '', 
                        derived_exit_code = 56, 
                        eligible_time = 56, 
                        end_time = 56, 
                        excluded_nodes = '', 
                        exit_code = 56, 
                        features = '', 
                        federation_origin = '', 
                        federation_siblings_active = '', 
                        federation_siblings_viable = '', 
                        gres_detail = [
                            ''
                            ], 
                        group_id = 56, 
                        job_id = 56, 
                        job_resources = openapi_client.models.v0/0/38_job_resources.v0.0.38_job_resources(
                            nodes = '', 
                            allocated_cpus = 56, 
                            allocated_hosts = 56, 
                            allocated_nodes = [
                                openapi_client.models.v0/0/38_node_allocation.v0.0.38_node_allocation(
                                    memory = 56, 
                                    cpus = 56, 
                                    sockets = openapi_client.models.v0_0_38_node_allocation_sockets.v0_0_38_node_allocation_sockets(
                                        cores = openapi_client.models.cores.cores(), ), 
                                    nodename = '', )
                                ], ), 
                        job_state = '', 
                        last_sched_evaluation = 56, 
                        licenses = '', 
                        max_cpus = 56, 
                        max_nodes = 56, 
                        mcs_label = '', 
                        memory_per_tres = '', 
                        name = '', 
                        nodes = '', 
                        nice = 56, 
                        tasks_per_core = 56, 
                        tasks_per_socket = 56, 
                        tasks_per_board = 56, 
                        cpus = 56, 
                        node_count = 56, 
                        tasks = 56, 
                        het_job_id = 56, 
                        het_job_id_set = '', 
                        het_job_offset = 56, 
                        partition = '', 
                        memory_per_node = 56, 
                        memory_per_cpu = 56, 
                        minimum_cpus_per_node = 56, 
                        minimum_tmp_disk_per_node = 56, 
                        preempt_time = 56, 
                        pre_sus_time = 56, 
                        priority = 56, 
                        profile = [
                            ''
                            ], 
                        qos = '', 
                        reboot = True, 
                        required_nodes = '', 
                        requeue = True, 
                        resize_time = 56, 
                        restart_cnt = 56, 
                        resv_name = '', 
                        shared = '', 
                        show_flags = [
                            ''
                            ], 
                        sockets_per_board = 56, 
                        sockets_per_node = 56, 
                        start_time = 56, 
                        state_description = '', 
                        state_reason = '', 
                        standard_error = '', 
                        standard_input = '', 
                        standard_output = '', 
                        submit_time = 56, 
                        suspend_time = 56, 
                        system_comment = '', 
                        time_limit = 56, 
                        time_minimum = 56, 
                        threads_per_core = 56, 
                        tres_bind = '', 
                        tres_freq = '', 
                        tres_per_job = '', 
                        tres_per_node = '', 
                        tres_per_socket = '', 
                        tres_per_task = '', 
                        tres_req_str = '', 
                        tres_alloc_str = '', 
                        user_id = 56, 
                        user_name = '', 
                        wckey = '', 
                        current_working_directory = '', )
                    ]
            )
        else:
            return V0038JobsResponse(
        )
        """

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

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