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 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 a FactoryPhaseObservation record class.
      Parameters:
      id - the value for the id record component
      ordinal - the value for the ordinal record component
      title - the value for the title record component
      detail - the value for the detail record component
      status - the value for the status record component
      lastEnteredRunAttempt - the value for the lastEnteredRunAttempt record component
      entryCount - the value for the entryCount record component
      startedAt - the value for the startedAt record component
      completedAt - the value for the completedAt record component
      accumulatedActiveMs - the value for the accumulatedActiveMs record component
      currentActiveMs - the value for the currentActiveMs record component
      totalAgentCount - the value for the totalAgentCount record component
      liveAgentCount - the value for the liveAgentCount 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.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • ordinal

      public Long ordinal()
      Returns the value of the ordinal record component.
      Returns:
      the value of the ordinal record component
    • title

      public String title()
      Returns the value of the title record component.
      Returns:
      the value of the title record component
    • detail

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

      public FactoryPhaseStatus status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • lastEnteredRunAttempt

      public Long lastEnteredRunAttempt()
      Returns the value of the lastEnteredRunAttempt record component.
      Returns:
      the value of the lastEnteredRunAttempt record component
    • entryCount

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

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

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

      public Long accumulatedActiveMs()
      Returns the value of the accumulatedActiveMs record component.
      Returns:
      the value of the accumulatedActiveMs record component
    • currentActiveMs

      public Long currentActiveMs()
      Returns the value of the currentActiveMs record component.
      Returns:
      the value of the currentActiveMs record component
    • totalAgentCount

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

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