func (c *Client) UpdateFirewallRule(dcID string, serverID string, nicID string, fwID string, obj FirewallruleProperties) (*FirewallRule, error) {
	url := fwrulePath(dcID, serverID, nicID, fwID) + `?depth=` + c.client.depth + `&pretty=` + strconv.FormatBool(c.client.pretty)
	ret := &FirewallRule{}
	err := c.client.Patch(url, obj, ret, http.StatusAccepted)
	return ret, err
}
func (c *Client) UpdateFirewallRule(dcID string, serverID string, nicID string, fwID string, obj FirewallruleProperties) (*FirewallRule, error) {
	url := fwrulePath(dcID, serverID, nicID, fwID) + `?depth=` + c.client.depth + `&pretty=` + strconv.FormatBool(c.client.pretty)
	ret := &FirewallRule{}
	err := c.client.Patch(url, obj, ret, http.StatusAccepted)
	return ret, err
}
//UpdateFirewallRule updates a firewall rule