Class LabourMarketShortTermEmploymentSickLeaveClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.labourmarket.shorttermemployment.sickleave.LabourMarketShortTermEmploymentSickLeaveClient
-
public class LabourMarketShortTermEmploymentSickLeaveClient extends AbstractClient
Client which handles labour market short-term employment sick leave data fetching.
- Since:
- 0.3.0
-
-
Constructor Summary
Constructors Constructor Description LabourMarketShortTermEmploymentSickLeaveClient()Default constructor.LabourMarketShortTermEmploymentSickLeaveClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getProportionOfAbsentEmployees()Fetch all proportion of absent employees data.List<ResponseModel>getProportionOfAbsentEmployees(Collection<String> industrialClassifications, Collection<String> quarters)Fetch all proportion of absent employees 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
-
LabourMarketShortTermEmploymentSickLeaveClient
public LabourMarketShortTermEmploymentSickLeaveClient()
Default constructor.
-
LabourMarketShortTermEmploymentSickLeaveClient
public LabourMarketShortTermEmploymentSickLeaveClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getProportionOfAbsentEmployees
public List<ResponseModel> getProportionOfAbsentEmployees()
Fetch all proportion of absent employees data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getProportionOfAbsentEmployees(Collection, Collection)
-
getProportionOfAbsentEmployees
public List<ResponseModel> getProportionOfAbsentEmployees(Collection<String> industrialClassifications, Collection<String> quarters)
Fetch all proportion of absent employees data which match the input constraints.
- Parameters:
industrialClassifications- the industrial classificationsquarters- the quarters- 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
-
-