Record Class ToolExecutionCompleteError
java.lang.Object
java.lang.Record
com.github.copilot.generated.ToolExecutionCompleteError
@Generated("copilot-sdk-codegen")
public record ToolExecutionCompleteError(String message, String code, RemediationAction remediation)
extends Record
Error details when the tool execution failed
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionToolExecutionCompleteError(String message, String code, RemediationAction remediation) Creates an instance of aToolExecutionCompleteErrorrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncode()Returns the value of thecoderecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.Returns the value of theremediationrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ToolExecutionCompleteError
Creates an instance of aToolExecutionCompleteErrorrecord class.- Parameters:
message- the value for themessagerecord componentcode- the value for thecoderecord componentremediation- the value for theremediationrecord 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). -
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
code
Returns the value of thecoderecord component.- Returns:
- the value of the
coderecord component
-
remediation
Returns the value of theremediationrecord component.- Returns:
- the value of the
remediationrecord component
-