Record Class MatGenerationRequest
java.lang.Object
java.lang.Record
it.uniupo.simnova.service.ai_api.model.MatGenerationRequest
- Record Components:
- description- descrizione dello scenario
- scenarioType- tipologia di paziente
- target- target dello scenario
- objectiveExam- esame obiettivo
public record MatGenerationRequest(String description, String scenarioType, String target, String objectiveExam)
extends Record
DTO per la richiesta di generazione dei materiali necessari.
- Version:
- 1.0
- Author:
- Alessandro Zappatore
- 
Constructor SummaryConstructorsConstructorDescriptionMatGenerationRequest(String description, String scenarioType, String target, String objectiveExam) Creates an instance of aMatGenerationRequestrecord 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 thescenarioTyperecord component.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
MatGenerationRequestpublic MatGenerationRequest(String description, String scenarioType, String target, String objectiveExam) Creates an instance of aMatGenerationRequestrecord class.- Parameters:
- description- the value for the- descriptionrecord component
- scenarioType- the value for the- scenarioTyperecord component
- target- the value for the- targetrecord component
- objectiveExam- the value for the- objectiveExamrecord 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
 
- 
target
- 
objectiveExamReturns the value of theobjectiveExamrecord component.- Returns:
- the value of the objectiveExamrecord component
 
 
-