public class LivingConditionsFamiliesHousingClient extends AbstractClient
Client which handles living conditions families housing data fetching.
| Constructor and Description |
|---|
LivingConditionsFamiliesHousingClient()
Default constructor.
|
LivingConditionsFamiliesHousingClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResponseModel> |
getHousing()
Fetch all housing data.
|
List<ResponseModel> |
getHousing(Collection<String> sexes,
Collection<String> ages,
Collection<String> typesOfHousings,
Collection<String> familyTypes,
Collection<String> foreignAndSwedishBackgrounds,
Collection<Integer> parentsIncomes,
Collection<Integer> years)
Fetch all housing 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 LivingConditionsFamiliesHousingClient()
Default constructor.
public LivingConditionsFamiliesHousingClient(Locale locale)
Overloaded constructor.
locale - the Locale for this clientpublic List<ResponseModel> getHousing()
Fetch all housing data.
ResponseModel
objectsgetHousing(Collection, Collection, Collection, Collection, Collection,
Collection, Collection)public List<ResponseModel> getHousing(Collection<String> sexes, Collection<String> ages, Collection<String> typesOfHousings, Collection<String> familyTypes, Collection<String> foreignAndSwedishBackgrounds, Collection<Integer> parentsIncomes, Collection<Integer> years)
Fetch all housing data which match the input constraints.
sexes - the sexesages - the agestypesOfHousings - the types of housingsfamilyTypes - the family typesforeignAndSwedishBackgrounds - the foreign and Swedish backgroundsparentsIncomes - the parents incomesyears - the yearsResponseModel
objectspublic URLEndpoint getUrl()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2019. All rights reserved.