func (client *Client) UpdateAlert(alert *Alert) error {
	return client.doJsonRequest("PUT", fmt.Sprintf("/v1/alert/%d", alert.Id),
		alert, nil)
}
func (client *Client) UpdateAlert(alert *Alert) error {
	return client.doJsonRequest("PUT", fmt.Sprintf("/v1/alert/%d", alert.Id),
		alert, nil)
}
// UpdateAlert takes an alert that was previously retrieved through some method
// and sends it back to the server.