Class AbstractNamedRecord

    • Method Detail

      • getGeoNameId

        public Integer getGeoNameId()
        Returns:
        The GeoName ID for the city. This attribute is returned by all end points.
      • getName

        public String getName()
        Returns:
        The name of the city based on the locales list passed to the WebServiceClient constructor. This attribute is returned by all end points.
      • getNames

        public Map<String,​String> getNames()
        Returns:
        A Map from locale codes to the name in that locale. This attribute is returned by all end points.