Record Class FactoryAgentSummary
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.FactoryAgentSummary
@Generated("copilot-sdk-codegen")
public record FactoryAgentSummary(String agentId, String toolCallId, String runId, String phaseId, String label, String agentType, String status, String requestedModel, String resolvedModel, Long startedAt, Long completedAt, Long activeMs, String activity)
extends Record
Prompt-safe durable identity and live status for a direct factory agent.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionFactoryAgentSummary(String agentId, String toolCallId, String runId, String phaseId, String label, String agentType, String status, String requestedModel, String resolvedModel, Long startedAt, Long completedAt, Long activeMs, String activity) Creates an instance of aFactoryAgentSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionactiveMs()Returns the value of theactiveMsrecord component.activity()Returns the value of theactivityrecord component.agentId()Returns the value of theagentIdrecord component.Returns the value of theagentTyperecord component.Returns the value of thecompletedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.phaseId()Returns the value of thephaseIdrecord component.Returns the value of therequestedModelrecord component.Returns the value of theresolvedModelrecord component.runId()Returns the value of therunIdrecord component.Returns the value of thestartedAtrecord component.status()Returns the value of thestatusrecord component.Returns the value of thetoolCallIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FactoryAgentSummary
public FactoryAgentSummary(String agentId, String toolCallId, String runId, String phaseId, String label, String agentType, String status, String requestedModel, String resolvedModel, Long startedAt, Long completedAt, Long activeMs, String activity) Creates an instance of aFactoryAgentSummaryrecord class.- Parameters:
agentId- the value for theagentIdrecord componenttoolCallId- the value for thetoolCallIdrecord componentrunId- the value for therunIdrecord componentphaseId- the value for thephaseIdrecord componentlabel- the value for thelabelrecord componentagentType- the value for theagentTyperecord componentstatus- the value for thestatusrecord componentrequestedModel- the value for therequestedModelrecord componentresolvedModel- the value for theresolvedModelrecord componentstartedAt- the value for thestartedAtrecord componentcompletedAt- the value for thecompletedAtrecord componentactiveMs- the value for theactiveMsrecord componentactivity- the value for theactivityrecord 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). -
agentId
Returns the value of theagentIdrecord component.- Returns:
- the value of the
agentIdrecord component
-
toolCallId
Returns the value of thetoolCallIdrecord component.- Returns:
- the value of the
toolCallIdrecord component
-
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
phaseId
Returns the value of thephaseIdrecord component.- Returns:
- the value of the
phaseIdrecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
agentType
Returns the value of theagentTyperecord component.- Returns:
- the value of the
agentTyperecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
requestedModel
Returns the value of therequestedModelrecord component.- Returns:
- the value of the
requestedModelrecord component
-
resolvedModel
Returns the value of theresolvedModelrecord component.- Returns:
- the value of the
resolvedModelrecord component
-
startedAt
Returns the value of thestartedAtrecord component.- Returns:
- the value of the
startedAtrecord component
-
completedAt
Returns the value of thecompletedAtrecord component.- Returns:
- the value of the
completedAtrecord component
-
activeMs
Returns the value of theactiveMsrecord component.- Returns:
- the value of the
activeMsrecord component
-
activity
Returns the value of theactivityrecord component.- Returns:
- the value of the
activityrecord component
-