Record Class WorkflowRunSummary
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.WorkflowRunSummary
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record WorkflowRunSummary(String runId, String workflowName, String description, WorkflowRunStatus status, Long revision, Long createdAt, Long startedAt, Long updatedAt, Long completedAt, WorkflowCurrentPhase currentPhase, Long declaredPhaseCount, Long liveAgentCount, Long totalSpawnedAgentCount, WorkflowRunConsumed consumed, WorkflowDeclaredLimits declaredLimits, WorkflowDeclaredLimits approved, Long observedAt, Long activeSegmentStartedAt, WorkflowRunTerminal terminal, Boolean canResume)
extends Record
Durable workflow run summary with read-time live overlays.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowRunSummary(String runId, String workflowName, String description, WorkflowRunStatus status, Long revision, Long createdAt, Long startedAt, Long updatedAt, Long completedAt, WorkflowCurrentPhase currentPhase, Long declaredPhaseCount, Long liveAgentCount, Long totalSpawnedAgentCount, WorkflowRunConsumed consumed, WorkflowDeclaredLimits declaredLimits, WorkflowDeclaredLimits approved, Long observedAt, Long activeSegmentStartedAt, WorkflowRunTerminal terminal, Boolean canResume) Creates an instance of aWorkflowRunSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactiveSegmentStartedAtrecord component.approved()Returns the value of theapprovedrecord component.Returns the value of thecanResumerecord 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.final inthashCode()Returns a hash code value for this object.Returns the value of theliveAgentCountrecord component.Returns the value of theobservedAtrecord 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.Returns the value of theworkflowNamerecord component.
-
Constructor Details
-
WorkflowRunSummary
public WorkflowRunSummary(String runId, String workflowName, String description, WorkflowRunStatus status, Long revision, Long createdAt, Long startedAt, Long updatedAt, Long completedAt, WorkflowCurrentPhase currentPhase, Long declaredPhaseCount, Long liveAgentCount, Long totalSpawnedAgentCount, WorkflowRunConsumed consumed, WorkflowDeclaredLimits declaredLimits, WorkflowDeclaredLimits approved, Long observedAt, Long activeSegmentStartedAt, WorkflowRunTerminal terminal, Boolean canResume) Creates an instance of aWorkflowRunSummaryrecord class.- Parameters:
runId- the value for therunIdrecord componentworkflowName- the value for theworkflowNamerecord 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 componentcanResume- the value for thecanResumerecord 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
-
workflowName
Returns the value of theworkflowNamerecord component.- Returns:
- the value of the
workflowNamerecord 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
-
canResume
Returns the value of thecanResumerecord component.- Returns:
- the value of the
canResumerecord component
-