# 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.system_backup_status import SystemBackupStatus  # noqa: E501
from mailinabox_api.rest import ApiException


class TestSystemBackupStatus(unittest.TestCase):
    """SystemBackupStatus unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test SystemBackupStatus
            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.system_backup_status.SystemBackupStatus()  # noqa: E501
        if include_optional:
            return SystemBackupStatus(
                date=datetime.datetime.strptime(
                    "2013-10-20 19:20:30.00", "%Y-%m-%d %H:%M:%S.%f"
                ),
                date_delta="15 hours, 40 minutes",
                date_str="2020-08-01 03:37:06 BST",
                deleted_in="approx. 6 days",
                full=False,
                size=125332,
                volumes=1,
            )
        else:
            return SystemBackupStatus(
                date=datetime.datetime.strptime(
                    "2013-10-20 19:20:30.00", "%Y-%m-%d %H:%M:%S.%f"
                ),
                date_delta="15 hours, 40 minutes",
                date_str="2020-08-01 03:37:06 BST",
                full=False,
                size=125332,
                volumes=1,
            )

    def testSystemBackupStatus(self):
        """Test SystemBackupStatus"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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