Record Class EODCalendarSplitsResponse
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.responses.eod.EODCalendarSplitsResponse
- Record Components:
type- provider payload typedescription- provider descriptionfrom- range startto- range endsymbols- requested symbols when symbol mode is usedsplits- split records
- All Implemented Interfaces:
GenericIntegrationResponse
public record EODCalendarSplitsResponse(String type, String description, String from, String to, String symbols, List<EODCalendarSplitEntryResponse> splits)
extends Record
implements GenericIntegrationResponse
Split calendar payload.
- Version:
- 1.0.12
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionEODCalendarSplitsResponse(String type, String description, String from, String to, String symbols, List<EODCalendarSplitEntryResponse> splits) Creates an instance of aEODCalendarSplitsResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.from()Returns the value of thefromrecord component.final inthashCode()Returns a hash code value for this object.booleanisEmpty()Returns true when no split records were returned.splits()Returns the value of thesplitsrecord component.symbols()Returns the value of thesymbolsrecord component.to()Returns the value of thetorecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
EODCalendarSplitsResponse
public EODCalendarSplitsResponse(String type, String description, String from, String to, String symbols, List<EODCalendarSplitEntryResponse> splits) Creates an instance of aEODCalendarSplitsResponserecord class.- Parameters:
type- the value for thetyperecord componentdescription- the value for thedescriptionrecord componentfrom- the value for thefromrecord componentto- the value for thetorecord componentsymbols- the value for thesymbolsrecord componentsplits- the value for thesplitsrecord component
-
-
Method Details
-
isEmpty
public boolean isEmpty()Returns true when no split 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). -
type
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
from
-
to
-
symbols
-
splits
-