Record Class ModelInputPatchRequest<ModelConfigurationOverrides_ extends ModelConfigOverrides>
java.lang.Object
java.lang.Record
ai.timefold.solver.service.definition.api.domain.ModelInputPatchRequest<ModelConfigurationOverrides_>
public record ModelInputPatchRequest<ModelConfigurationOverrides_ extends ModelConfigOverrides>(Configuration<ModelConfigurationOverrides_ extends ModelConfigOverrides> config, List<ModelInputPatch> patch)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionModelInputPatchRequest(Configuration<ModelConfigurationOverrides_> config, List<ModelInputPatch> patch) Creates an instance of aModelInputPatchRequestrecord class. -
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.patch()Returns the value of thepatchrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModelInputPatchRequest
public ModelInputPatchRequest(Configuration<ModelConfigurationOverrides_> config, List<ModelInputPatch> patch) Creates an instance of aModelInputPatchRequestrecord class.- Parameters:
config- the value for theconfigrecord componentpatch- the value for thepatchrecord 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). -
config
Returns the value of theconfigrecord component.- Returns:
- the value of the
configrecord component
-
patch
Returns the value of thepatchrecord component.- Returns:
- the value of the
patchrecord component
-