Search in sources :

Example 1 with Version

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);
}
Also used : BggThingsQueryParams(li.naska.bgg.repository.model.BggThingsQueryParams) Thing(li.naska.bgg.resource.v3.model.Thing)

Aggregations

BggThingsQueryParams (li.naska.bgg.repository.model.BggThingsQueryParams)1 Thing (li.naska.bgg.resource.v3.model.Thing)1