public ListWithReferencesBean<StopV2Bean> getResponse(StopsBean result) { List<StopV2Bean> beans = new ArrayList<StopV2Bean>(); for (StopBean stop : result.getStops()) beans.add(getStop(stop)); return list(beans, result.isLimitExceeded(), false); }
/** ** Filter non revenue stops ** */ public void filterNonRevenueStops(StopsBean bean) { filterNonRevenueStops(bean.getStops()); }