Class EnvironmentSEEAEnergyAccountsClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.environment.seea.energyaccounts.EnvironmentSEEAEnergyAccountsClient
-
public class EnvironmentSEEAEnergyAccountsClient extends AbstractClient
Client which handles environment System of Environmental-Economic Accounting (SEEA) energy accounts data fetching.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description EnvironmentSEEAEnergyAccountsClient()Default constructor.EnvironmentSEEAEnergyAccountsClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getCombustionOfFuels()Fetch all combustion of fuels data.List<ResponseModel>getCombustionOfFuels(Collection<String> industrialClassifications, Collection<String> typesOfFuels, Collection<Integer> years)Fetch all combustion of fuels 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
-
EnvironmentSEEAEnergyAccountsClient
public EnvironmentSEEAEnergyAccountsClient()
Default constructor.
-
EnvironmentSEEAEnergyAccountsClient
public EnvironmentSEEAEnergyAccountsClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getCombustionOfFuels
public List<ResponseModel> getCombustionOfFuels()
Fetch all combustion of fuels data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getCombustionOfFuels(Collection, Collection, Collection)
-
getCombustionOfFuels
public List<ResponseModel> getCombustionOfFuels(Collection<String> industrialClassifications, Collection<String> typesOfFuels, Collection<Integer> years)
Fetch all combustion of fuels data which match the input constraints.
- Parameters:
industrialClassifications- the industrial classificationstypesOfFuels- the types of fuelsyears- 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
-
-