Record Class CompletionReceiptFinalTool
java.lang.Object
java.lang.Record
com.github.copilot.generated.CompletionReceiptFinalTool
@Generated("copilot-sdk-codegen")
public record CompletionReceiptFinalTool(String toolCallId, String toolName, CompletionReceiptToolStatus status, Long exitCode)
extends Record
Final structured tool completion in the covered event range.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCompletionReceiptFinalTool(String toolCallId, String toolName, CompletionReceiptToolStatus status, Long exitCode) Creates an instance of aCompletionReceiptFinalToolrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.exitCode()Returns the value of theexitCoderecord component.final inthashCode()Returns a hash code value for this object.status()Returns the value of thestatusrecord component.Returns the value of thetoolCallIdrecord component.toolName()Returns the value of thetoolNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CompletionReceiptFinalTool
public CompletionReceiptFinalTool(String toolCallId, String toolName, CompletionReceiptToolStatus status, Long exitCode) Creates an instance of aCompletionReceiptFinalToolrecord class.- Parameters:
toolCallId- the value for thetoolCallIdrecord componenttoolName- the value for thetoolNamerecord componentstatus- the value for thestatusrecord componentexitCode- the value for theexitCoderecord 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
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
exitCode
Returns the value of theexitCoderecord component.- Returns:
- the value of the
exitCoderecord component
-