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 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 a SessionFactoryGetRunDetailResult record class.
      Parameters:
      runId - the value for the runId record component
      factoryName - the value for the factoryName 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
      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
    • factoryName

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

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

      public FactoryRunStatus 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 FactoryCurrentPhase 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 FactoryRunConsumed consumed()
      Returns the value of the consumed record component.
      Returns:
      the value of the consumed record component
    • declaredLimits

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

      public FactoryDeclaredLimits 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 FactoryRunTerminal terminal()
      Returns the value of the terminal record component.
      Returns:
      the value of the terminal record component
    • phases

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

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

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