public class PopulationLiveBirthsClient extends AbstractClient
Client which handles population live births data fetching.
locale, localization| Constructor and Description |
|---|
PopulationLiveBirthsClient()
Default constructor.
|
PopulationLiveBirthsClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<LiveBirth> |
getLiveBirths()
Fetch all live births data.
|
List<LiveBirth> |
getLiveBirths(Collection<String> regions,
Collection<String> motherAges,
Collection<Integer> genders,
Collection<Integer> years)
Fetch all live births data which match the input constraints.
|
String |
getUrl()
Returns the URL endpoint which this client represents.
|
get, getBaseUrl, getLocale, getRegions, getYears, post, setLocale, setLocalizationLocalepublic PopulationLiveBirthsClient()
Default constructor.
public PopulationLiveBirthsClient(Locale locale)
Overloaded constructor.
locale - the Locale for this clientpublic List<LiveBirth> getLiveBirths()
Fetch all live births data.
LiveBirth objectsgetLiveBirths(Collection, Collection, Collection, Collection)public List<LiveBirth> getLiveBirths(Collection<String> regions, Collection<String> motherAges, Collection<Integer> genders, Collection<Integer> years)
Fetch all live births data which match the input constraints.
regions - the regions to fetch data formotherAges - the mothers' ages to fetch data forgenders - the genders to fetch data foryears - the years to fetch data forLiveBirth objectspublic String getUrl()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2017. All rights reserved.