Package com.symphony.api.model
Class V3RoomSearchResults
- java.lang.Object
-
- com.symphony.api.model.V3RoomSearchResults
-
public class V3RoomSearchResults extends Object
A list of search results and counts per search parameter.
-
-
Constructor Summary
Constructors Constructor Description V3RoomSearchResults()
-
Method Summary
-
-
-
Method Detail
-
getCount
public Long getCount()
The total number of rooms matched by the search.- Returns:
- count
-
setCount
public void setCount(Long count)
-
count
public V3RoomSearchResults count(Long count)
-
getSkip
public Integer getSkip()
The number of skipped results.- Returns:
- skip
-
setSkip
public void setSkip(Integer skip)
-
skip
public V3RoomSearchResults skip(Integer skip)
-
getLimit
public Integer getLimit()
The number of returned results.- Returns:
- limit
-
setLimit
public void setLimit(Integer limit)
-
limit
public V3RoomSearchResults limit(Integer limit)
-
getQuery
public V2RoomSearchCriteria getQuery()
Get query- Returns:
- query
-
setQuery
public void setQuery(V2RoomSearchCriteria query)
-
query
public V3RoomSearchResults query(V2RoomSearchCriteria query)
-
getRooms
public List<V3RoomDetail> getRooms()
A list of rooms matched by the query.- Returns:
- rooms
-
setRooms
public void setRooms(List<V3RoomDetail> rooms)
-
rooms
public V3RoomSearchResults rooms(List<V3RoomDetail> rooms)
-
addRoomsItem
public V3RoomSearchResults addRoomsItem(V3RoomDetail roomsItem)
-
getFacetedMatchCount
public List<FacetedMatchCount> getFacetedMatchCount()
Detailed counts of matched rooms per search criterion.- Returns:
- facetedMatchCount
-
setFacetedMatchCount
public void setFacetedMatchCount(List<FacetedMatchCount> facetedMatchCount)
-
facetedMatchCount
public V3RoomSearchResults facetedMatchCount(List<FacetedMatchCount> facetedMatchCount)
-
addFacetedMatchCountItem
public V3RoomSearchResults addFacetedMatchCountItem(FacetedMatchCount facetedMatchCountItem)
-
-