Record Class DemoData
java.lang.Object
java.lang.Record
ai.timefold.solver.service.definition.api.data.DemoData
public record DemoData(DemoMetaData metaData, ModelRequest<? extends ModelInput, ? extends ModelConfigOverrides> modelRequest)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDemoData(DemoMetaData metaData, ModelRequest<? extends ModelInput, ? extends ModelConfigOverrides> modelRequest) Creates an instance of aDemoDatarecord 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.metaData()Returns the value of themetaDatarecord component.ModelRequest<? extends ModelInput, ? extends ModelConfigOverrides> Returns the value of themodelRequestrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DemoData
public DemoData(DemoMetaData metaData, ModelRequest<? extends ModelInput, ? extends ModelConfigOverrides> modelRequest) Creates an instance of aDemoDatarecord class.- Parameters:
metaData- the value for themetaDatarecord componentmodelRequest- the value for themodelRequestrecord 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). -
metaData
Returns the value of themetaDatarecord component.- Returns:
- the value of the
metaDatarecord component
-
modelRequest
Returns the value of themodelRequestrecord component.- Returns:
- the value of the
modelRequestrecord component
-