Package com.symphony.api.model
Class RoomSearchResults
- java.lang.Object
-
- com.symphony.api.model.RoomSearchResults
-
public class RoomSearchResults extends Object
A list of search results and counts per search parameter.
-
-
Constructor Summary
Constructors Constructor Description RoomSearchResults()
-
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 RoomSearchResults count(Long count)
-
getSkip
public Integer getSkip()
The number of skipped results.- Returns:
- skip
-
setSkip
public void setSkip(Integer skip)
-
skip
public RoomSearchResults skip(Integer skip)
-
getLimit
public Integer getLimit()
The number of returned results.- Returns:
- limit
-
setLimit
public void setLimit(Integer limit)
-
limit
public RoomSearchResults limit(Integer limit)
-
getQuery
public RoomSearchCriteria getQuery()
Get query- Returns:
- query
-
setQuery
public void setQuery(RoomSearchCriteria query)
-
query
public RoomSearchResults query(RoomSearchCriteria query)
-
getRooms
public List<V2RoomDetail> getRooms()
A list of rooms matched by the query.- Returns:
- rooms
-
setRooms
public void setRooms(List<V2RoomDetail> rooms)
-
rooms
public RoomSearchResults rooms(List<V2RoomDetail> rooms)
-
addRoomsItem
public RoomSearchResults addRoomsItem(V2RoomDetail 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 RoomSearchResults facetedMatchCount(List<FacetedMatchCount> facetedMatchCount)
-
addFacetedMatchCountItem
public RoomSearchResults addFacetedMatchCountItem(FacetedMatchCount facetedMatchCountItem)
-
-