Record Class FactoryPhaseObservation
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.FactoryPhaseObservation
@Generated("copilot-sdk-codegen")
public record FactoryPhaseObservation(String id, Long ordinal, String title, String detail, FactoryPhaseStatus status, Long lastEnteredRunAttempt, Long entryCount, Long startedAt, Long completedAt, Long accumulatedActiveMs, Long currentActiveMs, Long totalAgentCount, Long liveAgentCount)
extends Record
Durable lifecycle and timing for one factory phase.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionFactoryPhaseObservation(String id, Long ordinal, String title, String detail, FactoryPhaseStatus status, Long lastEnteredRunAttempt, Long entryCount, Long startedAt, Long completedAt, Long accumulatedActiveMs, Long currentActiveMs, Long totalAgentCount, Long liveAgentCount) Creates an instance of aFactoryPhaseObservationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccumulatedActiveMsrecord component.Returns the value of thecompletedAtrecord component.Returns the value of thecurrentActiveMsrecord component.detail()Returns the value of thedetailrecord component.Returns the value of theentryCountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of thelastEnteredRunAttemptrecord component.Returns the value of theliveAgentCountrecord component.ordinal()Returns the value of theordinalrecord component.Returns the value of thestartedAtrecord component.status()Returns the value of thestatusrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetotalAgentCountrecord component.
-
Constructor Details
-
FactoryPhaseObservation
public FactoryPhaseObservation(String id, Long ordinal, String title, String detail, FactoryPhaseStatus status, Long lastEnteredRunAttempt, Long entryCount, Long startedAt, Long completedAt, Long accumulatedActiveMs, Long currentActiveMs, Long totalAgentCount, Long liveAgentCount) Creates an instance of aFactoryPhaseObservationrecord class.- Parameters:
id- the value for theidrecord componentordinal- the value for theordinalrecord componenttitle- the value for thetitlerecord componentdetail- the value for thedetailrecord componentstatus- the value for thestatusrecord componentlastEnteredRunAttempt- the value for thelastEnteredRunAttemptrecord componententryCount- the value for theentryCountrecord componentstartedAt- the value for thestartedAtrecord componentcompletedAt- the value for thecompletedAtrecord componentaccumulatedActiveMs- the value for theaccumulatedActiveMsrecord componentcurrentActiveMs- the value for thecurrentActiveMsrecord componenttotalAgentCount- the value for thetotalAgentCountrecord componentliveAgentCount- the value for theliveAgentCountrecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
ordinal
Returns the value of theordinalrecord component.- Returns:
- the value of the
ordinalrecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
detail
Returns the value of thedetailrecord component.- Returns:
- the value of the
detailrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
lastEnteredRunAttempt
Returns the value of thelastEnteredRunAttemptrecord component.- Returns:
- the value of the
lastEnteredRunAttemptrecord component
-
entryCount
Returns the value of theentryCountrecord component.- Returns:
- the value of the
entryCountrecord 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
-
accumulatedActiveMs
Returns the value of theaccumulatedActiveMsrecord component.- Returns:
- the value of the
accumulatedActiveMsrecord component
-
currentActiveMs
Returns the value of thecurrentActiveMsrecord component.- Returns:
- the value of the
currentActiveMsrecord component
-
totalAgentCount
Returns the value of thetotalAgentCountrecord component.- Returns:
- the value of the
totalAgentCountrecord component
-
liveAgentCount
Returns the value of theliveAgentCountrecord component.- Returns:
- the value of the
liveAgentCountrecord component
-