Class ApiDestination
java.lang.Object
travel.wink.hotelbeds.content.sdk.model.ApiDestination
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:31.756188010+07:00[Asia/Bangkok]")
public class ApiDestination
extends Object
Information on a destination of the destination tree.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddGroupZonesItem(ApiGroupZone groupZonesItem) addZonesItem(ApiZone zonesItem) countryCode(String countryCode) booleangetCode()Code of the destination.Hotelbeds code for the country@Valid List<ApiGroupZone>List of groups of zones.ISO Country Code.@Valid ApiContentgetName()Get namegetZones()List of zones in which the destination is divided.groupZones(List<ApiGroupZone> groupZones) inthashCode()name(ApiContent name) voidvoidsetCountryCode(String countryCode) voidsetGroupZones(List<ApiGroupZone> groupZones) voidsetIsoCode(String isoCode) voidsetName(ApiContent name) voidtoString()
-
Field Details
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_COUNTRY_CODE
- See Also:
-
JSON_PROPERTY_GROUP_ZONES
- See Also:
-
JSON_PROPERTY_ISO_CODE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_ZONES
- See Also:
-
-
Constructor Details
-
ApiDestination
public ApiDestination()
-
-
Method Details
-
code
-
getCode
Code of the destination.- Returns:
- code
-
setCode
-
countryCode
-
getCountryCode
Hotelbeds code for the country- Returns:
- countryCode
-
setCountryCode
-
groupZones
-
addGroupZonesItem
-
getGroupZones
List of groups of zones.- Returns:
- groupZones
-
setGroupZones
-
isoCode
-
getIsoCode
ISO Country Code.- Returns:
- isoCode
-
setIsoCode
-
name
-
getName
Get name- Returns:
- name
-
setName
-
zones
-
addZonesItem
-
getZones
List of zones in which the destination is divided.- Returns:
- zones
-
setZones
-
equals
-
hashCode
public int hashCode() -
toString
-