Module com.github.copilot.java
Package com.github.copilot.generated
Record Class McpAppToolCallCompleteEvent.McpAppToolCallCompleteEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.McpAppToolCallCompleteEvent.McpAppToolCallCompleteEventData
- Enclosing class:
- McpAppToolCallCompleteEvent
public static record McpAppToolCallCompleteEvent.McpAppToolCallCompleteEventData(String serverName, String toolName, Map<String,Object> arguments, Boolean success, Double durationMs, Map<String,Object> result, McpAppToolCallCompleteError error, McpAppToolCallCompleteToolMeta toolMeta)
extends Record
Data payload for
McpAppToolCallCompleteEvent.-
Constructor Summary
ConstructorsConstructorDescriptionMcpAppToolCallCompleteEventData(String serverName, String toolName, Map<String, Object> arguments, Boolean success, Double durationMs, Map<String, Object> result, McpAppToolCallCompleteError error, McpAppToolCallCompleteToolMeta toolMeta) Creates an instance of aMcpAppToolCallCompleteEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentsrecord component.Returns the value of thedurationMsrecord component.final booleanIndicates whether some other object is "equal to" this one.error()Returns the value of theerrorrecord component.final inthashCode()Returns a hash code value for this object.result()Returns the value of theresultrecord component.Returns the value of theserverNamerecord component.success()Returns the value of thesuccessrecord component.toolMeta()Returns the value of thetoolMetarecord component.toolName()Returns the value of thetoolNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpAppToolCallCompleteEventData
public McpAppToolCallCompleteEventData(String serverName, String toolName, Map<String, Object> arguments, Boolean success, Double durationMs, Map<String, Object> result, McpAppToolCallCompleteError error, McpAppToolCallCompleteToolMeta toolMeta) Creates an instance of aMcpAppToolCallCompleteEventDatarecord class.- Parameters:
serverName- the value for theserverNamerecord componenttoolName- the value for thetoolNamerecord componentarguments- the value for theargumentsrecord componentsuccess- the value for thesuccessrecord componentdurationMs- the value for thedurationMsrecord componentresult- the value for theresultrecord componenterror- the value for theerrorrecord componenttoolMeta- the value for thetoolMetarecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
serverName
Returns the value of theserverNamerecord component.- Returns:
- the value of the
serverNamerecord component
-
toolName
Returns the value of thetoolNamerecord component.- Returns:
- the value of the
toolNamerecord component
-
arguments
Returns the value of theargumentsrecord component.- Returns:
- the value of the
argumentsrecord component
-
success
Returns the value of thesuccessrecord component.- Returns:
- the value of the
successrecord component
-
durationMs
Returns the value of thedurationMsrecord component.- Returns:
- the value of the
durationMsrecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-
error
Returns the value of theerrorrecord component.- Returns:
- the value of the
errorrecord component
-
toolMeta
Returns the value of thetoolMetarecord component.- Returns:
- the value of the
toolMetarecord component
-