Record Class ErrorResult.ModelHistoryUnavailable
java.lang.Object
java.lang.Record
io.fluxzero.common.api.ErrorResult.ModelHistoryUnavailable
- Record Components:
modelId- canonical Model IDreadStateIndex- requested historical state boundary
- Enclosing class:
ErrorResult
-
Constructor Summary
ConstructorsConstructorDescriptionModelHistoryUnavailable(String modelId, Long readStateIndex) Creates an instance of aModelHistoryUnavailablerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.modelId()Returns the value of themodelIdrecord component.Returns the value of thereadStateIndexrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModelHistoryUnavailable
Creates an instance of aModelHistoryUnavailablerecord class.- Parameters:
modelId- the value for themodelIdrecord componentreadStateIndex- the value for thereadStateIndexrecord 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). -
modelId
-
readStateIndex
Returns the value of thereadStateIndexrecord component.- Returns:
- the value of the
readStateIndexrecord component
-