# coding: utf-8

"""
    Mail-in-a-Box

    Mail-in-a-Box API HTTP specification.  # noqa: E501

    The version of the OpenAPI document: 0.47.0
    Contact: contact@mailinabox.email
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import mailinabox_api
from mailinabox_api.models.status_entry import StatusEntry  # noqa: E501
from mailinabox_api.rest import ApiException

class TestStatusEntry(unittest.TestCase):
    """StatusEntry unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test StatusEntry
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = mailinabox_api.models.status_entry.StatusEntry()  # noqa: E501
        if include_optional :
            return StatusEntry(
                type = 'warning', 
                text = 'This domain's DNSSEC DS record is not set', 
                extra = [
                    mailinabox_api.models.status_entry_extra.StatusEntryExtra(
                        monospace = False, 
                        text = 'Digest Type: 2 / SHA-256', )
                    ]
            )
        else :
            return StatusEntry(
                type = 'warning',
                text = 'This domain's DNSSEC DS record is not set',
                extra = [
                    mailinabox_api.models.status_entry_extra.StatusEntryExtra(
                        monospace = False, 
                        text = 'Digest Type: 2 / SHA-256', )
                    ],
        )

    def testStatusEntry(self):
        """Test StatusEntry"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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