public class PopulationStatisticsAdopteesClient extends AbstractClient
Client which handles population statistics adoptees data fetching.
Constructor and Description |
---|
PopulationStatisticsAdopteesClient()
Default constructor.
|
PopulationStatisticsAdopteesClient(Locale locale)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
List<ResponseModel> |
getAdoptions()
Fetch all adoptions data.
|
List<ResponseModel> |
getAdoptions(Collection<String> sexes,
Collection<Integer> yearsOfBirths,
Collection<Integer> years)
Fetch all adoptions data which match the input constraints.
|
URLEndpoint |
getUrl()
Returns the URL endpoint which this client represents.
|
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocale, setLocalizationLocale
public PopulationStatisticsAdopteesClient()
Default constructor.
public PopulationStatisticsAdopteesClient(Locale locale)
Overloaded constructor.
locale
- the Locale
for this clientpublic List<ResponseModel> getAdoptions()
Fetch all adoptions data.
ResponseModel
objectsgetAdoptions(Collection, Collection, Collection)
public List<ResponseModel> getAdoptions(Collection<String> sexes, Collection<Integer> yearsOfBirths, Collection<Integer> years)
Fetch all adoptions data which match the input constraints.
sexes
- the sexesyearsOfBirths
- the years of birthsyears
- the yearsResponseModel
objectspublic URLEndpoint getUrl()
AbstractClient
Returns the URL endpoint which this client represents.
getUrl
in class AbstractClient
Copyright © 2019. All rights reserved.