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(ModelInfoResponse, self).__init__(**kwargs)
self.id = kwargs.get('id', None)
self.name = kwargs.get('name', None)
self.type_id = kwargs.get('type_id', None)
self.readable_type = kwargs.get('readable_type', None)
self.roles = kwargs.get('roles', None)
self.children = kwargs.get('children', None)
self.sub_lists = kwargs.get('sub_lists', None)
self.custom_prebuilt_domain_name = kwargs.get('custom_prebuilt_domain_name', None)
self.custom_prebuilt_model_name = kwargs.get('custom_prebuilt_model_name', None)
self.regex_pattern = kwargs.get('regex_pattern', None)
self.explicit_list = kwargs.get('explicit_list', None)