func (c *Client) UpdateNic(dcid string, srvid string, nicid string, obj NicProperties) (*Nic, error) {

	url := nicPath(dcid, srvid, nicid) + `?depth=` + c.client.depth + `&pretty=` + strconv.FormatBool(c.client.pretty)
	ret := &Nic{}
	err := c.client.Patch(url, obj, ret, http.StatusAccepted)
	return ret, err

}
func (c *Client) UpdateNic(dcid string, srvid string, nicid string, obj NicProperties) (*Nic, error) {

	url := nicPath(dcid, srvid, nicid) + `?depth=` + c.client.depth + `&pretty=` + strconv.FormatBool(c.client.pretty)
	ret := &Nic{}
	err := c.client.Patch(url, obj, ret, http.StatusAccepted)
	return ret, err

}
// UpdateNic partial update of nic properties