Class BusinessActivitiesAccomodationStatisticsYearClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.businessactivities.accomodationstatistics.year.BusinessActivitiesAccomodationStatisticsYearClient
-
public class BusinessActivitiesAccomodationStatisticsYearClient extends AbstractClient
Client which handles business activities accomodation statistics year data fetching.
- Since:
- 0.3.0
-
-
Constructor Summary
Constructors Constructor Description BusinessActivitiesAccomodationStatisticsYearClient()Default constructor.BusinessActivitiesAccomodationStatisticsYearClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getAccomodationRevenue()Fetch all accomodation revenue data.List<ResponseModel>getAccomodationRevenue(Collection<String> regions, Collection<Integer> years)Fetch all accomodation revenue data which match the input constraints.List<ResponseModel>getCapacityForHotels()Fetch all capacity for hotels data.List<ResponseModel>getCapacityForHotels(Collection<String> regions, Collection<String> typesOfHousing, Collection<Integer> years)Fetch all capacity for hotels data which match the input constraints.List<ResponseModel>getNumberOfHotels()Fetch all number of hotels data.List<ResponseModel>getNumberOfHotels(Collection<String> regions, Collection<String> typesOfEstablishments, Collection<Integer> years)Fetch all number of hotels data which match the input constraints.List<ResponseModel>getNumberOfOccupiedRooms()Fetch all number of occupied rooms data.List<ResponseModel>getNumberOfOccupiedRooms(Collection<String> regions, Collection<Integer> years)Fetch all number of occupied rooms data which match the input constraints.List<ResponseModel>getOccupancyRate()Fetch all occupancy rate data.List<ResponseModel>getOccupancyRate(Collection<String> regions, Collection<String> typesOfHousing, Collection<Integer> years)Fetch all occupancy rate 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
-
BusinessActivitiesAccomodationStatisticsYearClient
public BusinessActivitiesAccomodationStatisticsYearClient()
Default constructor.
-
BusinessActivitiesAccomodationStatisticsYearClient
public BusinessActivitiesAccomodationStatisticsYearClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getNumberOfHotels
public List<ResponseModel> getNumberOfHotels()
Fetch all number of hotels data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getNumberOfHotels(Collection, Collection, Collection)
-
getNumberOfHotels
public List<ResponseModel> getNumberOfHotels(Collection<String> regions, Collection<String> typesOfEstablishments, Collection<Integer> years)
Fetch all number of hotels data which match the input constraints.
- Parameters:
regions- the regionstypesOfEstablishments- the types of establishmentsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getCapacityForHotels
public List<ResponseModel> getCapacityForHotels()
Fetch all capacity for hotels data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getCapacityForHotels(Collection, Collection, Collection)
-
getCapacityForHotels
public List<ResponseModel> getCapacityForHotels(Collection<String> regions, Collection<String> typesOfHousing, Collection<Integer> years)
Fetch all capacity for hotels data which match the input constraints.
- Parameters:
regions- the regionstypesOfHousing- the types of housingyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getOccupancyRate
public List<ResponseModel> getOccupancyRate()
Fetch all occupancy rate data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getOccupancyRate(Collection, Collection, Collection)
-
getOccupancyRate
public List<ResponseModel> getOccupancyRate(Collection<String> regions, Collection<String> typesOfHousing, Collection<Integer> years)
Fetch all occupancy rate data which match the input constraints.
- Parameters:
regions- the regionstypesOfHousing- the types of housingyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getNumberOfOccupiedRooms
public List<ResponseModel> getNumberOfOccupiedRooms()
Fetch all number of occupied rooms data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getNumberOfOccupiedRooms(Collection, Collection)
-
getNumberOfOccupiedRooms
public List<ResponseModel> getNumberOfOccupiedRooms(Collection<String> regions, Collection<Integer> years)
Fetch all number of occupied rooms data which match the input constraints.
- Parameters:
regions- the regionsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getAccomodationRevenue
public List<ResponseModel> getAccomodationRevenue()
Fetch all accomodation revenue data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getAccomodationRevenue(Collection, Collection)
-
getAccomodationRevenue
public List<ResponseModel> getAccomodationRevenue(Collection<String> regions, Collection<Integer> years)
Fetch all accomodation revenue data which match the input constraints.
- Parameters:
regions- the regionsyears- 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
-
-