Record Class EODTechnicalIndicatorResponse
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.responses.eod.EODTechnicalIndicatorResponse
- Record Components:
date- date field when returned for end-of-day datadatetime- date-time field when returned for intraday datagmtoffset- GMT offset applied by the providervalues- computed indicator values keyed by provider field name
- All Implemented Interfaces:
GenericIntegrationResponse
public record EODTechnicalIndicatorResponse(String date, String datetime, Integer gmtoffset, Map<String, BigDecimal> values)
extends Record
implements GenericIntegrationResponse
Raw technical indicator point.
- Version:
- 1.0.12
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionEODTechnicalIndicatorResponse(String date, String datetime, Integer gmtoffset, Map<String, BigDecimal> values) Creates an instance of aEODTechnicalIndicatorResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptiondate()Returns the value of thedaterecord component.datetime()Returns the value of thedatetimerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegmtoffsetrecord component.final inthashCode()Returns a hash code value for this object.booleanisEmpty()Returns true when the provider did not return any indicator values.final StringtoString()Returns a string representation of this record class.values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
EODTechnicalIndicatorResponse
-
-
Method Details
-
isEmpty
public boolean isEmpty()Returns true when the provider did not return any indicator values.- 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). -
date
-
datetime
-
gmtoffset
-
values
-