Record Class ToolExecutionCompleteResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.ToolExecutionCompleteResult
@Generated("copilot-sdk-codegen")
public record ToolExecutionCompleteResult(String content, String detailedContent, List<Object> contents, ToolExecutionCompleteUIResource uiResource)
extends Record
Tool execution result on success
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionToolExecutionCompleteResult(String content, String detailedContent, List<Object> contents, ToolExecutionCompleteUIResource uiResource) Creates an instance of aToolExecutionCompleteResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontent()Returns the value of thecontentrecord component.contents()Returns the value of thecontentsrecord component.Returns the value of thedetailedContentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of theuiResourcerecord component.
-
Constructor Details
-
ToolExecutionCompleteResult
public ToolExecutionCompleteResult(String content, String detailedContent, List<Object> contents, ToolExecutionCompleteUIResource uiResource) Creates an instance of aToolExecutionCompleteResultrecord class.- Parameters:
content- the value for thecontentrecord componentdetailedContent- the value for thedetailedContentrecord componentcontents- the value for thecontentsrecord componentuiResource- the value for theuiResourcerecord 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). -
content
Returns the value of thecontentrecord component.- Returns:
- the value of the
contentrecord component
-
detailedContent
Returns the value of thedetailedContentrecord component.- Returns:
- the value of the
detailedContentrecord component
-
contents
-
uiResource
Returns the value of theuiResourcerecord component.- Returns:
- the value of the
uiResourcerecord component
-