# coding: utf-8 """ Alerts API ## Overview Manage all alerts, alert rules and alert suppression windows. The version of the OpenAPI document: 7.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. """ # noqa: E501 import unittest import datetime from alerts_api.models.alert_suppression_window import AlertSuppressionWindow class TestAlertSuppressionWindow(unittest.TestCase): """AlertSuppressionWindow unit test stubs""" def setUp(self): pass def tearDown(self): pass def make_instance(self, include_optional) -> AlertSuppressionWindow: """Test AlertSuppressionWindow 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 `AlertSuppressionWindow` """ model = AlertSuppressionWindow() if include_optional: return AlertSuppressionWindow( alert_suppression_window_id = '2411', name = 'Monthly maintenance', is_enabled = False, status = 'ended', start_date = '2017-07-01T05:00Z', duration = 0, repeat = alerts_api.models.repeat.Repeat( type = 'week', interval_type = 'day', interval_length = 2, days_of_week = [ 'sun' ], ), end_repeat = alerts_api.models.end_repeat.EndRepeat( type = 'never', count = 3, date = 'Sat Jul 01 01:00:00 BST 2017', ) ) else: return AlertSuppressionWindow( ) """ def testAlertSuppressionWindow(self): """Test AlertSuppressionWindow""" # inst_req_only = self.make_instance(include_optional=False) # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main()