Record Class FusionStagedTerminal
java.lang.Object
java.lang.Record
com.github.copilot.generated.FusionStagedTerminal
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record FusionStagedTerminal(Object assistantMessage, String toolName, String toolCallId, String arguments, String phaseId)
extends Record
Internal durable terminal request staged by a HydraFusion phase until an idempotent final commit selects it.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentsrecord component.Returns the value of theassistantMessagerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.phaseId()Returns the value of thephaseIdrecord 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
-
FusionStagedTerminal
public FusionStagedTerminal(Object assistantMessage, String toolName, String toolCallId, String arguments, String phaseId) Creates an instance of aFusionStagedTerminalrecord class.- Parameters:
assistantMessage- the value for theassistantMessagerecord componenttoolName- the value for thetoolNamerecord componenttoolCallId- the value for thetoolCallIdrecord componentarguments- the value for theargumentsrecord componentphaseId- the value for thephaseIdrecord 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). -
assistantMessage
Returns the value of theassistantMessagerecord component.- Returns:
- the value of the
assistantMessagerecord component
-
toolName
Returns the value of thetoolNamerecord component.- Returns:
- the value of the
toolNamerecord component
-
toolCallId
Returns the value of thetoolCallIdrecord component.- Returns:
- the value of the
toolCallIdrecord component
-
arguments
Returns the value of theargumentsrecord component.- Returns:
- the value of the
argumentsrecord component
-
phaseId
Returns the value of thephaseIdrecord component.- Returns:
- the value of the
phaseIdrecord component
-