Record Class McpSchema.ToolAnnotations
java.lang.Object
java.lang.Record
net.mcreator.io.mcp.protocol.McpSchema.ToolAnnotations
- Enclosing class:
McpSchema
-
Constructor Summary
ConstructorsConstructorDescriptionToolAnnotations(Double priorityHint, Boolean readOnlyHint, Boolean destructiveHint) Creates an instance of aToolAnnotationsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedestructiveHintrecord 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 thepriorityHintrecord component.Returns the value of thereadOnlyHintrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ToolAnnotations
Creates an instance of aToolAnnotationsrecord class.- Parameters:
priorityHint- the value for thepriorityHintrecord componentreadOnlyHint- the value for thereadOnlyHintrecord componentdestructiveHint- the value for thedestructiveHintrecord 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). -
priorityHint
Returns the value of thepriorityHintrecord component.- Returns:
- the value of the
priorityHintrecord component
-
readOnlyHint
Returns the value of thereadOnlyHintrecord component.- Returns:
- the value of the
readOnlyHintrecord component
-
destructiveHint
Returns the value of thedestructiveHintrecord component.- Returns:
- the value of the
destructiveHintrecord component
-