Package velox.api.layer1.data
Record Class Layer1ApiProviderSupportedFeatures.OrderDurationRequestParameters
java.lang.Object
java.lang.Record
velox.api.layer1.data.Layer1ApiProviderSupportedFeatures.OrderDurationRequestParameters
- Enclosing class:
- Layer1ApiProviderSupportedFeatures
public static record Layer1ApiProviderSupportedFeatures.OrderDurationRequestParameters(InstrumentCoreInfo instrumentCoreInfo, AccountInfo accountId)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionOrderDurationRequestParameters(InstrumentCoreInfo instrumentCoreInfo, AccountInfo accountId) Creates an instance of aOrderDurationRequestParametersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountIdrecord 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 theinstrumentCoreInforecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OrderDurationRequestParameters
Creates an instance of aOrderDurationRequestParametersrecord class.- Parameters:
instrumentCoreInfo- the value for theinstrumentCoreInforecord componentaccountId- the value for theaccountIdrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
instrumentCoreInfo
Returns the value of theinstrumentCoreInforecord component.- Returns:
- the value of the
instrumentCoreInforecord component
-
accountId
Returns the value of theaccountIdrecord component.- Returns:
- the value of the
accountIdrecord component
-