Search in sources :

Example 1 with ForumsParams

use of li.naska.bgg.resource.v3.model.ForumsParams in project bgg-api by tnaskali.

the class ForumsService method getFamilyForums.

public Mono<List<Forum>> getFamilyForums(Integer id) {
    ForumsParams parameters = new ForumsParams();
    parameters.setId(id);
    parameters.setType(ItemType.family);
    return getForums(parameters);
}
Also used : ForumsParams(li.naska.bgg.resource.v3.model.ForumsParams)

Example 2 with ForumsParams

use of li.naska.bgg.resource.v3.model.ForumsParams in project bgg-api by tnaskali.

the class ForumsService method getThingForums.

public Mono<List<Forum>> getThingForums(Integer id) {
    ForumsParams parameters = new ForumsParams();
    parameters.setId(id);
    parameters.setType(ItemType.thing);
    return getForums(parameters);
}
Also used : ForumsParams(li.naska.bgg.resource.v3.model.ForumsParams)

Aggregations

ForumsParams (li.naska.bgg.resource.v3.model.ForumsParams)2