Record Class SessionWorkflowGetRunDetailResult

java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionWorkflowGetRunDetailResult

@CopilotExperimental @Generated("copilot-sdk-codegen") public record SessionWorkflowGetRunDetailResult(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, List<WorkflowPhaseObservation> phases, List<WorkflowAgentSummary> agents, WorkflowProgressPage progress) extends Record
Full workflow run observability detail.
Since:
1.0.0
  • Constructor Details

    • SessionWorkflowGetRunDetailResult

      public SessionWorkflowGetRunDetailResult(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, List<WorkflowPhaseObservation> phases, List<WorkflowAgentSummary> agents, WorkflowProgressPage progress)
      Creates an instance of a SessionWorkflowGetRunDetailResult record class.
      Parameters:
      runId - the value for the runId record component
      workflowName - the value for the workflowName record component
      description - the value for the description record component
      status - the value for the status record component
      revision - the value for the revision record component
      createdAt - the value for the createdAt record component
      startedAt - the value for the startedAt record component
      updatedAt - the value for the updatedAt record component
      completedAt - the value for the completedAt record component
      currentPhase - the value for the currentPhase record component
      declaredPhaseCount - the value for the declaredPhaseCount record component
      liveAgentCount - the value for the liveAgentCount record component
      totalSpawnedAgentCount - the value for the totalSpawnedAgentCount record component
      consumed - the value for the consumed record component
      declaredLimits - the value for the declaredLimits record component
      approved - the value for the approved record component
      observedAt - the value for the observedAt record component
      activeSegmentStartedAt - the value for the activeSegmentStartedAt record component
      terminal - the value for the terminal record component
      canResume - the value for the canResume record component
      phases - the value for the phases record component
      agents - the value for the agents record component
      progress - the value for the progress record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • runId

      public String runId()
      Returns the value of the runId record component.
      Returns:
      the value of the runId record component
    • workflowName

      public String workflowName()
      Returns the value of the workflowName record component.
      Returns:
      the value of the workflowName record component
    • description

      public String description()
      Returns the value of the description record component.
      Returns:
      the value of the description record component
    • status

      public WorkflowRunStatus status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • revision

      public Long revision()
      Returns the value of the revision record component.
      Returns:
      the value of the revision record component
    • createdAt

      public Long createdAt()
      Returns the value of the createdAt record component.
      Returns:
      the value of the createdAt record component
    • startedAt

      public Long startedAt()
      Returns the value of the startedAt record component.
      Returns:
      the value of the startedAt record component
    • updatedAt

      public Long updatedAt()
      Returns the value of the updatedAt record component.
      Returns:
      the value of the updatedAt record component
    • completedAt

      public Long completedAt()
      Returns the value of the completedAt record component.
      Returns:
      the value of the completedAt record component
    • currentPhase

      public WorkflowCurrentPhase currentPhase()
      Returns the value of the currentPhase record component.
      Returns:
      the value of the currentPhase record component
    • declaredPhaseCount

      public Long declaredPhaseCount()
      Returns the value of the declaredPhaseCount record component.
      Returns:
      the value of the declaredPhaseCount record component
    • liveAgentCount

      public Long liveAgentCount()
      Returns the value of the liveAgentCount record component.
      Returns:
      the value of the liveAgentCount record component
    • totalSpawnedAgentCount

      public Long totalSpawnedAgentCount()
      Returns the value of the totalSpawnedAgentCount record component.
      Returns:
      the value of the totalSpawnedAgentCount record component
    • consumed

      public WorkflowRunConsumed consumed()
      Returns the value of the consumed record component.
      Returns:
      the value of the consumed record component
    • declaredLimits

      public WorkflowDeclaredLimits declaredLimits()
      Returns the value of the declaredLimits record component.
      Returns:
      the value of the declaredLimits record component
    • approved

      public WorkflowDeclaredLimits approved()
      Returns the value of the approved record component.
      Returns:
      the value of the approved record component
    • observedAt

      public Long observedAt()
      Returns the value of the observedAt record component.
      Returns:
      the value of the observedAt record component
    • activeSegmentStartedAt

      public Long activeSegmentStartedAt()
      Returns the value of the activeSegmentStartedAt record component.
      Returns:
      the value of the activeSegmentStartedAt record component
    • terminal

      public WorkflowRunTerminal terminal()
      Returns the value of the terminal record component.
      Returns:
      the value of the terminal record component
    • canResume

      public Boolean canResume()
      Returns the value of the canResume record component.
      Returns:
      the value of the canResume record component
    • phases

      public List<WorkflowPhaseObservation> phases()
      Returns the value of the phases record component.
      Returns:
      the value of the phases record component
    • agents

      public List<WorkflowAgentSummary> agents()
      Returns the value of the agents record component.
      Returns:
      the value of the agents record component
    • progress

      public WorkflowProgressPage progress()
      Returns the value of the progress record component.
      Returns:
      the value of the progress record component