Record Class LabExamGenerationRequest
java.lang.Object
java.lang.Record
it.uniupo.simnova.service.ai_api.model.LabExamGenerationRequest
- Record Components:
- description- descrizione dello scenario
- scenarioType- tipologia di paziente
- objectiveExam- esame obiettivo
- pathology- patologia associata
public record LabExamGenerationRequest(String description, String scenarioType, String objectiveExam, String pathology)
extends Record
DTO per la richiesta di generazione di un esame di laboratorio.
- Version:
- 1.0
- Author:
- Alessandro Zappatore
- 
Constructor SummaryConstructorsConstructorDescriptionLabExamGenerationRequest(String description, String scenarioType, String objectiveExam, String pathology) Creates an instance of aLabExamGenerationRequestrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thedescriptionrecord 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 theobjectiveExamrecord component.Returns the value of thepathologyrecord component.Returns the value of thescenarioTyperecord component.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
LabExamGenerationRequestpublic LabExamGenerationRequest(String description, String scenarioType, String objectiveExam, String pathology) Creates an instance of aLabExamGenerationRequestrecord class.- Parameters:
- description- the value for the- descriptionrecord component
- scenarioType- the value for the- scenarioTyperecord component
- objectiveExam- the value for the- objectiveExamrecord component
- pathology- the value for the- pathologyrecord component
 
 
- 
- 
Method Details- 
toString
- 
hashCode
- 
equalsIndicates 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).
- 
descriptionReturns the value of thedescriptionrecord component.- Returns:
- the value of the descriptionrecord component
 
- 
scenarioTypeReturns the value of thescenarioTyperecord component.- Returns:
- the value of the scenarioTyperecord component
 
- 
objectiveExamReturns the value of theobjectiveExamrecord component.- Returns:
- the value of the objectiveExamrecord component
 
- 
pathology
 
-