func (c *Client) UpdateLan(dcid string, lanid string, obj LanProperties) (*Lan, error) {
	url := lanPath(dcid, lanid) + `?depth=` + c.client.depth + `&pretty=` + strconv.FormatBool(c.client.pretty)
	ret := &Lan{}
	err := c.client.Patch(url, obj, ret, http.StatusAccepted)
	return ret, err
}
func (c *Client) UpdateLan(dcid string, lanid string, obj LanProperties) (*Lan, error) {
	url := lanPath(dcid, lanid) + `?depth=` + c.client.depth + `&pretty=` + strconv.FormatBool(c.client.pretty)
	ret := &Lan{}
	err := c.client.Patch(url, obj, ret, http.StatusAccepted)
	return ret, err
}
// UpdateLan does a partial update to a lan using json from []byte json returns a Instance struct