Record Class CreateUpdateSymbolAliasDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.symbol.CreateUpdateSymbolAliasDTO
- Record Components:
alias- alias valuealiasType-SymbolAliasTypedataSource-DataSourcesymbolTicker- ticker of the targetSymbolsymbolExchangeMic- exchange MIC of the targetSymbolsymbolType-SymbolTypeof the targetSymbol
public record CreateUpdateSymbolAliasDTO(@NotBlank @Size(max=75) String alias, @NotBlank @Size(max=255) String aliasType, @NotBlank @Size(max=255) String dataSource, @NotBlank @Size(max=10) String symbolTicker, @NotBlank @Size(max=255) String symbolExchangeMic, @NotBlank @Size(max=255) String symbolType)
extends Record
Request object for creating and updating
SymbolAliases.- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionCreateUpdateSymbolAliasDTO(@NotBlank @Size(max=75) String alias, @NotBlank @Size(max=255) String aliasType, @NotBlank @Size(max=255) String dataSource, @NotBlank @Size(max=10) String symbolTicker, @NotBlank @Size(max=255) String symbolExchangeMic, @NotBlank @Size(max=255) String symbolType) Creates an instance of aCreateUpdateSymbolAliasDTOrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotBlank @Size(max=75) Stringalias()Returns the value of thealiasrecord component.@NotBlank @Size(max=255) StringReturns the value of thealiasTyperecord component.@NotBlank @Size(max=255) StringReturns 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.@NotBlank @Size(max=255) StringReturns the value of thesymbolExchangeMicrecord component.@NotBlank @Size(max=10) StringReturns the value of thesymbolTickerrecord component.@NotBlank @Size(max=255) StringReturns the value of thesymbolTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CreateUpdateSymbolAliasDTO
public CreateUpdateSymbolAliasDTO(@NotBlank @Size(max=75) @NotBlank @Size(max=75) String alias, @NotBlank @Size(max=255) @NotBlank @Size(max=255) String aliasType, @NotBlank @Size(max=255) @NotBlank @Size(max=255) String dataSource, @NotBlank @Size(max=10) @NotBlank @Size(max=10) String symbolTicker, @NotBlank @Size(max=255) @NotBlank @Size(max=255) String symbolExchangeMic, @NotBlank @Size(max=255) @NotBlank @Size(max=255) String symbolType) Creates an instance of aCreateUpdateSymbolAliasDTOrecord class.- Parameters:
alias- the value for thealiasrecord componentaliasType- the value for thealiasTyperecord componentdataSource- the value for thedataSourcerecord componentsymbolTicker- the value for thesymbolTickerrecord componentsymbolExchangeMic- the value for thesymbolExchangeMicrecord componentsymbolType- the value for thesymbolTyperecord 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). -
alias
-
aliasType
-
dataSource
Returns the value of thedataSourcerecord component.- Returns:
- the value of the
dataSourcerecord component
-
symbolTicker
Returns the value of thesymbolTickerrecord component.- Returns:
- the value of the
symbolTickerrecord component
-
symbolExchangeMic
Returns the value of thesymbolExchangeMicrecord component.- Returns:
- the value of the
symbolExchangeMicrecord component
-
symbolType
Returns the value of thesymbolTyperecord component.- Returns:
- the value of the
symbolTyperecord component
-