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, setLocaledoGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocalizationLocalepublic 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()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2019. All rights reserved.