Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return self.getIpModels().then((ipModels) => ({
actions: ipModels['ip.FirewallActionEnum'].enum,
protocols: ipModels['ip.FirewallProtocolEnum'].enum,
sequences: ipModels['ip.FirewallSequenceRangeEnum'].enum,
tcpOptions: ipModels['ip.FirewallTCPOptionEnum'].enum,
}));
};
return self.getIpModels().then(ipModels => ({
actions: ipModels['ip.FirewallActionEnum'].enum,
protocols: ipModels['ip.FirewallProtocolEnum'].enum,
sequences: ipModels['ip.FirewallSequenceRangeEnum'].enum,
tcpOptions: ipModels['ip.FirewallTCPOptionEnum'].enum,
}));
};
return self.getIpModels().then(ipModels => ({
actions: ipModels['ip.FirewallActionEnum'].enum,
protocols: ipModels['ip.FirewallProtocolEnum'].enum,
sequences: ipModels['ip.FirewallSequenceRangeEnum'].enum,
tcpOptions: ipModels['ip.FirewallTCPOptionEnum'].enum,
}));
};