Record Class AgentInterruptedEvent.AgentInterruptedEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.AgentInterruptedEvent.AgentInterruptedEventData
- Enclosing class:
AgentInterruptedEvent
public static record AgentInterruptedEvent.AgentInterruptedEventData(AgentInterruptedActivity activity, Double elapsedMs, Long turn, String model, String apiEndpoint, ModelCallFailureTransport transport, String reasoningEffort, AgentInterruptedCancelPhase cancelPhase, Double outputTtftMs, List<String> toolNames, List<String> toolCallIds, List<String> safeToolNames, Long interruptedAgentCount)
extends Record
Data payload for
AgentInterruptedEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAgentInterruptedEventData(AgentInterruptedActivity activity, Double elapsedMs, Long turn, String model, String apiEndpoint, ModelCallFailureTransport transport, String reasoningEffort, AgentInterruptedCancelPhase cancelPhase, Double outputTtftMs, List<String> toolNames, List<String> toolCallIds, List<String> safeToolNames, Long interruptedAgentCount) Creates an instance of aAgentInterruptedEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionactivity()Returns the value of theactivityrecord component.Returns the value of theapiEndpointrecord component.Returns the value of thecancelPhaserecord component.Returns the value of theelapsedMsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinterruptedAgentCountrecord component.model()Returns the value of themodelrecord component.Returns the value of theoutputTtftMsrecord component.Returns the value of thereasoningEffortrecord component.Returns the value of thesafeToolNamesrecord component.Returns the value of thetoolCallIdsrecord component.Returns the value of thetoolNamesrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransportrecord component.turn()Returns the value of theturnrecord component.
-
Constructor Details
-
AgentInterruptedEventData
public AgentInterruptedEventData(AgentInterruptedActivity activity, Double elapsedMs, Long turn, String model, String apiEndpoint, ModelCallFailureTransport transport, String reasoningEffort, AgentInterruptedCancelPhase cancelPhase, Double outputTtftMs, List<String> toolNames, List<String> toolCallIds, List<String> safeToolNames, Long interruptedAgentCount) Creates an instance of aAgentInterruptedEventDatarecord class.- Parameters:
activity- the value for theactivityrecord componentelapsedMs- the value for theelapsedMsrecord componentturn- the value for theturnrecord componentmodel- the value for themodelrecord componentapiEndpoint- the value for theapiEndpointrecord componenttransport- the value for thetransportrecord componentreasoningEffort- the value for thereasoningEffortrecord componentcancelPhase- the value for thecancelPhaserecord componentoutputTtftMs- the value for theoutputTtftMsrecord componenttoolNames- the value for thetoolNamesrecord componenttoolCallIds- the value for thetoolCallIdsrecord componentsafeToolNames- the value for thesafeToolNamesrecord componentinterruptedAgentCount- the value for theinterruptedAgentCountrecord 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). -
activity
Returns the value of theactivityrecord component.- Returns:
- the value of the
activityrecord component
-
elapsedMs
Returns the value of theelapsedMsrecord component.- Returns:
- the value of the
elapsedMsrecord component
-
turn
Returns the value of theturnrecord component.- Returns:
- the value of the
turnrecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
apiEndpoint
Returns the value of theapiEndpointrecord component.- Returns:
- the value of the
apiEndpointrecord component
-
transport
Returns the value of thetransportrecord component.- Returns:
- the value of the
transportrecord component
-
reasoningEffort
Returns the value of thereasoningEffortrecord component.- Returns:
- the value of the
reasoningEffortrecord component
-
cancelPhase
Returns the value of thecancelPhaserecord component.- Returns:
- the value of the
cancelPhaserecord component
-
outputTtftMs
Returns the value of theoutputTtftMsrecord component.- Returns:
- the value of the
outputTtftMsrecord component
-
toolNames
-
toolCallIds
-
safeToolNames
-
interruptedAgentCount
Returns the value of theinterruptedAgentCountrecord component.- Returns:
- the value of the
interruptedAgentCountrecord component
-