Record Class CreateUpdateConfiguredIndicatorDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.technical.CreateUpdateConfiguredIndicatorDTO
- Record Components:
symbol- symbol/equitydataSource-DataSourceindicatorType-IndicatorTypedata- data
public record CreateUpdateConfiguredIndicatorDTO(Symbol symbol, DataSource dataSource, IndicatorType indicatorType, String data)
extends Record
Request object for creating and updating
ConfiguredIndicator.- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionCreateUpdateConfiguredIndicatorDTO(Symbol symbol, DataSource dataSource, IndicatorType indicatorType, String data) Creates an instance of aCreateUpdateConfiguredIndicatorDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondata()Returns the value of thedatarecord component.Returns the value of thedataSourcerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theindicatorTyperecord component.symbol()Returns the value of thesymbolrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CreateUpdateConfiguredIndicatorDTO
public CreateUpdateConfiguredIndicatorDTO(Symbol symbol, DataSource dataSource, IndicatorType indicatorType, String data) Creates an instance of aCreateUpdateConfiguredIndicatorDTOrecord class.- Parameters:
symbol- the value for thesymbolrecord componentdataSource- the value for thedataSourcerecord componentindicatorType- the value for theindicatorTyperecord componentdata- the value for thedatarecord 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
-
dataSource
Returns the value of thedataSourcerecord component.- Returns:
- the value of the
dataSourcerecord component
-
indicatorType
Returns the value of theindicatorTyperecord component.- Returns:
- the value of the
indicatorTyperecord component
-
data
-