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