Record Class EODIntradayDataRequest
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.requests.eod.EODIntradayDataRequest
- Record Components:
symbol- instrument ticker in EODHD formatinterval- optional provider intervalfrom- optional start date timeto- optional end date timesplitDateTime- optional flag for split date/time output
public record EODIntradayDataRequest(String symbol, String interval, LocalDateTime from, LocalDateTime to, Boolean splitDateTime)
extends Record
Request parameters for intraday price data.
- Version:
- 1.0.12
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionEODIntradayDataRequest(String symbol, String interval, LocalDateTime from, LocalDateTime to, Boolean splitDateTime) Creates an instance of aEODIntradayDataRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.interval()Returns the value of theintervalrecord component.Returns the value of thesplitDateTimerecord component.symbol()Returns the value of thesymbolrecord component.to()Returns the value of thetorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EODIntradayDataRequest
public EODIntradayDataRequest(String symbol, String interval, LocalDateTime from, LocalDateTime to, Boolean splitDateTime) Creates an instance of aEODIntradayDataRequestrecord class.- Parameters:
symbol- the value for thesymbolrecord componentinterval- the value for theintervalrecord componentfrom- the value for thefromrecord componentto- the value for thetorecord componentsplitDateTime- the value for thesplitDateTimerecord 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). -
symbol
-
interval
-
from
-
to
-
splitDateTime
Returns the value of thesplitDateTimerecord component.- Returns:
- the value of the
splitDateTimerecord component
-