Class PopulationNameClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.AbstractContainerClient
-
- com.github.dannil.scbjavaclient.client.population.name.PopulationNameClient
-
public class PopulationNameClient extends AbstractContainerClient
Client which handles population name data fetching.
- Since:
- 0.5.0
-
-
Constructor Summary
Constructors Constructor Description PopulationNameClient()
Default constructor.PopulationNameClient(Locale locale)
Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URLEndpoint
getUrl()
Returns the URL endpoint which this client represents.PopulationNameNewbornClient
newborn()
Retrieve the client for interacting with population name newborn data.PopulationNameRegisteredPersonsClient
registeredPersons()
Retrieve the client for interacting with population name registered persons 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
-
PopulationNameClient
public PopulationNameClient()
Default constructor. Initializes values and creates sub-clients.
-
PopulationNameClient
public PopulationNameClient(Locale locale)
Overloaded constructor.
- Parameters:
locale
- theLocale
for this client
-
-
Method Detail
-
newborn
public PopulationNameNewbornClient newborn()
Retrieve the client for interacting with population name newborn data.
- Returns:
- a client for population name newborn data
-
registeredPersons
public PopulationNameRegisteredPersonsClient registeredPersons()
Retrieve the client for interacting with population name registered persons data.
- Returns:
- a client for population name registered persons data
-
getUrl
public URLEndpoint getUrl()
Description copied from class:AbstractClient
Returns the URL endpoint which this client represents.
- Specified by:
getUrl
in classAbstractClient
- Returns:
- the URL endpoint for this client
-
-