Class FinancialMarketsInvestmentFundsClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.financialmarkets.investmentfunds.FinancialMarketsInvestmentFundsClient
-
public class FinancialMarketsInvestmentFundsClient extends AbstractClient
Client which handles financial markets investment funds data fetching.
- Since:
- 0.2.0
-
-
Constructor Summary
Constructors Constructor Description FinancialMarketsInvestmentFundsClient()Default constructor.FinancialMarketsInvestmentFundsClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getOwnershipOfInvestmentFund()Fetch all ownership of investment fund data.List<ResponseModel>getOwnershipOfInvestmentFund(Collection<String> observations, Collection<String> types, Collection<String> sectors, Collection<String> quarters)Fetch all ownership of investment fund 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
-
FinancialMarketsInvestmentFundsClient
public FinancialMarketsInvestmentFundsClient()
Default constructor.
-
FinancialMarketsInvestmentFundsClient
public FinancialMarketsInvestmentFundsClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getOwnershipOfInvestmentFund
public List<ResponseModel> getOwnershipOfInvestmentFund()
Fetch all ownership of investment fund data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getOwnershipOfInvestmentFund(Collection, Collection, Collection, Collection)
-
getOwnershipOfInvestmentFund
public List<ResponseModel> getOwnershipOfInvestmentFund(Collection<String> observations, Collection<String> types, Collection<String> sectors, Collection<String> quarters)
Fetch all ownership of investment fund data which match the input constraints.
- Parameters:
observations- the observations to fetch data fortypes- the types to fetch data forsectors- the sectors to fetch data forquarters- the quarters to fetch data for- 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
-
-