Record Class EODEconomicEventsRequest
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.requests.eod.EODEconomicEventsRequest
- Record Components:
from- optional start dateto- optional end datecountry- optional country codecomparison- optional comparison typelimit- optional result limitoffset- optional result offset
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomparisonrecord component.country()Returns the value of thecountryrecord 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.limit()Returns the value of thelimitrecord component.offset()Returns the value of theoffsetrecord component.to()Returns the value of thetorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EODEconomicEventsRequest
public EODEconomicEventsRequest(LocalDate from, LocalDate to, String country, String comparison, Integer limit, Integer offset) Creates an instance of aEODEconomicEventsRequestrecord class.- Parameters:
from- the value for thefromrecord componentto- the value for thetorecord componentcountry- the value for thecountryrecord componentcomparison- the value for thecomparisonrecord 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). -
from
-
to
-
country
-
comparison
Returns the value of thecomparisonrecord component.- Returns:
- the value of the
comparisonrecord component
-
limit
-
offset
-