mixcoatl/network/firewall.py
def rules(self):
        """`list` - The firewall rules associated with this firewall"""
        if self.__firewall_id is None:
            self.__rules = []
            return []
        try:
            return self.__rules
        except AttributeError:
            r = FirewallRule.all(
                self.__firewall_id, detail=self.request_details)
            if len(r) < 1:
                self.__rules = []
            else:
                self.__rules = r
            return r
`list` - The firewall rules associated with this firewall
`list` - The firewall rules associated with this firewall
` list ` - The firewall rules associated with this firewall
def rules(self):
        if self.__firewall_id is None:
            self.__rules = []
            return []
        try:
            return self.__rules
        except AttributeError:
            r = FirewallRule.all(
                self.__firewall_id, detail=self.request_details)
            if len(r) < 1:
                self.__rules = []
            else:
                self.__rules = r
            return r
def rules ( self ) : if self . __firewall_id is None : self . __rules = [ ] return [ ] try : return self . __rules except AttributeError : r = FirewallRule . all ( self . __firewall_id , detail = self . request_details ) if len ( r ) < 1 : self . __rules = [ ] else : self . __rules = r return r
`list` - The firewall rules associated with this firewall
` list ` - The firewall rules associated with this firewall
"""`list` - The firewall rules associated with this firewall"""
self