public class PopulationStatisticsForeignCitizensClient extends AbstractClient
Client which handles population statistics foreign citizens data fetching.
| Constructor and Description |
|---|
PopulationStatisticsForeignCitizensClient()
Default constructor.
|
PopulationStatisticsForeignCitizensClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResponseModel> |
getForeignCitizens()
Fetch all foreign citizens data.
|
List<ResponseModel> |
getForeignCitizens(Collection<String> regions,
Collection<String> ages,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all foreign citizens 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 PopulationStatisticsForeignCitizensClient()
Default constructor.
public PopulationStatisticsForeignCitizensClient(Locale locale)
Overloaded constructor.
locale - the Locale for this clientpublic List<ResponseModel> getForeignCitizens()
Fetch all foreign citizens data.
ResponseModel
objectsgetForeignCitizens(Collection, Collection, Collection, Collection)public List<ResponseModel> getForeignCitizens(Collection<String> regions, Collection<String> ages, Collection<Integer> sexes, Collection<Integer> years)
Fetch all foreign citizens data which match the input constraints.
regions - the regionsages - the agessexes - the sexesyears - the yearsResponseModel
objectspublic URLEndpoint getUrl()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2019. All rights reserved.