Record Class ModelInputPatch
java.lang.Object
java.lang.Record
ai.timefold.solver.service.definition.api.ModelInputPatch
public record ModelInputPatch(ModelInputPatchOp op, String path, com.fasterxml.jackson.databind.JsonNode value)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionModelInputPatch(ModelInputPatchOp op, String path, com.fasterxml.jackson.databind.JsonNode value) Creates an instance of aModelInputPatchrecord 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.op()Returns the value of theoprecord component.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.com.fasterxml.jackson.databind.JsonNodevalue()Returns the value of thevaluerecord component.
-
Constructor Details
-
ModelInputPatch
public ModelInputPatch(ModelInputPatchOp op, String path, com.fasterxml.jackson.databind.JsonNode value) Creates an instance of aModelInputPatchrecord class.- Parameters:
op- the value for theoprecord componentpath- the value for thepathrecord componentvalue- the value for thevaluerecord 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). -
op
Returns the value of theoprecord component.- Returns:
- the value of the
oprecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
value
public com.fasterxml.jackson.databind.JsonNode value()Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-