func (a *API) DeleteMaintenanceWindow(cfg *Maintenance) (bool, error) {
	if cfg == nil {
		return false, fmt.Errorf("Invalid maintenance window config [nil]")
	}
	return a.DeleteMaintenanceWindowByCID(CIDType(&cfg.CID))
}
func (a *API) DeleteMaintenanceWindow(cfg *Maintenance) (bool, error) {
	if cfg == nil {
		return false, fmt.Errorf("Invalid maintenance window config [nil]")
	}
	return a.DeleteMaintenanceWindowByCID(CIDType(&cfg.CID))
}
func ( a * API ) DeleteMaintenanceWindow ( cfg * Maintenance ) ( bool , error ) { if cfg == nil { return false , fmt . Errorf ( " " ) } return a . DeleteMaintenanceWindowByCID ( CIDType ( & cfg . CID ) ) }
// DeleteMaintenanceWindow deletes passed maintenance [window].
DeleteMaintenanceWindow deletes passed maintenance [ window ] .