Record Class EODCryptoFundamentalsResponse
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.responses.eod.EODCryptoFundamentalsResponse
- Record Components:
general- stable general sectiondevelopers- developer listlinks- external resource linksthumbnail- thumbnail URLstatistics- statistics sectionrawPayload- full provider payload
- All Implemented Interfaces:
GenericIntegrationResponse
public record EODCryptoFundamentalsResponse(EODCryptoGeneralResponse general, List<String> developers, EODCryptoLinksResponse links, String thumbnail, EODCryptoStatisticsResponse statistics, com.fasterxml.jackson.databind.JsonNode rawPayload)
extends Record
implements GenericIntegrationResponse
Hybrid fundamentals response for cryptocurrencies.
- Version:
- 1.0.12
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionEODCryptoFundamentalsResponse(EODCryptoGeneralResponse general, List<String> developers, EODCryptoLinksResponse links, String thumbnail, EODCryptoStatisticsResponse statistics, com.fasterxml.jackson.databind.JsonNode rawPayload) Creates an instance of aEODCryptoFundamentalsResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedevelopersrecord component.final booleanIndicates whether some other object is "equal to" this one.general()Returns the value of thegeneralrecord component.final inthashCode()Returns a hash code value for this object.booleanisEmpty()Returns true when the crypto payload does not contain any data.links()Returns the value of thelinksrecord component.com.fasterxml.jackson.databind.JsonNodeReturns the value of therawPayloadrecord component.Returns the value of thestatisticsrecord component.Returns the value of thethumbnailrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EODCryptoFundamentalsResponse
public EODCryptoFundamentalsResponse(EODCryptoGeneralResponse general, List<String> developers, EODCryptoLinksResponse links, String thumbnail, EODCryptoStatisticsResponse statistics, com.fasterxml.jackson.databind.JsonNode rawPayload) Creates an instance of aEODCryptoFundamentalsResponserecord class.- Parameters:
general- the value for thegeneralrecord componentdevelopers- the value for thedevelopersrecord componentlinks- the value for thelinksrecord componentthumbnail- the value for thethumbnailrecord componentstatistics- the value for thestatisticsrecord componentrawPayload- the value for therawPayloadrecord component
-
-
Method Details
-
isEmpty
public boolean isEmpty()Returns true when the crypto 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
-
developers
Returns the value of thedevelopersrecord component.- Returns:
- the value of the
developersrecord component
-
links
-
thumbnail
-
statistics
Returns the value of thestatisticsrecord component.- Returns:
- the value of the
statisticsrecord component
-
rawPayload
public com.fasterxml.jackson.databind.JsonNode rawPayload()Returns the value of therawPayloadrecord component.- Returns:
- the value of the
rawPayloadrecord component
-