Package travel.wink.sdk.lookup.model
Class GeoNameConsumer
java.lang.Object
travel.wink.sdk.lookup.model.GeoNameConsumer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-08-17T14:17:48.541662466+07:00[Asia/Bangkok]")
public class GeoNameConsumer
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 Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountry(CountryConsumer country) countryCode(String countryCode) booleanfeatureCode(String featureCode) Ascii name of city@Valid CountryConsumerGet countryGet countryCodeGet featureCodeGeoName identifier@Valid GeoJsonPointConsumerGet locationgetName()Name of city@Valid SubCountryConsumerGet subCountry@Valid SubSubCountryConsumerGet subSubCountryTimezonegetType()GeoName typeUrl nameinthashCode()location(GeoJsonPointConsumer location) voidsetAsciiName(String asciiName) voidsetCountry(CountryConsumer country) voidsetCountryCode(String countryCode) voidsetFeatureCode(String featureCode) voidsetGeoNameId(String geoNameId) voidsetLocation(GeoJsonPointConsumer location) voidvoidsetSubCountry(SubCountryConsumer subCountry) voidsetSubSubCountry(SubSubCountryConsumer subSubCountry) voidsetTimezone(String timezone) voidvoidsetUrlName(String urlName) subCountry(SubCountryConsumer subCountry) subSubCountry(SubSubCountryConsumer subSubCountry) toString()type(GeoNameConsumer.TypeEnum type)
-
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
-
GeoNameConsumer
public GeoNameConsumer()
-
-
Method Details
-
geoNameId
-
getGeoNameId
GeoName identifier- Returns:
- geoNameId
-
setGeoNameId
-
type
-
getType
GeoName type- Returns:
- type
-
setType
-
name
-
getName
Name of city- Returns:
- name
-
setName
-
urlName
-
getUrlName
Url name- Returns:
- urlName
-
setUrlName
-
asciiName
-
getAsciiName
Ascii name of city- Returns:
- asciiName
-
setAsciiName
-
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
featureCode
-
getFeatureCode
Get featureCode- Returns:
- featureCode
-
setFeatureCode
-
countryCode
-
getCountryCode
Get countryCode- Returns:
- countryCode
-
setCountryCode
-
timezone
-
getTimezone
Timezone- Returns:
- timezone
-
setTimezone
-
country
-
getCountry
Get country- Returns:
- country
-
setCountry
-
subCountry
-
getSubCountry
Get subCountry- Returns:
- subCountry
-
setSubCountry
-
subSubCountry
-
getSubSubCountry
Get subSubCountry- Returns:
- subSubCountry
-
setSubSubCountry
-
equals
-
hashCode
public int hashCode() -
toString
-