Package com.github.dannil.scbjavaclient.client.publicfinances.annualaccounts.balancesheetmunicipality
Class PublicFinancesAnnualAccountsBalanceSheetMunicipalityClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.publicfinances.annualaccounts.balancesheetmunicipality.PublicFinancesAnnualAccountsBalanceSheetMunicipalityClient
-
public class PublicFinancesAnnualAccountsBalanceSheetMunicipalityClient extends AbstractClient
Client which handles public finances annual accounts balance sheet municipality data fetching.
- Since:
- 0.3.0
-
-
Constructor Summary
Constructors Constructor Description PublicFinancesAnnualAccountsBalanceSheetMunicipalityClient()Default constructor.PublicFinancesAnnualAccountsBalanceSheetMunicipalityClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getBalanceSheet()Fetch all balance sheet data.List<ResponseModel>getBalanceSheet(Collection<String> regions, Collection<String> balanceSheets, Collection<Integer> years)Fetch all balance sheet data which match the input constraints.List<ResponseModel>getGuaranteesAndContingentLiabilities()Fetch all guarantees and contingent liabilities data.List<ResponseModel>getGuaranteesAndContingentLiabilities(Collection<String> regions, Collection<Integer> typesOfGuarantees, Collection<Integer> years)Fetch all guarantees and contingent liabilities data which match the input constraints.List<ResponseModel>getIncomeStatements()Fetch all income statements data.List<ResponseModel>getIncomeStatements(Collection<String> regions, Collection<String> incomeStatements, Collection<Integer> years)Fetch all income statements data which match the input constraints.List<ResponseModel>getLocalGovernmentIncomes()Fetch all local government incomes data.List<ResponseModel>getLocalGovernmentIncomes(Collection<String> regions, Collection<Integer> items, Collection<Integer> years)Fetch all local government incomes data which match the input constraints.List<ResponseModel>getMunicipalitiesCosts()Fetch all municipalities costs data.List<ResponseModel>getMunicipalitiesCosts(Collection<String> regions, Collection<Integer> items, Collection<Integer> years)Fetch all municipalities costs 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
-
PublicFinancesAnnualAccountsBalanceSheetMunicipalityClient
public PublicFinancesAnnualAccountsBalanceSheetMunicipalityClient()
Default constructor.
-
PublicFinancesAnnualAccountsBalanceSheetMunicipalityClient
public PublicFinancesAnnualAccountsBalanceSheetMunicipalityClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getIncomeStatements
public List<ResponseModel> getIncomeStatements()
Fetch all income statements data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getIncomeStatements(Collection, Collection, Collection)
-
getIncomeStatements
public List<ResponseModel> getIncomeStatements(Collection<String> regions, Collection<String> incomeStatements, Collection<Integer> years)
Fetch all income statements data which match the input constraints.
- Parameters:
regions- the regionsincomeStatements- the income statementsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getBalanceSheet
public List<ResponseModel> getBalanceSheet()
Fetch all balance sheet data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getBalanceSheet(Collection, Collection, Collection)
-
getBalanceSheet
public List<ResponseModel> getBalanceSheet(Collection<String> regions, Collection<String> balanceSheets, Collection<Integer> years)
Fetch all balance sheet data which match the input constraints.
- Parameters:
regions- the regionsbalanceSheets- the balance sheetsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getGuaranteesAndContingentLiabilities
public List<ResponseModel> getGuaranteesAndContingentLiabilities()
Fetch all guarantees and contingent liabilities data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getGuaranteesAndContingentLiabilities(Collection, Collection, Collection)
-
getGuaranteesAndContingentLiabilities
public List<ResponseModel> getGuaranteesAndContingentLiabilities(Collection<String> regions, Collection<Integer> typesOfGuarantees, Collection<Integer> years)
Fetch all guarantees and contingent liabilities data which match the input constraints.
- Parameters:
regions- the regionstypesOfGuarantees- the types of guaranteesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getLocalGovernmentIncomes
public List<ResponseModel> getLocalGovernmentIncomes()
Fetch all local government incomes data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getLocalGovernmentIncomes(Collection, Collection, Collection)
-
getLocalGovernmentIncomes
public List<ResponseModel> getLocalGovernmentIncomes(Collection<String> regions, Collection<Integer> items, Collection<Integer> years)
Fetch all local government incomes data which match the input constraints.
- Parameters:
regions- the regionsitems- the itemsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getMunicipalitiesCosts
public List<ResponseModel> getMunicipalitiesCosts()
Fetch all municipalities costs data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getMunicipalitiesCosts(Collection, Collection, Collection)
-
getMunicipalitiesCosts
public List<ResponseModel> getMunicipalitiesCosts(Collection<String> regions, Collection<Integer> items, Collection<Integer> years)
Fetch all municipalities costs data which match the input constraints.
- Parameters:
regions- the regionsitems- the itemsyears- 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
-
-