public class PopulationStatisticsLiveBirthsClient extends AbstractClient
Client which handles population statistics live births data fetching.
| Constructor and Description |
|---|
PopulationStatisticsLiveBirthsClient()
Default constructor.
|
PopulationStatisticsLiveBirthsClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResponseModel> |
getLiveBirths()
Fetch all live births data.
|
List<ResponseModel> |
getLiveBirths(Collection<String> regions,
Collection<String> motherAges,
Collection<Integer> genders,
Collection<Integer> years)
Fetch all live births data which match the input constraints.
|
URLEndpoint |
getUrl()
Returns the URL endpoint which this client represents.
|
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocale, setLocalizationLocalepublic PopulationStatisticsLiveBirthsClient()
Default constructor.
public PopulationStatisticsLiveBirthsClient(Locale locale)
Overloaded constructor.
locale - the Locale for this clientpublic List<ResponseModel> getLiveBirths()
Fetch all live births data.
ResponseModel
objectsgetLiveBirths(Collection, Collection, Collection, Collection)public List<ResponseModel> 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 forResponseModel
objectspublic URLEndpoint getUrl()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2018. All rights reserved.