Class PopulationProjectionsClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.AbstractContainerClient
-
- com.github.dannil.scbjavaclient.client.population.projections.PopulationProjectionsClient
-
public class PopulationProjectionsClient extends AbstractContainerClient
Client which handles population projections data fetching.
- Since:
- 0.3.0
-
-
Constructor Summary
Constructors Constructor Description PopulationProjectionsClient()Default constructor.PopulationProjectionsClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URLEndpointgetUrl()Returns the URL endpoint which this client represents.PopulationProjectionsLatestAssumptionsClientlatestAssumptions()Retrieve the client for interacting with population projections latest assumptions data.PopulationProjectionsLatestProjectionsClientlatestProjections()Retrieve the client for interacting with population projections latest projections 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
-
PopulationProjectionsClient
public PopulationProjectionsClient()
Default constructor. Initializes values and creates sub-clients.
-
PopulationProjectionsClient
public PopulationProjectionsClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
latestAssumptions
public PopulationProjectionsLatestAssumptionsClient latestAssumptions()
Retrieve the client for interacting with population projections latest assumptions data.
- Returns:
- a client for population projections latest assumptions data
-
latestProjections
public PopulationProjectionsLatestProjectionsClient latestProjections()
Retrieve the client for interacting with population projections latest projections data.
- Returns:
- a client for population projections latest projections 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
-
-