public class AgricultureCerealCropsClient extends AbstractClient
Client which handles agriculture cereal crops data fetching.
| Constructor and Description |
|---|
AgricultureCerealCropsClient()
Default constructor.
|
AgricultureCerealCropsClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
URLEndpoint |
getUrl()
Returns the URL endpoint which this client represents.
|
List<ResponseModel> |
getYieldPerHectarAndTotalProduction()
Fetch all yield per hectar and total production data.
|
List<ResponseModel> |
getYieldPerHectarAndTotalProduction(Collection<String> regions,
Collection<Integer> crops,
Collection<Integer> years)
Fetch all yield per hectar and total production data which match the input
constraints.
|
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocale, setLocalizationLocalepublic AgricultureCerealCropsClient()
Default constructor.
public AgricultureCerealCropsClient(Locale locale)
Overloaded constructor.
locale - the Locale for this clientpublic List<ResponseModel> getYieldPerHectarAndTotalProduction()
Fetch all yield per hectar and total production data.
ResponseModel
objectsgetYieldPerHectarAndTotalProduction(Collection, Collection, Collection)public List<ResponseModel> getYieldPerHectarAndTotalProduction(Collection<String> regions, Collection<Integer> crops, Collection<Integer> years)
Fetch all yield per hectar and total production data which match the input constraints.
regions - the regionscrops - the cropsyears - the yearsResponseModel
objectspublic URLEndpoint getUrl()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2019. All rights reserved.