public class EnergyClient extends AbstractContainerClient
Client which handles energy data fetching.
Constructor and Description |
---|
EnergyClient()
Default constructor.
|
EnergyClient(Locale locale)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
EnergyAnnualStatisticsClient |
annualStatistics()
Retrieve the client for interacting with energy annual statistics data.
|
URLEndpoint |
getUrl()
Returns the URL endpoint which this client represents.
|
EnergyMonthlyStatisticsClient |
monthlyStatistics()
Retrieve the client for interacting with energy monthly statistics data.
|
addClient, getClient, setLocale
doGetRequest, doPostRequest, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setLocalizationLocale
public EnergyClient()
Default constructor. Initializes values and creates sub-clients.
public EnergyClient(Locale locale)
Overloaded constructor.
locale
- the Locale
for this clientpublic EnergyAnnualStatisticsClient annualStatistics()
Retrieve the client for interacting with energy annual statistics data.
public EnergyMonthlyStatisticsClient monthlyStatistics()
Retrieve the client for interacting with energy monthly statistics data.
public URLEndpoint getUrl()
AbstractClient
Returns the URL endpoint which this client represents.
getUrl
in class AbstractClient
Copyright © 2018. All rights reserved.