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(Endpoint, self).__init__(**kwargs)
self.target_resource_id = kwargs.get('target_resource_id', None)
self.target = kwargs.get('target', None)
self.endpoint_status = kwargs.get('endpoint_status', None)
self.weight = kwargs.get('weight', None)
self.priority = kwargs.get('priority', None)
self.endpoint_location = kwargs.get('endpoint_location', None)
self.endpoint_monitor_status = kwargs.get('endpoint_monitor_status', None)
self.min_child_endpoints = kwargs.get('min_child_endpoints', None)
self.geo_mapping = kwargs.get('geo_mapping', None)
self.subnets = kwargs.get('subnets', None)
self.custom_headers = kwargs.get('custom_headers', None)