Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, **kwargs):
super(MonitorConfig, self).__init__(**kwargs)
self.profile_monitor_status = kwargs.get('profile_monitor_status', None)
self.protocol = kwargs.get('protocol', None)
self.port = kwargs.get('port', None)
self.path = kwargs.get('path', None)
self.interval_in_seconds = kwargs.get('interval_in_seconds', None)
self.timeout_in_seconds = kwargs.get('timeout_in_seconds', None)
self.tolerated_number_of_failures = kwargs.get('tolerated_number_of_failures', None)
self.custom_headers = kwargs.get('custom_headers', None)
self.expected_status_code_ranges = kwargs.get('expected_status_code_ranges', None)