@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-02-19T08:46:08.823+01:00[Europe/Paris]")
public class V3RoomSearchResults
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JSON_PROPERTY_COUNT |
static java.lang.String |
JSON_PROPERTY_FACETED_MATCH_COUNT |
static java.lang.String |
JSON_PROPERTY_LIMIT |
static java.lang.String |
JSON_PROPERTY_QUERY |
static java.lang.String |
JSON_PROPERTY_ROOMS |
static java.lang.String |
JSON_PROPERTY_SKIP |
Constructor and Description |
---|
V3RoomSearchResults() |
Modifier and Type | Method and Description |
---|---|
V3RoomSearchResults |
addFacetedMatchCountItem(FacetedMatchCount facetedMatchCountItem) |
V3RoomSearchResults |
addRoomsItem(V3RoomDetail roomsItem) |
V3RoomSearchResults |
count(java.lang.Long count) |
boolean |
equals(java.lang.Object o) |
V3RoomSearchResults |
facetedMatchCount(java.util.List<FacetedMatchCount> facetedMatchCount) |
java.lang.Long |
getCount()
The total number of rooms matched by the search.
|
java.util.List<FacetedMatchCount> |
getFacetedMatchCount()
Detailed counts of matched rooms per search criterion.
|
java.lang.Integer |
getLimit()
The number of returned results.
|
V2RoomSearchCriteria |
getQuery()
Get query
|
java.util.List<V3RoomDetail> |
getRooms()
A list of rooms matched by the query.
|
java.lang.Integer |
getSkip()
The number of skipped results.
|
int |
hashCode() |
V3RoomSearchResults |
limit(java.lang.Integer limit) |
V3RoomSearchResults |
query(V2RoomSearchCriteria query) |
V3RoomSearchResults |
rooms(java.util.List<V3RoomDetail> rooms) |
void |
setCount(java.lang.Long count) |
void |
setFacetedMatchCount(java.util.List<FacetedMatchCount> facetedMatchCount) |
void |
setLimit(java.lang.Integer limit) |
void |
setQuery(V2RoomSearchCriteria query) |
void |
setRooms(java.util.List<V3RoomDetail> rooms) |
void |
setSkip(java.lang.Integer skip) |
V3RoomSearchResults |
skip(java.lang.Integer skip) |
java.lang.String |
toString() |
public static final java.lang.String JSON_PROPERTY_COUNT
public static final java.lang.String JSON_PROPERTY_SKIP
public static final java.lang.String JSON_PROPERTY_LIMIT
public static final java.lang.String JSON_PROPERTY_QUERY
public static final java.lang.String JSON_PROPERTY_ROOMS
public static final java.lang.String JSON_PROPERTY_FACETED_MATCH_COUNT
public V3RoomSearchResults count(java.lang.Long count)
public java.lang.Long getCount()
public void setCount(java.lang.Long count)
public V3RoomSearchResults skip(java.lang.Integer skip)
public java.lang.Integer getSkip()
public void setSkip(java.lang.Integer skip)
public V3RoomSearchResults limit(java.lang.Integer limit)
public java.lang.Integer getLimit()
public void setLimit(java.lang.Integer limit)
public V3RoomSearchResults query(V2RoomSearchCriteria query)
public V2RoomSearchCriteria getQuery()
public void setQuery(V2RoomSearchCriteria query)
public V3RoomSearchResults rooms(java.util.List<V3RoomDetail> rooms)
public V3RoomSearchResults addRoomsItem(V3RoomDetail roomsItem)
public java.util.List<V3RoomDetail> getRooms()
public void setRooms(java.util.List<V3RoomDetail> rooms)
public V3RoomSearchResults facetedMatchCount(java.util.List<FacetedMatchCount> facetedMatchCount)
public V3RoomSearchResults addFacetedMatchCountItem(FacetedMatchCount facetedMatchCountItem)
public java.util.List<FacetedMatchCount> getFacetedMatchCount()
public void setFacetedMatchCount(java.util.List<FacetedMatchCount> facetedMatchCount)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object