Class GeoName

java.lang.Object
travel.wink.sdk.booking.engine.model.GeoName

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-28T12:37:03.813612+07:00[Asia/Bangkok]") public class GeoName extends Object
GeoNames have been created at [https://geonames.org](https://geonames.org) and contain geographical destinations we use as reference data to associate travel inventory with a location.
  • Field Details

  • Constructor Details

    • GeoName

      public GeoName()
  • Method Details

    • geoNameId

      public GeoName geoNameId(String geoNameId)
    • getGeoNameId

      @Nullable public String getGeoNameId()
      GeoName identifier
      Returns:
      geoNameId
    • setGeoNameId

      public void setGeoNameId(String geoNameId)
    • type

      public GeoName type(GeoName.TypeEnum type)
    • getType

      @Nullable public GeoName.TypeEnum getType()
      GeoName type
      Returns:
      type
    • setType

      public void setType(GeoName.TypeEnum type)
    • name

      public GeoName name(String name)
    • getName

      @Nullable public String getName()
      Name of city
      Returns:
      name
    • setName

      public void setName(String name)
    • urlName

      public GeoName urlName(String urlName)
    • getUrlName

      @Nullable public String getUrlName()
      Url name
      Returns:
      urlName
    • setUrlName

      public void setUrlName(String urlName)
    • asciiName

      public GeoName asciiName(String asciiName)
    • getAsciiName

      @Nullable public String getAsciiName()
      Ascii name of city
      Returns:
      asciiName
    • setAsciiName

      public void setAsciiName(String asciiName)
    • location

      public GeoName location(GeoJsonPoint location)
    • getLocation

      @Nullable @Valid public @Valid GeoJsonPoint getLocation()
      Get location
      Returns:
      location
    • setLocation

      public void setLocation(GeoJsonPoint location)
    • featureCode

      public GeoName featureCode(String featureCode)
    • getFeatureCode

      @Nullable public String getFeatureCode()
      Get featureCode
      Returns:
      featureCode
    • setFeatureCode

      public void setFeatureCode(String featureCode)
    • countryCode

      public GeoName countryCode(String countryCode)
    • getCountryCode

      @Nullable public String getCountryCode()
      Get countryCode
      Returns:
      countryCode
    • setCountryCode

      public void setCountryCode(String countryCode)
    • timezone

      public GeoName timezone(String timezone)
    • getTimezone

      @Nullable public String getTimezone()
      Timezone
      Returns:
      timezone
    • setTimezone

      public void setTimezone(String timezone)
    • country

      public GeoName country(Country country)
    • getCountry

      @Nullable @Valid public @Valid Country getCountry()
      Get country
      Returns:
      country
    • setCountry

      public void setCountry(Country country)
    • subCountry

      public GeoName subCountry(SubCountry subCountry)
    • getSubCountry

      @Nullable @Valid public @Valid SubCountry getSubCountry()
      Get subCountry
      Returns:
      subCountry
    • setSubCountry

      public void setSubCountry(SubCountry subCountry)
    • subSubCountry

      public GeoName subSubCountry(SubSubCountry subSubCountry)
    • getSubSubCountry

      @Nullable @Valid public @Valid SubSubCountry getSubSubCountry()
      Get subSubCountry
      Returns:
      subSubCountry
    • setSubSubCountry

      public void setSubSubCountry(SubSubCountry subSubCountry)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object