Record Class ToolShellOutputEvent.ToolShellOutputEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.ToolShellOutputEvent.ToolShellOutputEventData
- Enclosing class:
ToolShellOutputEvent
public static record ToolShellOutputEvent.ToolShellOutputEventData(String toolCallId, ToolShellOutputStream stream, String text, Long sequence, FusionAttribution fusion)
extends Record
Data payload for
ToolShellOutputEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionToolShellOutputEventData(String toolCallId, ToolShellOutputStream stream, String text, Long sequence, FusionAttribution fusion) Creates an instance of aToolShellOutputEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fusion()Returns the value of thefusionrecord component.final inthashCode()Returns a hash code value for this object.sequence()Returns the value of thesequencerecord component.stream()Returns the value of thestreamrecord component.text()Returns the value of thetextrecord component.Returns the value of thetoolCallIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ToolShellOutputEventData
public ToolShellOutputEventData(String toolCallId, ToolShellOutputStream stream, String text, Long sequence, FusionAttribution fusion) Creates an instance of aToolShellOutputEventDatarecord class.- Parameters:
toolCallId- the value for thetoolCallIdrecord componentstream- the value for thestreamrecord componenttext- the value for thetextrecord componentsequence- the value for thesequencerecord componentfusion- the value for thefusionrecord 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
-
stream
Returns the value of thestreamrecord component.- Returns:
- the value of the
streamrecord component
-
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-
sequence
Returns the value of thesequencerecord component.- Returns:
- the value of the
sequencerecord component
-
fusion
Returns the value of thefusionrecord component.- Returns:
- the value of the
fusionrecord component
-