@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-12-02T16:50:15.065Z[Etc/UTC]")
public class RoomSearchResults
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 |
---|
RoomSearchResults() |
Modifier and Type | Method and Description |
---|---|
RoomSearchResults |
addFacetedMatchCountItem(FacetedMatchCount facetedMatchCountItem) |
RoomSearchResults |
addRoomsItem(V2RoomDetail roomsItem) |
RoomSearchResults |
count(java.lang.Long count) |
boolean |
equals(java.lang.Object o)
Return true if this RoomSearchResults object is equal to o.
|
RoomSearchResults |
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.
|
RoomSearchCriteria |
getQuery()
Get query
|
java.util.List<V2RoomDetail> |
getRooms()
A list of rooms matched by the query.
|
java.lang.Integer |
getSkip()
The number of skipped results.
|
int |
hashCode() |
RoomSearchResults |
limit(java.lang.Integer limit) |
RoomSearchResults |
query(RoomSearchCriteria query) |
RoomSearchResults |
rooms(java.util.List<V2RoomDetail> rooms) |
void |
setCount(java.lang.Long count) |
void |
setFacetedMatchCount(java.util.List<FacetedMatchCount> facetedMatchCount) |
void |
setLimit(java.lang.Integer limit) |
void |
setQuery(RoomSearchCriteria query) |
void |
setRooms(java.util.List<V2RoomDetail> rooms) |
void |
setSkip(java.lang.Integer skip) |
RoomSearchResults |
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 RoomSearchResults count(java.lang.Long count)
@Nullable public java.lang.Long getCount()
public void setCount(java.lang.Long count)
public RoomSearchResults skip(java.lang.Integer skip)
@Nullable public java.lang.Integer getSkip()
public void setSkip(java.lang.Integer skip)
public RoomSearchResults limit(java.lang.Integer limit)
@Nullable public java.lang.Integer getLimit()
public void setLimit(java.lang.Integer limit)
public RoomSearchResults query(RoomSearchCriteria query)
@Nullable public RoomSearchCriteria getQuery()
public void setQuery(RoomSearchCriteria query)
public RoomSearchResults rooms(java.util.List<V2RoomDetail> rooms)
public RoomSearchResults addRoomsItem(V2RoomDetail roomsItem)
@Nullable public java.util.List<V2RoomDetail> getRooms()
public void setRooms(java.util.List<V2RoomDetail> rooms)
public RoomSearchResults facetedMatchCount(java.util.List<FacetedMatchCount> facetedMatchCount)
public RoomSearchResults addFacetedMatchCountItem(FacetedMatchCount facetedMatchCountItem)
@Nullable 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