Class RegionBias


  • public final class RegionBias
    extends Object
    The RegionBias model.
    • Constructor Detail

      • RegionBias

        public RegionBias()
    • Method Detail

      • getCountry

        public String getCountry()
        Get the country property: A single alpha-2 country code (e.g. AU) used by google geocoding service.
        Returns:
        the country value.
      • setCountry

        public RegionBias setCountry​(String country)
        Set the country property: A single alpha-2 country code (e.g. AU) used by google geocoding service.
        Parameters:
        country - the country value to set.
        Returns:
        the RegionBias object itself.
      • getCountries

        public List<String> getCountries()
        Get the countries property: A list of alpha-2 country codes used by Pelias.
        Returns:
        the countries value.
      • setCountries

        public RegionBias setCountries​(List<String> countries)
        Set the countries property: A list of alpha-2 country codes used by Pelias.
        Parameters:
        countries - the countries value to set.
        Returns:
        the RegionBias object itself.
      • getSquareCoordinates

        public List<Float> getSquareCoordinates()
        Get the squareCoordinates property: A list of coordinates used by Pelias in the shape of [min_lon, min_lat, max_lon, max_lat].
        Returns:
        the squareCoordinates value.
      • setSquareCoordinates

        public RegionBias setSquareCoordinates​(List<Float> squareCoordinates)
        Set the squareCoordinates property: A list of coordinates used by Pelias in the shape of [min_lon, min_lat, max_lon, max_lat].
        Parameters:
        squareCoordinates - the squareCoordinates value to set.
        Returns:
        the RegionBias object itself.