Class GeoNameAffiliate
java.lang.Object
travel.wink.sdk.affiliate.browse.model.GeoNameAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T20:20:14.805203539+07:00[Asia/Bangkok]")
public class GeoNameAffiliate
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(CountryAffiliate country) countryCode(String countryCode) booleanfeatureCode(String featureCode) Ascii name of city@Valid CountryAffiliateGet countryGet countryCodeGet featureCodeGeoName identifier@Valid GeoJsonPointAffiliateGet locationgetName()Name of city@Valid SubCountryAffiliateGet subCountry@Valid SubSubCountryAffiliateGet subSubCountryTimezonegetType()GeoName typeUrl nameinthashCode()location(GeoJsonPointAffiliate location) voidsetAsciiName(String asciiName) voidsetCountry(CountryAffiliate country) voidsetCountryCode(String countryCode) voidsetFeatureCode(String featureCode) voidsetGeoNameId(String geoNameId) voidsetLocation(GeoJsonPointAffiliate location) voidvoidsetSubCountry(SubCountryAffiliate subCountry) voidsetSubSubCountry(SubSubCountryAffiliate subSubCountry) voidsetTimezone(String timezone) voidvoidsetUrlName(String urlName) subCountry(SubCountryAffiliate subCountry) subSubCountry(SubSubCountryAffiliate 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
-
GeoNameAffiliate
public GeoNameAffiliate()
-
-
Method Details
-
geoNameId
-
getGeoNameId
-
setGeoNameId
-
type
-
getType
-
setType
-
name
-
getName
-
setName
-
urlName
-
getUrlName
-
setUrlName
-
asciiName
-
getAsciiName
-
setAsciiName
-
location
-
getLocation
-
setLocation
-
featureCode
-
getFeatureCode
-
setFeatureCode
-
countryCode
-
getCountryCode
-
setCountryCode
-
timezone
-
getTimezone
-
setTimezone
-
country
-
getCountry
-
setCountry
-
subCountry
-
getSubCountry
Get subCountry- Returns:
- subCountry
-
setSubCountry
-
subSubCountry
-
getSubSubCountry
Get subSubCountry- Returns:
- subSubCountry
-
setSubSubCountry
-
equals
-
hashCode
-
toString
-