Record Class EODCalendarIposResponse
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.responses.eod.EODCalendarIposResponse
- Record Components:
type- provider payload typedescription- provider descriptionfrom- range startto- range endipos- IPO records
- All Implemented Interfaces:
GenericIntegrationResponse
public record EODCalendarIposResponse(String type, String description, String from, String to, List<EODCalendarIpoEntryResponse> ipos)
extends Record
implements GenericIntegrationResponse
IPO calendar payload.
- Version:
- 1.0.12
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionEODCalendarIposResponse(String type, String description, String from, String to, List<EODCalendarIpoEntryResponse> ipos) Creates an instance of aEODCalendarIposResponserecord 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.ipos()Returns the value of theiposrecord component.booleanisEmpty()Returns true when no IPO records were returned.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
-
EODCalendarIposResponse
public EODCalendarIposResponse(String type, String description, String from, String to, List<EODCalendarIpoEntryResponse> ipos) Creates an instance of aEODCalendarIposResponserecord class.- Parameters:
type- the value for thetyperecord componentdescription- the value for thedescriptionrecord componentfrom- the value for thefromrecord componentto- the value for thetorecord componentipos- the value for theiposrecord component
-
-
Method Details
-
isEmpty
public boolean isEmpty()Returns true when no IPO 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
-
ipos
-