use of li.naska.bgg.resource.v3.model.Thing.Version in project bgg-api by tnaskali.
the class ThingsService method getVersions.
public Mono<List<Version>> getVersions(Integer id) {
BggThingsQueryParams queryParams = new BggThingsQueryParams();
queryParams.setId(id.toString());
queryParams.setVersions(1);
return getThing(queryParams).map(Thing::getVersions);
}
Aggregations