Class ApiHotelsRS
java.lang.Object
travel.wink.hotelbeds.content.sdk.model.ApiHotelsRS
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:31.756188010+07:00[Asia/Bangkok]")
public class ApiHotelsRS
extends Object
Response of Hotels operation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHotelsItem(ApiHotel hotelsItem) auditData(ApiAuditData auditData) booleanerror(ApiHotelbedsError error) @Valid ApiAuditDataGet auditData@Valid ApiHotelbedsErrorgetError()Get errorgetFrom()Lowest value of the range of returned hotels.List of returned hotels matching the parameters used in the request.getTo()Highest value of the range of returned hotels.getTotal()Total number of hotels matching the parameters used in the request (regardless of pagination/returned range).inthashCode()voidsetAuditData(ApiAuditData auditData) voidsetError(ApiHotelbedsError error) voidvoidvoidvoidtoString()
-
Field Details
-
JSON_PROPERTY_AUDIT_DATA
- See Also:
-
JSON_PROPERTY_ERROR
- See Also:
-
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_HOTELS
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
JSON_PROPERTY_TOTAL
- See Also:
-
-
Constructor Details
-
ApiHotelsRS
public ApiHotelsRS()
-
-
Method Details
-
auditData
-
getAuditData
Get auditData- Returns:
- auditData
-
setAuditData
-
error
-
getError
Get error- Returns:
- error
-
setError
-
from
-
getFrom
Lowest value of the range of returned hotels.- Returns:
- from
-
setFrom
-
hotels
-
addHotelsItem
-
getHotels
List of returned hotels matching the parameters used in the request.- Returns:
- hotels
-
setHotels
-
to
-
getTo
Highest value of the range of returned hotels.- Returns:
- to
-
setTo
-
total
-
getTotal
Total number of hotels matching the parameters used in the request (regardless of pagination/returned range).- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-