Class EnvironmentShorelineLandUseOldTablesClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.environment.shorelinelanduse.oldtables.EnvironmentShorelineLandUseOldTablesClient
-
public class EnvironmentShorelineLandUseOldTablesClient extends AbstractClient
Client which handles environment shoreline land use old tables data fetching.
- Since:
- 2.1.0
-
-
Constructor Summary
Constructors Constructor Description EnvironmentShorelineLandUseOldTablesClient()Default constructor.EnvironmentShorelineLandUseOldTablesClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getPopulationOnIslands()Fetch all population on islands data.List<ResponseModel>getPopulationOnIslands(Collection<String> regions, Collection<Integer> years)Fetch all population on islands 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
-
EnvironmentShorelineLandUseOldTablesClient
public EnvironmentShorelineLandUseOldTablesClient()
Default constructor.
-
EnvironmentShorelineLandUseOldTablesClient
public EnvironmentShorelineLandUseOldTablesClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getPopulationOnIslands
public List<ResponseModel> getPopulationOnIslands()
Fetch all population on islands data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getPopulationOnIslands(Collection, Collection)
-
getPopulationOnIslands
public List<ResponseModel> getPopulationOnIslands(Collection<String> regions, Collection<Integer> years)
Fetch all population on islands data which match the input constraints.
- Parameters:
regions- the regionsyears- the years- 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
-
-