Record Class EODBulkFundamentalsResponse
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.responses.eod.EODBulkFundamentalsResponse
- Record Components:
fundamentalsBySymbol- parsed fundamentals keyed by symbolrawPayload- full provider payload
- All Implemented Interfaces:
GenericIntegrationResponse
public record EODBulkFundamentalsResponse(Map<String, EODFundamentalsResponse> fundamentalsBySymbol, com.fasterxml.jackson.databind.JsonNode rawPayload)
extends Record
implements GenericIntegrationResponse
Bulk fundamentals payload keyed by symbol.
- Version:
- 1.0.12
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionEODBulkFundamentalsResponse(Map<String, EODFundamentalsResponse> fundamentalsBySymbol, com.fasterxml.jackson.databind.JsonNode rawPayload) Creates an instance of aEODBulkFundamentalsResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefundamentalsBySymbolrecord component.final inthashCode()Returns a hash code value for this object.booleanisEmpty()Returns true when no symbol payloads were returned.com.fasterxml.jackson.databind.JsonNodeReturns the value of therawPayloadrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EODBulkFundamentalsResponse
public EODBulkFundamentalsResponse(Map<String, EODFundamentalsResponse> fundamentalsBySymbol, com.fasterxml.jackson.databind.JsonNode rawPayload) Creates an instance of aEODBulkFundamentalsResponserecord class.- Parameters:
fundamentalsBySymbol- the value for thefundamentalsBySymbolrecord componentrawPayload- the value for therawPayloadrecord component
-
-
Method Details
-
isEmpty
public boolean isEmpty()Returns true when no symbol payloads were returned.- 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). -
fundamentalsBySymbol
Returns the value of thefundamentalsBySymbolrecord component.- Returns:
- the value of the
fundamentalsBySymbolrecord component
-
rawPayload
public com.fasterxml.jackson.databind.JsonNode rawPayload()Returns the value of therawPayloadrecord component.- Returns:
- the value of the
rawPayloadrecord component
-