# coding: utf-8

"""
    DeviceServer

    DeviceServer API  # noqa: E501

    The version of the OpenAPI document: 1.1.2
    Contact: david@3adesign.co.uk
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import DeviceServer
from DeviceServer.models.db_port_state import DbPortState  # noqa: E501
from DeviceServer.rest import ApiException

class TestDbPortState(unittest.TestCase):
    """DbPortState unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test DbPortState
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = DeviceServer.models.db_port_state.DbPortState()  # noqa: E501
        if include_optional :
            return DbPortState(
                port_state_id = '', 
                port_id = '', 
                label = '', 
                index = 1
            )
        else :
            return DbPortState(
                port_state_id = '',
                port_id = '',
                label = '',
                index = 1,
        )

    def testDbPortState(self):
        """Test DbPortState"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)

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