Class GeoNameLightweightSupplier
java.lang.Object
travel.wink.sdk.extranet.booking.model.GeoNameLightweightSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:17:36.846722567+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class GeoNameLightweightSupplier
extends Object
GeoNames have been created at [https://geonames.org](https://geonames.org) and contain geographical destinations we use as geoname data to associate travel inventory with a location.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGeoNameLightweight type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountry(CountryLightweightSupplier country) countryCode(String countryCode) booleanfeatureCode(String featureCode) Ascii name of city@Valid CountryLightweightSupplierCountryGet countryCodeGet featureCodeGeoName identifier@Valid GeoJsonPointSupplierCoordinate points of the citygetName()Name of cityCountry sub divisionCountry sub sub divisionTimezonegetType()GeoNameLightweight typeUrl nameinthashCode()location(GeoJsonPointSupplier location) voidsetAsciiName(String asciiName) voidsetCountry(CountryLightweightSupplier country) voidsetCountryCode(String countryCode) voidsetFeatureCode(String featureCode) voidsetGeoNameId(String geoNameId) voidsetLocation(GeoJsonPointSupplier location) voidvoidsetSubCountry(SubCountryLightweightSupplier subCountry) voidsetSubSubCountry(SubSubCountryLightweightSupplier subSubCountry) voidsetTimezone(String timezone) voidvoidsetUrlName(String urlName) subCountry(SubCountryLightweightSupplier subCountry) subSubCountry(SubSubCountryLightweightSupplier subSubCountry) toString()
-
Field Details
-
JSON_PROPERTY_GEO_NAME_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_URL_NAME
- See Also:
-
JSON_PROPERTY_ASCII_NAME
- See Also:
-
JSON_PROPERTY_LOCATION
- See Also:
-
JSON_PROPERTY_FEATURE_CODE
- See Also:
-
JSON_PROPERTY_COUNTRY_CODE
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
JSON_PROPERTY_COUNTRY
- See Also:
-
JSON_PROPERTY_SUB_COUNTRY
- See Also:
-
JSON_PROPERTY_SUB_SUB_COUNTRY
- See Also:
-
-
Constructor Details
-
GeoNameLightweightSupplier
public GeoNameLightweightSupplier()
-
-
Method Details
-
geoNameId
-
getGeoNameId
-
setGeoNameId
-
type
-
getType
GeoNameLightweight type- Returns:
- type
-
setType
-
name
-
getName
-
setName
-
urlName
-
getUrlName
-
setUrlName
-
asciiName
-
getAsciiName
-
setAsciiName
-
location
-
getLocation
Coordinate points of the city- Returns:
- location
-
setLocation
-
featureCode
-
getFeatureCode
-
setFeatureCode
-
countryCode
-
getCountryCode
-
setCountryCode
-
timezone
-
getTimezone
-
setTimezone
-
country
-
getCountry
-
setCountry
-
subCountry
-
getSubCountry
Country sub division- Returns:
- subCountry
-
setSubCountry
-
subSubCountry
public GeoNameLightweightSupplier subSubCountry(@Nullable SubSubCountryLightweightSupplier subSubCountry) -
getSubSubCountry
Country sub sub division- Returns:
- subSubCountry
-
setSubSubCountry
-
equals
-
hashCode
-
toString
-