public class PopulationStatisticsAmountClient extends AbstractClient
Client which handles population statistics amount data fetching.
Constructor and Description |
---|
PopulationStatisticsAmountClient()
Default constructor.
|
PopulationStatisticsAmountClient(Locale locale)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
List<ResponseModel> |
getPopulation()
Fetch all population amount data.
|
List<ResponseModel> |
getPopulation(Collection<String> regions,
Collection<String> relationshipStatuses,
Collection<String> ages,
Collection<Integer> genders,
Collection<Integer> years)
Fetch all population amount 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, setLocalizationLocale
public PopulationStatisticsAmountClient()
Default constructor.
public PopulationStatisticsAmountClient(Locale locale)
Overloaded constructor.
locale
- the Locale
for this clientpublic List<ResponseModel> getPopulation()
Fetch all population amount data.
ResponseModel
objectsgetPopulation(Collection, Collection, Collection, Collection, Collection)
public List<ResponseModel> getPopulation(Collection<String> regions, Collection<String> relationshipStatuses, Collection<String> ages, Collection<Integer> genders, Collection<Integer> years)
Fetch all population amount data which match the input constraints.
regions
- the regions to fetch data forrelationshipStatuses
- the relationship statuses to fetch data forages
- the ages 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.