Record Class EODCalendarDividendsResponse
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.responses.eod.EODCalendarDividendsResponse
- Record Components:
data- dividend recordslinks- pagination linksmeta- pagination metadata
- All Implemented Interfaces:
GenericIntegrationResponse
public record EODCalendarDividendsResponse(List<EODCalendarDividendEntryResponse> data, com.fasterxml.jackson.databind.JsonNode links, com.fasterxml.jackson.databind.JsonNode meta)
extends Record
implements GenericIntegrationResponse
Paginated dividends calendar payload.
- Version:
- 1.0.12
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionEODCalendarDividendsResponse(List<EODCalendarDividendEntryResponse> data, com.fasterxml.jackson.databind.JsonNode links, com.fasterxml.jackson.databind.JsonNode meta) Creates an instance of aEODCalendarDividendsResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptiondata()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisEmpty()Returns true when no dividend records were returned.com.fasterxml.jackson.databind.JsonNodelinks()Returns the value of thelinksrecord component.com.fasterxml.jackson.databind.JsonNodemeta()Returns the value of themetarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EODCalendarDividendsResponse
public EODCalendarDividendsResponse(List<EODCalendarDividendEntryResponse> data, com.fasterxml.jackson.databind.JsonNode links, com.fasterxml.jackson.databind.JsonNode meta) Creates an instance of aEODCalendarDividendsResponserecord class.
-
-
Method Details
-
isEmpty
public boolean isEmpty()Returns true when no dividend records 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). -
data
-
links
-
meta
-