Record Class PropTreeReply
java.lang.Object
java.lang.Record
com.inductiveautomation.perspective.designer.workspace.propertyeditor.ai.PropTreeReply
public record PropTreeReply(@Nullable String explanation, List<PropTreeChangeSuggestion> changes)
extends Record
Envelope deserialized from the fenced
```json block in the agent's reply. Carries an
overall rationale and the per-property changes to apply.-
Constructor Summary
ConstructorsConstructorDescriptionPropTreeReply(@Nullable String explanation, List<PropTreeChangeSuggestion> changes) Creates an instance of aPropTreeReplyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionchanges()Returns the value of thechangesrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable StringReturns the value of theexplanationrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PropTreeReply
Creates an instance of aPropTreeReplyrecord class.- Parameters:
explanation- the value for theexplanationrecord componentchanges- the value for thechangesrecord 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). -
explanation
Returns the value of theexplanationrecord component.- Returns:
- the value of the
explanationrecord component
-
changes
Returns the value of thechangesrecord component.- Returns:
- the value of the
changesrecord component
-