static List<UberData> extractLinksAndContent(CollectionModel<?> resources) {

		List<UberData> data = extractLinks(resources);

		data.addAll(resources.getContent().stream().map(UberData::doExtractLinksAndContent)
				.map(uberData -> new UberData().withData(uberData)).collect(Collectors.toList()));

		return data;
	}
static List < UberData > extractLinksAndContent ( CollectionModel < ? > resources ) { List < UberData > data = extractLinks ( resources ) ; data . addAll ( resources . getContent ( ) . stream ( ) . map ( UberData :: doExtractLinksAndContent ) . map ( uberData -> new UberData ( ) . withData ( uberData ) ) . collect ( Collectors . toList ( ) ) ) ; return data ; }
Convert {@link CollectionModel} into a list of {@link UberData}, with each item nested in a sub-UberData.

@param resources
@return