func (client *Client) GetAlerts() ([]Alert, error) {
	var out reqAlerts
	if err := client.doJsonRequest("GET", "/v1/alert", nil, &out); err != nil {
		return nil, err
	}
	return out.Alerts, nil
}
func (client *Client) GetAlerts() ([]Alert, error) {
	var out reqAlerts
	if err := client.doJsonRequest("GET", "/v1/alert", nil, &out); err != nil {
		return nil, err
	}
	return out.Alerts, nil
}
func ( client * Client ) GetAlerts ( ) ( [ ] Alert , error ) { var out reqAlerts if err := client . doJsonRequest ( " " , " " , nil , & out ) ; err != nil { return nil , err } return out . Alerts , nil }
// GetAlerts returns a slice of all alerts.
GetAlerts returns a slice of all alerts .