Record Class SubagentStartedEvent.SubagentStartedEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SubagentStartedEvent.SubagentStartedEventData
- Enclosing class:
SubagentStartedEvent
public static record SubagentStartedEvent.SubagentStartedEventData(String toolCallId, String agentName, String agentDisplayName, String agentDescription, String model, SubagentTaskModelSource taskModelSource, SubagentModelSelectionSource modelSelectionSource, String workflowRunId, String parentId, Boolean resumable, String agentType, String executionMode)
extends Record
Data payload for
SubagentStartedEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSubagentStartedEventData(String toolCallId, String agentName, String agentDisplayName, String agentDescription, String model, SubagentTaskModelSource taskModelSource, SubagentModelSelectionSource modelSelectionSource, String workflowRunId, String parentId, Boolean resumable, String agentType, String executionMode) Creates an instance of aSubagentStartedEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theagentDescriptionrecord component.Returns the value of theagentDisplayNamerecord component.Returns the value of theagentNamerecord component.Returns the value of theagentTyperecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutionModerecord component.final inthashCode()Returns a hash code value for this object.model()Returns the value of themodelrecord component.Returns the value of themodelSelectionSourcerecord component.parentId()Returns the value of theparentIdrecord component.Returns the value of theresumablerecord component.Returns the value of thetaskModelSourcerecord component.Returns the value of thetoolCallIdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theworkflowRunIdrecord component.
-
Constructor Details
-
SubagentStartedEventData
public SubagentStartedEventData(String toolCallId, String agentName, String agentDisplayName, String agentDescription, String model, SubagentTaskModelSource taskModelSource, SubagentModelSelectionSource modelSelectionSource, String workflowRunId, String parentId, Boolean resumable, String agentType, String executionMode) Creates an instance of aSubagentStartedEventDatarecord class.- Parameters:
toolCallId- the value for thetoolCallIdrecord componentagentName- the value for theagentNamerecord componentagentDisplayName- the value for theagentDisplayNamerecord componentagentDescription- the value for theagentDescriptionrecord componentmodel- the value for themodelrecord componenttaskModelSource- the value for thetaskModelSourcerecord componentmodelSelectionSource- the value for themodelSelectionSourcerecord componentworkflowRunId- the value for theworkflowRunIdrecord componentparentId- the value for theparentIdrecord componentresumable- the value for theresumablerecord componentagentType- the value for theagentTyperecord componentexecutionMode- the value for theexecutionModerecord 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
-
agentName
Returns the value of theagentNamerecord component.- Returns:
- the value of the
agentNamerecord component
-
agentDisplayName
Returns the value of theagentDisplayNamerecord component.- Returns:
- the value of the
agentDisplayNamerecord component
-
agentDescription
Returns the value of theagentDescriptionrecord component.- Returns:
- the value of the
agentDescriptionrecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
taskModelSource
Returns the value of thetaskModelSourcerecord component.- Returns:
- the value of the
taskModelSourcerecord component
-
modelSelectionSource
Returns the value of themodelSelectionSourcerecord component.- Returns:
- the value of the
modelSelectionSourcerecord component
-
workflowRunId
Returns the value of theworkflowRunIdrecord component.- Returns:
- the value of the
workflowRunIdrecord component
-
parentId
Returns the value of theparentIdrecord component.- Returns:
- the value of the
parentIdrecord component
-
resumable
Returns the value of theresumablerecord component.- Returns:
- the value of the
resumablerecord component
-
agentType
Returns the value of theagentTyperecord component.- Returns:
- the value of the
agentTyperecord component
-
executionMode
Returns the value of theexecutionModerecord component.- Returns:
- the value of the
executionModerecord component
-