Record Class ToolExecutionStartEvent.ToolExecutionStartEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
- Enclosing class:
ToolExecutionStartEvent
public static record ToolExecutionStartEvent.ToolExecutionStartEventData(String toolCallId, String toolName, Object arguments, ToolExecutionStartShellToolInfo shellToolInfo, String model, String mcpServerName, String mcpToolName, String turnId, Boolean displayVerbatim, ToolExecutionStartToolDescription toolDescription, String parentToolCallId)
extends Record
Data payload for
ToolExecutionStartEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionToolExecutionStartEventData(String toolCallId, String toolName, Object arguments, ToolExecutionStartShellToolInfo shellToolInfo, String model, String mcpServerName, String mcpToolName, String turnId, Boolean displayVerbatim, ToolExecutionStartToolDescription toolDescription, String parentToolCallId) Creates an instance of aToolExecutionStartEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentsrecord component.Returns the value of thedisplayVerbatimrecord 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 themcpServerNamerecord component.Returns the value of themcpToolNamerecord component.model()Returns the value of themodelrecord component.Returns the value of theparentToolCallIdrecord component.Returns the value of theshellToolInforecord component.Returns the value of thetoolCallIdrecord component.Returns the value of thetoolDescriptionrecord component.toolName()Returns the value of thetoolNamerecord component.final StringtoString()Returns a string representation of this record class.turnId()Returns the value of theturnIdrecord component.
-
Constructor Details
-
ToolExecutionStartEventData
public ToolExecutionStartEventData(String toolCallId, String toolName, Object arguments, ToolExecutionStartShellToolInfo shellToolInfo, String model, String mcpServerName, String mcpToolName, String turnId, Boolean displayVerbatim, ToolExecutionStartToolDescription toolDescription, String parentToolCallId) Creates an instance of aToolExecutionStartEventDatarecord class.- Parameters:
toolCallId- the value for thetoolCallIdrecord componenttoolName- the value for thetoolNamerecord componentarguments- the value for theargumentsrecord componentshellToolInfo- the value for theshellToolInforecord componentmodel- the value for themodelrecord componentmcpServerName- the value for themcpServerNamerecord componentmcpToolName- the value for themcpToolNamerecord componentturnId- the value for theturnIdrecord componentdisplayVerbatim- the value for thedisplayVerbatimrecord componenttoolDescription- the value for thetoolDescriptionrecord componentparentToolCallId- the value for theparentToolCallIdrecord 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). -
toolCallId
Returns the value of thetoolCallIdrecord component.- Returns:
- the value of the
toolCallIdrecord 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
-
shellToolInfo
Returns the value of theshellToolInforecord component.- Returns:
- the value of the
shellToolInforecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
mcpServerName
Returns the value of themcpServerNamerecord component.- Returns:
- the value of the
mcpServerNamerecord component
-
mcpToolName
Returns the value of themcpToolNamerecord component.- Returns:
- the value of the
mcpToolNamerecord component
-
turnId
Returns the value of theturnIdrecord component.- Returns:
- the value of the
turnIdrecord component
-
displayVerbatim
Returns the value of thedisplayVerbatimrecord component.- Returns:
- the value of the
displayVerbatimrecord component
-
toolDescription
Returns the value of thetoolDescriptionrecord component.- Returns:
- the value of the
toolDescriptionrecord component
-
parentToolCallId
Returns the value of theparentToolCallIdrecord component.- Returns:
- the value of the
parentToolCallIdrecord component
-