Record Class ScoreAnalysisRequest<ModelInput_ extends ModelInput, ModelConfigurationOverrides_ extends ModelConfigOverrides>
java.lang.Object
java.lang.Record
ai.timefold.solver.service.definition.api.domain.ScoreAnalysisRequest<ModelInput_, ModelConfigurationOverrides_>
public record ScoreAnalysisRequest<ModelInput_ extends ModelInput, ModelConfigurationOverrides_ extends ModelConfigOverrides>(ScoreAnalysisConfig<ModelConfigurationOverrides_ extends ModelConfigOverrides> config, ModelInput_ extends ModelInput modelInput)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionScoreAnalysisRequest(ScoreAnalysisConfig<ModelConfigurationOverrides_> config, ModelInput_ modelInput) Creates an instance of aScoreAnalysisRequestrecord class.ScoreAnalysisRequest(ModelInput_ modelInput) Returns a newScoreAnalysisRequestinstance with empty configuration. -
Method Summary
Modifier and TypeMethodDescriptionconfig()Returns the value of theconfigrecord 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 themodelInputrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScoreAnalysisRequest
public ScoreAnalysisRequest(ScoreAnalysisConfig<ModelConfigurationOverrides_> config, ModelInput_ modelInput) Creates an instance of aScoreAnalysisRequestrecord class.- Parameters:
config- the value for theconfigrecord componentmodelInput- the value for themodelInputrecord component
-
ScoreAnalysisRequest
Returns a newScoreAnalysisRequestinstance with empty configuration.- Parameters:
modelInput- the model input to be included in the request
-
-
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). -
config
Returns the value of theconfigrecord component.- Returns:
- the value of the
configrecord component
-
modelInput
Returns the value of themodelInputrecord component.- Returns:
- the value of the
modelInputrecord component
-