use of com.symphony.api.pod.StreamsApi in project spring-bot by finos.
the class PodApiIT method testRoomSearch.
@ParameterizedTest
@MethodSource("setupConfigurations")
public void testRoomSearch(TestClientStrategy client) throws Exception {
StreamsApi sApi = client.getPodApi(StreamsApi.class);
V2RoomSearchCriteria criteria = new V2RoomSearchCriteria();
criteria.setQuery("Demo");
criteria.setPrivate(true);
criteria.setActive(true);
criteria.setLabels(Collections.emptyList());
criteria.setSortOrder(SortOrderEnum.BASIC);
V3RoomSearchResults res = sApi.v3RoomSearchPost(criteria, null, 0, 100);
System.out.println(res);
}
Aggregations