Package travel.wink.sdk.booking.model
Class GeoNameAgent
java.lang.Object
travel.wink.sdk.booking.model.GeoNameAgent
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-06T16:57:07.874773188+07:00[Asia/Bangkok]")
public class GeoNameAgent
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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountry(CountryAgent country) countryCode(String countryCode) booleanfeatureClass(String featureClass) featureCode(String featureCode) Ascii name of city@Valid CountryAgentGet countryGet countryCodeGet featureClassGet featureCodeGeoName identifier@Valid GeoJsonPointAgentGet locationgetName()Name of cityGet searchableAsCity@Valid SubCountryAgentGet subCountry@Valid SubSubCountryAgentGet subSubCountryTimezonegetType()GeoName typeUrl nameinthashCode()location(GeoJsonPointAgent location) searchableAsCity(Boolean searchableAsCity) voidsetAsciiName(String asciiName) voidsetCountry(CountryAgent country) voidsetCountryCode(String countryCode) voidsetFeatureClass(String featureClass) voidsetFeatureCode(String featureCode) voidsetGeoNameId(String geoNameId) voidsetLocation(GeoJsonPointAgent location) voidvoidsetSearchableAsCity(Boolean searchableAsCity) voidsetSubCountry(SubCountryAgent subCountry) voidsetSubSubCountry(SubSubCountryAgent subSubCountry) voidsetTimezone(String timezone) voidsetType(GeoNameAgent.TypeEnum type) voidsetUrlName(String urlName) subCountry(SubCountryAgent subCountry) subSubCountry(SubSubCountryAgent subSubCountry) toString()type(GeoNameAgent.TypeEnum type)
-
Field Details
-
JSON_PROPERTY_GEO_NAME_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_SEARCHABLE_AS_CITY
- 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_CLASS
- 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
-
GeoNameAgent
public GeoNameAgent()
-
-
Method Details
-
geoNameId
-
getGeoNameId
GeoName identifier- Returns:
- geoNameId
-
setGeoNameId
-
type
-
getType
GeoName type- Returns:
- type
-
setType
-
searchableAsCity
-
getSearchableAsCity
Get searchableAsCity- Returns:
- searchableAsCity
-
setSearchableAsCity
-
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
-
featureClass
-
getFeatureClass
Get featureClass- Returns:
- featureClass
-
setFeatureClass
-
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
-