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