public class PopulationStatisticsAverageAgeClient extends AbstractClient
Client which handles population statistics average age data fetching.
Constructor and Description |
---|
PopulationStatisticsAverageAgeClient()
Default constructor.
|
PopulationStatisticsAverageAgeClient(Locale locale)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
List<ResponseModel> |
getAverageAge()
Fetch all average age data.
|
List<ResponseModel> |
getAverageAge(Collection<String> regions,
Collection<String> genders,
Collection<Integer> years)
Fetch all average age data which match the input constraints.
|
URLEndpoint |
getUrl()
Returns the URL endpoint which this client represents.
|
doGetRequest, doPostRequest, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setLocale, setLocalizationLocale
public PopulationStatisticsAverageAgeClient()
Default constructor.
public PopulationStatisticsAverageAgeClient(Locale locale)
Overloaded constructor.
locale
- the Locale
for this clientpublic List<ResponseModel> getAverageAge()
Fetch all average age data.
ResponseModel
objectsgetAverageAge(Collection, Collection, Collection)
public List<ResponseModel> getAverageAge(Collection<String> regions, Collection<String> genders, Collection<Integer> years)
Fetch all average age data which match the input constraints.
regions
- the regions to fetch data forgenders
- the genders to fetch data foryears
- the years to fetch data forResponseModel
objectspublic URLEndpoint getUrl()
AbstractClient
Returns the URL endpoint which this client represents.
getUrl
in class AbstractClient
Copyright © 2018. All rights reserved.