Class LivingConditionsSurveysClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.AbstractContainerClient
-
- com.github.dannil.scbjavaclient.client.livingconditions.surveys.LivingConditionsSurveysClient
-
public class LivingConditionsSurveysClient extends AbstractContainerClient
Client which handles living conditions surveys data fetching.
- Since:
- 0.2.0
-
-
Constructor Summary
Constructors Constructor Description LivingConditionsSurveysClient()Default constructor.LivingConditionsSurveysClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LivingConditionsSurveysEmploymentClientemployment()Retrieve the client for interacting with living conditions surveys employment data.URLEndpointgetUrl()Returns the URL endpoint which this client represents.LivingConditionsSurveysHealthClienthealth()Retrieve the client for interacting with living conditions surveys health data.-
Methods inherited from class com.github.dannil.scbjavaclient.client.AbstractContainerClient
addClient, getClient, setLocale
-
Methods inherited from class com.github.dannil.scbjavaclient.client.AbstractClient
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocalizationLocale
-
-
-
-
Constructor Detail
-
LivingConditionsSurveysClient
public LivingConditionsSurveysClient()
Default constructor. Initializes values and creates sub-clients.
-
LivingConditionsSurveysClient
public LivingConditionsSurveysClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
employment
public LivingConditionsSurveysEmploymentClient employment()
Retrieve the client for interacting with living conditions surveys employment data.
- Returns:
- a client for living conditions surveys employment data
-
health
public LivingConditionsSurveysHealthClient health()
Retrieve the client for interacting with living conditions surveys health data.
- Returns:
- a client for living conditions surveys health data
-
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
-
-