Package com.affinda.api.client.models
Class RegionBias
- java.lang.Object
-
- com.affinda.api.client.models.RegionBias
-
public final class RegionBias extends Object
The RegionBias model.
-
-
Constructor Summary
Constructors Constructor Description RegionBias()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getCountries()Get the countries property: A list of alpha-2 country codes used by Pelias.StringgetCountry()Get the country property: A single alpha-2 country code (e.g.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].RegionBiassetCountries(List<String> countries)Set the countries property: A list of alpha-2 country codes used by Pelias.RegionBiassetCountry(String country)Set the country property: A single alpha-2 country code (e.g.RegionBiassetSquareCoordinates(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].
-
-
-
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.
-
-