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> agesOfMothers,
Collection<Integer> sexes,
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> agesOfMothers, Collection<Integer> sexes, Collection<Integer> years)
Fetch all live births data which match the input constraints.
regions - the regions to fetch data foragesOfMothers - the ages of mothers to fetch data forsexes - the sexes 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 © 2019. All rights reserved.