Record Class EODNewsRequest
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.requests.eod.EODNewsRequest
- Record Components:
symbols- optional ticker filtertopic- optional topic/tag filterfrom- optional start dateto- optional end datelimit- optional result limitoffset- optional result offset
-
Constructor Summary
Constructors -
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.limit()Returns the value of thelimitrecord component.offset()Returns the value of theoffsetrecord component.symbols()Returns the value of thesymbolsrecord component.to()Returns the value of thetorecord component.topic()Returns the value of thetopicrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EODNewsRequest
public EODNewsRequest(String symbols, String topic, LocalDate from, LocalDate to, Integer limit, Integer offset) Creates an instance of aEODNewsRequestrecord class.- Parameters:
symbols- the value for thesymbolsrecord componenttopic- the value for thetopicrecord componentfrom- the value for thefromrecord componentto- the value for thetorecord componentlimit- the value for thelimitrecord componentoffset- the value for theoffsetrecord 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). -
symbols
-
topic
-
from
-
to
-
limit
-
offset
-