Record Class EODCryptoStatisticsResponse
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.responses.eod.EODCryptoStatisticsResponse
- Record Components:
marketCapitalization- current market capmarketCapitalizationDiluted- diluted market capcirculatingSupply- circulating supplytotalSupply- total supplymaxSupply- max supplymarketCapDominance- market-cap dominancetechnicalDoc- white-paper or technical document URLexplorer- primary explorer URLsourceCode- source-code URLmessageBoard- message-board URLlowAllTime- all-time lowhighAllTime- all-time high
public record EODCryptoStatisticsResponse(BigDecimal marketCapitalization, BigDecimal marketCapitalizationDiluted, BigDecimal circulatingSupply, BigDecimal totalSupply, BigDecimal maxSupply, BigDecimal marketCapDominance, String technicalDoc, String explorer, String sourceCode, String messageBoard, BigDecimal lowAllTime, BigDecimal highAllTime)
extends Record
Statistics section of a crypto fundamentals payload.
- Version:
- 1.0.12
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionEODCryptoStatisticsResponse(BigDecimal marketCapitalization, BigDecimal marketCapitalizationDiluted, BigDecimal circulatingSupply, BigDecimal totalSupply, BigDecimal maxSupply, BigDecimal marketCapDominance, String technicalDoc, String explorer, String sourceCode, String messageBoard, BigDecimal lowAllTime, BigDecimal highAllTime) Creates an instance of aEODCryptoStatisticsResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecirculatingSupplyrecord component.final booleanIndicates whether some other object is "equal to" this one.explorer()Returns the value of theexplorerrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thehighAllTimerecord component.Returns the value of thelowAllTimerecord component.Returns the value of themarketCapDominancerecord component.Returns the value of themarketCapitalizationrecord component.Returns the value of themarketCapitalizationDilutedrecord component.Returns the value of themaxSupplyrecord component.Returns the value of themessageBoardrecord component.Returns the value of thesourceCoderecord component.Returns the value of thetechnicalDocrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetotalSupplyrecord component.
-
Constructor Details
-
EODCryptoStatisticsResponse
public EODCryptoStatisticsResponse(BigDecimal marketCapitalization, BigDecimal marketCapitalizationDiluted, BigDecimal circulatingSupply, BigDecimal totalSupply, BigDecimal maxSupply, BigDecimal marketCapDominance, String technicalDoc, String explorer, String sourceCode, String messageBoard, BigDecimal lowAllTime, BigDecimal highAllTime) Creates an instance of aEODCryptoStatisticsResponserecord class.- Parameters:
marketCapitalization- the value for themarketCapitalizationrecord componentmarketCapitalizationDiluted- the value for themarketCapitalizationDilutedrecord componentcirculatingSupply- the value for thecirculatingSupplyrecord componenttotalSupply- the value for thetotalSupplyrecord componentmaxSupply- the value for themaxSupplyrecord componentmarketCapDominance- the value for themarketCapDominancerecord componenttechnicalDoc- the value for thetechnicalDocrecord componentexplorer- the value for theexplorerrecord componentsourceCode- the value for thesourceCoderecord componentmessageBoard- the value for themessageBoardrecord componentlowAllTime- the value for thelowAllTimerecord componenthighAllTime- the value for thehighAllTimerecord component
-
-
Method Details
-
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). -
marketCapitalization
Returns the value of themarketCapitalizationrecord component.- Returns:
- the value of the
marketCapitalizationrecord component
-
marketCapitalizationDiluted
Returns the value of themarketCapitalizationDilutedrecord component.- Returns:
- the value of the
marketCapitalizationDilutedrecord component
-
circulatingSupply
Returns the value of thecirculatingSupplyrecord component.- Returns:
- the value of the
circulatingSupplyrecord component
-
totalSupply
Returns the value of thetotalSupplyrecord component.- Returns:
- the value of the
totalSupplyrecord component
-
maxSupply
-
marketCapDominance
Returns the value of themarketCapDominancerecord component.- Returns:
- the value of the
marketCapDominancerecord component
-
technicalDoc
Returns the value of thetechnicalDocrecord component.- Returns:
- the value of the
technicalDocrecord component
-
explorer
-
sourceCode
Returns the value of thesourceCoderecord component.- Returns:
- the value of the
sourceCoderecord component
-
messageBoard
Returns the value of themessageBoardrecord component.- Returns:
- the value of the
messageBoardrecord component
-
lowAllTime
Returns the value of thelowAllTimerecord component.- Returns:
- the value of the
lowAllTimerecord component
-
highAllTime
Returns the value of thehighAllTimerecord component.- Returns:
- the value of the
highAllTimerecord component
-