Record Class DoctorAiAnalysisResult
java.lang.Object
java.lang.Record
com.shaft.doctor.model.DoctorAiAnalysisResult
- Record Components:
deterministic- deterministic analysis resultadvisory- optional provider advisory or safe fallback notice
public record DoctorAiAnalysisResult(DoctorAnalysisResult deterministic, DoctorAdvisory advisory)
extends Record
Deterministic Doctor result plus a separately identified optional advisory.
-
Constructor Summary
ConstructorsConstructorDescriptionDoctorAiAnalysisResult(DoctorAnalysisResult deterministic, DoctorAdvisory advisory) Creates a complete result. -
Method Summary
Modifier and TypeMethodDescriptionadvisory()Returns the value of theadvisoryrecord component.Returns the value of thedeterministicrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DoctorAiAnalysisResult
Creates a complete result.
-
-
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). -
deterministic
Returns the value of thedeterministicrecord component.- Returns:
- the value of the
deterministicrecord component
-
advisory
-