Record Class SessionFactoryGetRunDetailResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionFactoryGetRunDetailResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionFactoryGetRunDetailResult(String runId, String factoryName, String description, FactoryRunStatus status, Long revision, Long createdAt, Long startedAt, Long updatedAt, Long completedAt, FactoryCurrentPhase currentPhase, Long declaredPhaseCount, Long liveAgentCount, Long totalSpawnedAgentCount, FactoryRunConsumed consumed, FactoryDeclaredLimits declaredLimits, FactoryDeclaredLimits approved, Long observedAt, Long activeSegmentStartedAt, FactoryRunTerminal terminal, List<FactoryPhaseObservation> phases, List<FactoryAgentSummary> agents, FactoryProgressPage progress)
extends Record
Full factory run observability detail.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionFactoryGetRunDetailResult(String runId, String factoryName, String description, FactoryRunStatus status, Long revision, Long createdAt, Long startedAt, Long updatedAt, Long completedAt, FactoryCurrentPhase currentPhase, Long declaredPhaseCount, Long liveAgentCount, Long totalSpawnedAgentCount, FactoryRunConsumed consumed, FactoryDeclaredLimits declaredLimits, FactoryDeclaredLimits approved, Long observedAt, Long activeSegmentStartedAt, FactoryRunTerminal terminal, List<FactoryPhaseObservation> phases, List<FactoryAgentSummary> agents, FactoryProgressPage progress) Creates an instance of aSessionFactoryGetRunDetailResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactiveSegmentStartedAtrecord component.agents()Returns the value of theagentsrecord component.approved()Returns the value of theapprovedrecord component.Returns the value of thecompletedAtrecord component.consumed()Returns the value of theconsumedrecord component.Returns the value of thecreatedAtrecord component.Returns the value of thecurrentPhaserecord component.Returns the value of thedeclaredLimitsrecord component.Returns the value of thedeclaredPhaseCountrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefactoryNamerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theliveAgentCountrecord component.Returns the value of theobservedAtrecord component.phases()Returns the value of thephasesrecord component.progress()Returns the value of theprogressrecord component.revision()Returns the value of therevisionrecord component.runId()Returns the value of therunIdrecord component.Returns the value of thestartedAtrecord component.status()Returns the value of thestatusrecord component.terminal()Returns the value of theterminalrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetotalSpawnedAgentCountrecord component.Returns the value of theupdatedAtrecord component.
-
Constructor Details
-
SessionFactoryGetRunDetailResult
public SessionFactoryGetRunDetailResult(String runId, String factoryName, String description, FactoryRunStatus status, Long revision, Long createdAt, Long startedAt, Long updatedAt, Long completedAt, FactoryCurrentPhase currentPhase, Long declaredPhaseCount, Long liveAgentCount, Long totalSpawnedAgentCount, FactoryRunConsumed consumed, FactoryDeclaredLimits declaredLimits, FactoryDeclaredLimits approved, Long observedAt, Long activeSegmentStartedAt, FactoryRunTerminal terminal, List<FactoryPhaseObservation> phases, List<FactoryAgentSummary> agents, FactoryProgressPage progress) Creates an instance of aSessionFactoryGetRunDetailResultrecord class.- Parameters:
runId- the value for therunIdrecord componentfactoryName- the value for thefactoryNamerecord componentdescription- the value for thedescriptionrecord componentstatus- the value for thestatusrecord componentrevision- the value for therevisionrecord componentcreatedAt- the value for thecreatedAtrecord componentstartedAt- the value for thestartedAtrecord componentupdatedAt- the value for theupdatedAtrecord componentcompletedAt- the value for thecompletedAtrecord componentcurrentPhase- the value for thecurrentPhaserecord componentdeclaredPhaseCount- the value for thedeclaredPhaseCountrecord componentliveAgentCount- the value for theliveAgentCountrecord componenttotalSpawnedAgentCount- the value for thetotalSpawnedAgentCountrecord componentconsumed- the value for theconsumedrecord componentdeclaredLimits- the value for thedeclaredLimitsrecord componentapproved- the value for theapprovedrecord componentobservedAt- the value for theobservedAtrecord componentactiveSegmentStartedAt- the value for theactiveSegmentStartedAtrecord componentterminal- the value for theterminalrecord componentphases- the value for thephasesrecord componentagents- the value for theagentsrecord componentprogress- the value for theprogressrecord 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). -
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
factoryName
Returns the value of thefactoryNamerecord component.- Returns:
- the value of the
factoryNamerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
revision
Returns the value of therevisionrecord component.- Returns:
- the value of the
revisionrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-
startedAt
Returns the value of thestartedAtrecord component.- Returns:
- the value of the
startedAtrecord component
-
updatedAt
Returns the value of theupdatedAtrecord component.- Returns:
- the value of the
updatedAtrecord component
-
completedAt
Returns the value of thecompletedAtrecord component.- Returns:
- the value of the
completedAtrecord component
-
currentPhase
Returns the value of thecurrentPhaserecord component.- Returns:
- the value of the
currentPhaserecord component
-
declaredPhaseCount
Returns the value of thedeclaredPhaseCountrecord component.- Returns:
- the value of the
declaredPhaseCountrecord component
-
liveAgentCount
Returns the value of theliveAgentCountrecord component.- Returns:
- the value of the
liveAgentCountrecord component
-
totalSpawnedAgentCount
Returns the value of thetotalSpawnedAgentCountrecord component.- Returns:
- the value of the
totalSpawnedAgentCountrecord component
-
consumed
Returns the value of theconsumedrecord component.- Returns:
- the value of the
consumedrecord component
-
declaredLimits
Returns the value of thedeclaredLimitsrecord component.- Returns:
- the value of the
declaredLimitsrecord component
-
approved
Returns the value of theapprovedrecord component.- Returns:
- the value of the
approvedrecord component
-
observedAt
Returns the value of theobservedAtrecord component.- Returns:
- the value of the
observedAtrecord component
-
activeSegmentStartedAt
Returns the value of theactiveSegmentStartedAtrecord component.- Returns:
- the value of the
activeSegmentStartedAtrecord component
-
terminal
Returns the value of theterminalrecord component.- Returns:
- the value of the
terminalrecord component
-
phases
Returns the value of thephasesrecord component.- Returns:
- the value of the
phasesrecord component
-
agents
Returns the value of theagentsrecord component.- Returns:
- the value of the
agentsrecord component
-
progress
Returns the value of theprogressrecord component.- Returns:
- the value of the
progressrecord component
-