func (client *Client) GetDowntimes() ([]Downtime, error) {
	var out reqDowntimes
	if err := client.doJsonRequest("GET", "/v1/downtime", nil, &out.Downtimes); err != nil {
		return nil, err
	}
	return out.Downtimes, nil
}
func (client *Client) GetDowntimes() ([]Downtime, error) {
	var out reqDowntimes
	if err := client.doJsonRequest("GET", "/v1/downtime", nil, &out.Downtimes); err != nil {
		return nil, err
	}
	return out.Downtimes, nil
}
func ( client * Client ) GetDowntimes ( ) ( [ ] Downtime , error ) { var out reqDowntimes if err := client . doJsonRequest ( " " , " " , nil , & out . Downtimes ) ; err != nil { return nil , err } return out . Downtimes , nil }
// GetDowntimes returns a slice of all downtimes.
GetDowntimes returns a slice of all downtimes .