Class LivingConditionsSurveysHealthClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.livingconditions.surveys.health.LivingConditionsSurveysHealthClient
-
public class LivingConditionsSurveysHealthClient extends AbstractClient
Client which handles living conditions surveys health data fetching.
- Since:
- 0.2.0
-
-
Constructor Summary
Constructors Constructor Description LivingConditionsSurveysHealthClient()Default constructor.LivingConditionsSurveysHealthClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getBodyMassIndex()Fetch all body mass index data.List<ResponseModel>getBodyMassIndex(Collection<String> indicators, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)Fetch all body mass index data which match the input constraints.List<ResponseModel>getDisabilities()Fetch all disabilities data.List<ResponseModel>getDisabilities(Collection<String> indicators, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)Fetch all disabilities data which match the input constraints.List<ResponseModel>getDoctorAndDentistAppointments()Fetch all doctor and dentist appointments data.List<ResponseModel>getDoctorAndDentistAppointments(Collection<String> indicators, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)Fetch all doctor and dentist appointments data which match the input constraints.List<ResponseModel>getLongTermIllness()Fetch all long term illness data.List<ResponseModel>getLongTermIllness(Collection<String> indicators, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)Fetch all long term illness data which match the input constraints.List<ResponseModel>getPhysicalAndMentalHealth()Fetch all physical and mental health data.List<ResponseModel>getPhysicalAndMentalHealth(Collection<String> indicators, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)Fetch all physical and mental health data which match the input constraints.List<ResponseModel>getTobaccoHabits()Fetch all tobacco habits data.List<ResponseModel>getTobaccoHabits(Collection<String> indicators, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)Fetch all tobacco habits data which match the input constraints.URLEndpointgetUrl()Returns the URL endpoint which this client represents.-
Methods inherited from class com.github.dannil.scbjavaclient.client.AbstractClient
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocale, setLocalizationLocale
-
-
-
-
Constructor Detail
-
LivingConditionsSurveysHealthClient
public LivingConditionsSurveysHealthClient()
Default constructor.
-
LivingConditionsSurveysHealthClient
public LivingConditionsSurveysHealthClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getPhysicalAndMentalHealth
public List<ResponseModel> getPhysicalAndMentalHealth()
Fetch all physical and mental health data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getPhysicalAndMentalHealth(Collection, Collection, Collection, Collection)
-
getPhysicalAndMentalHealth
public List<ResponseModel> getPhysicalAndMentalHealth(Collection<String> indicators, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)
Fetch all physical and mental health data which match the input constraints.
- Parameters:
indicators- the indicatorsages- the agessexes- the sexesperiods- the periods- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getLongTermIllness
public List<ResponseModel> getLongTermIllness()
Fetch all long term illness data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getLongTermIllness(Collection, Collection, Collection, Collection)
-
getLongTermIllness
public List<ResponseModel> getLongTermIllness(Collection<String> indicators, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)
Fetch all long term illness data which match the input constraints.
- Parameters:
indicators- the indicatorsages- the agessexes- the sexesperiods- the periods- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getDisabilities
public List<ResponseModel> getDisabilities()
Fetch all disabilities data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getDisabilities(Collection, Collection, Collection, Collection)
-
getDisabilities
public List<ResponseModel> getDisabilities(Collection<String> indicators, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)
Fetch all disabilities data which match the input constraints.
- Parameters:
indicators- the indicatorsages- the agessexes- the sexesperiods- the periods- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getDoctorAndDentistAppointments
public List<ResponseModel> getDoctorAndDentistAppointments()
Fetch all doctor and dentist appointments data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getDoctorAndDentistAppointments(Collection, Collection, Collection, Collection)
-
getDoctorAndDentistAppointments
public List<ResponseModel> getDoctorAndDentistAppointments(Collection<String> indicators, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)
Fetch all doctor and dentist appointments data which match the input constraints.
- Parameters:
indicators- the indicatorsages- the agessexes- the sexesperiods- the periods- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getTobaccoHabits
public List<ResponseModel> getTobaccoHabits()
Fetch all tobacco habits data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getTobaccoHabits(Collection, Collection, Collection, Collection)
-
getTobaccoHabits
public List<ResponseModel> getTobaccoHabits(Collection<String> indicators, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)
Fetch all tobacco habits data which match the input constraints.
- Parameters:
indicators- the indicatorsages- the agessexes- the sexesperiods- the periods- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getBodyMassIndex
public List<ResponseModel> getBodyMassIndex()
Fetch all body mass index data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getBodyMassIndex(Collection, Collection, Collection, Collection)
-
getBodyMassIndex
public List<ResponseModel> getBodyMassIndex(Collection<String> indicators, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)
Fetch all body mass index data which match the input constraints.
- Parameters:
indicators- the indicatorsages- the agessexes- the sexesperiods- the periods- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getUrl
public URLEndpoint getUrl()
Description copied from class:AbstractClientReturns the URL endpoint which this client represents.
- Specified by:
getUrlin classAbstractClient- Returns:
- the URL endpoint for this client
-
-