Record Class EODFundamentalsResponse
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.responses.eod.EODFundamentalsResponse
- Record Components:
general- stable general sectionhighlights- highlights sectionvaluation- valuation section- share statistics sectiontechnicals- technical metrics sectionsplitsDividends- split and dividend sectionanalystRatings- analyst ratings sectionholders- holders sectioninsiderTransactions- insider transactions sectionoutlook- outlook sectionearnings- earnings sectionfinancials- financial statements sectionetfData- ETF-specific sectionfundData- mutual-fund-specific sectioncomponents- index constituents sectionrawPayload- full provider payload
- All Implemented Interfaces:
GenericIntegrationResponse
public record EODFundamentalsResponse(EODFundamentalsGeneralResponse general, com.fasterxml.jackson.databind.JsonNode highlights, com.fasterxml.jackson.databind.JsonNode valuation, com.fasterxml.jackson.databind.JsonNode sharesStats, com.fasterxml.jackson.databind.JsonNode technicals, com.fasterxml.jackson.databind.JsonNode splitsDividends, com.fasterxml.jackson.databind.JsonNode analystRatings, com.fasterxml.jackson.databind.JsonNode holders, com.fasterxml.jackson.databind.JsonNode insiderTransactions, com.fasterxml.jackson.databind.JsonNode outlook, com.fasterxml.jackson.databind.JsonNode earnings, com.fasterxml.jackson.databind.JsonNode financials, com.fasterxml.jackson.databind.JsonNode etfData, com.fasterxml.jackson.databind.JsonNode fundData, com.fasterxml.jackson.databind.JsonNode components, com.fasterxml.jackson.databind.JsonNode rawPayload)
extends Record
implements GenericIntegrationResponse
Hybrid fundamentals response for stocks, ETFs, funds, and indices.
- Version:
- 1.0.12
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionEODFundamentalsResponse(EODFundamentalsGeneralResponse general, com.fasterxml.jackson.databind.JsonNode highlights, com.fasterxml.jackson.databind.JsonNode valuation, com.fasterxml.jackson.databind.JsonNode sharesStats, com.fasterxml.jackson.databind.JsonNode technicals, com.fasterxml.jackson.databind.JsonNode splitsDividends, com.fasterxml.jackson.databind.JsonNode analystRatings, com.fasterxml.jackson.databind.JsonNode holders, com.fasterxml.jackson.databind.JsonNode insiderTransactions, com.fasterxml.jackson.databind.JsonNode outlook, com.fasterxml.jackson.databind.JsonNode earnings, com.fasterxml.jackson.databind.JsonNode financials, com.fasterxml.jackson.databind.JsonNode etfData, com.fasterxml.jackson.databind.JsonNode fundData, com.fasterxml.jackson.databind.JsonNode components, com.fasterxml.jackson.databind.JsonNode rawPayload) Creates an instance of aEODFundamentalsResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodeReturns the value of theanalystRatingsrecord component.com.fasterxml.jackson.databind.JsonNodeReturns the value of thecomponentsrecord component.com.fasterxml.jackson.databind.JsonNodeearnings()Returns the value of theearningsrecord component.final booleanIndicates whether some other object is "equal to" this one.com.fasterxml.jackson.databind.JsonNodeetfData()Returns the value of theetfDatarecord component.com.fasterxml.jackson.databind.JsonNodeReturns the value of thefinancialsrecord component.com.fasterxml.jackson.databind.JsonNodefundData()Returns the value of thefundDatarecord component.general()Returns the value of thegeneralrecord component.final inthashCode()Returns a hash code value for this object.com.fasterxml.jackson.databind.JsonNodeReturns the value of thehighlightsrecord component.com.fasterxml.jackson.databind.JsonNodeholders()Returns the value of theholdersrecord component.com.fasterxml.jackson.databind.JsonNodeReturns the value of theinsiderTransactionsrecord component.booleanisEmpty()Returns true when the fundamentals payload does not contain any data.com.fasterxml.jackson.databind.JsonNodeoutlook()Returns the value of theoutlookrecord component.com.fasterxml.jackson.databind.JsonNodeReturns the value of therawPayloadrecord component.com.fasterxml.jackson.databind.JsonNodeReturns the value of thesharesStatsrecord component.com.fasterxml.jackson.databind.JsonNodeReturns the value of thesplitsDividendsrecord component.com.fasterxml.jackson.databind.JsonNodeReturns the value of thetechnicalsrecord component.final StringtoString()Returns a string representation of this record class.com.fasterxml.jackson.databind.JsonNodeReturns the value of thevaluationrecord component.
-
Constructor Details
-
EODFundamentalsResponse
public EODFundamentalsResponse(EODFundamentalsGeneralResponse general, com.fasterxml.jackson.databind.JsonNode highlights, com.fasterxml.jackson.databind.JsonNode valuation, com.fasterxml.jackson.databind.JsonNode sharesStats, com.fasterxml.jackson.databind.JsonNode technicals, com.fasterxml.jackson.databind.JsonNode splitsDividends, com.fasterxml.jackson.databind.JsonNode analystRatings, com.fasterxml.jackson.databind.JsonNode holders, com.fasterxml.jackson.databind.JsonNode insiderTransactions, com.fasterxml.jackson.databind.JsonNode outlook, com.fasterxml.jackson.databind.JsonNode earnings, com.fasterxml.jackson.databind.JsonNode financials, com.fasterxml.jackson.databind.JsonNode etfData, com.fasterxml.jackson.databind.JsonNode fundData, com.fasterxml.jackson.databind.JsonNode components, com.fasterxml.jackson.databind.JsonNode rawPayload) Creates an instance of aEODFundamentalsResponserecord class.- Parameters:
general- the value for thegeneralrecord componenthighlights- the value for thehighlightsrecord componentvaluation- the value for thevaluationrecord componentsharesStats- the value for thesharesStatsrecord componenttechnicals- the value for thetechnicalsrecord componentsplitsDividends- the value for thesplitsDividendsrecord componentanalystRatings- the value for theanalystRatingsrecord componentholders- the value for theholdersrecord componentinsiderTransactions- the value for theinsiderTransactionsrecord componentoutlook- the value for theoutlookrecord componentearnings- the value for theearningsrecord componentfinancials- the value for thefinancialsrecord componentetfData- the value for theetfDatarecord componentfundData- the value for thefundDatarecord componentcomponents- the value for thecomponentsrecord componentrawPayload- the value for therawPayloadrecord component
-
-
Method Details
-
isEmpty
public boolean isEmpty()Returns true when the fundamentals payload does not contain any data.- Specified by:
isEmptyin interfaceGenericIntegrationResponse- Returns:
- boolean
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
general
-
highlights
public com.fasterxml.jackson.databind.JsonNode highlights()Returns the value of thehighlightsrecord component.- Returns:
- the value of the
highlightsrecord component
-
valuation
-
technicals
public com.fasterxml.jackson.databind.JsonNode technicals()Returns the value of thetechnicalsrecord component.- Returns:
- the value of the
technicalsrecord component
-
splitsDividends
public com.fasterxml.jackson.databind.JsonNode splitsDividends()Returns the value of thesplitsDividendsrecord component.- Returns:
- the value of the
splitsDividendsrecord component
-
analystRatings
public com.fasterxml.jackson.databind.JsonNode analystRatings()Returns the value of theanalystRatingsrecord component.- Returns:
- the value of the
analystRatingsrecord component
-
holders
-
insiderTransactions
public com.fasterxml.jackson.databind.JsonNode insiderTransactions()Returns the value of theinsiderTransactionsrecord component.- Returns:
- the value of the
insiderTransactionsrecord component
-
outlook
-
earnings
-
financials
public com.fasterxml.jackson.databind.JsonNode financials()Returns the value of thefinancialsrecord component.- Returns:
- the value of the
financialsrecord component
-
etfData
-
fundData
-
components
public com.fasterxml.jackson.databind.JsonNode components()Returns the value of thecomponentsrecord component.- Returns:
- the value of the
componentsrecord component
-
rawPayload
public com.fasterxml.jackson.databind.JsonNode rawPayload()Returns the value of therawPayloadrecord component.- Returns:
- the value of the
rawPayloadrecord component
-