Record Class FactoryAgentSummary

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

@Generated("copilot-sdk-codegen") public record FactoryAgentSummary(String agentId, String toolCallId, String runId, String phaseId, String label, String agentType, String status, String requestedModel, String resolvedModel, Long startedAt, Long completedAt, Long activeMs, String activity) extends Record
Prompt-safe durable identity and live status for a direct factory agent.
Since:
1.0.0
  • Constructor Details

    • FactoryAgentSummary

      public FactoryAgentSummary(String agentId, String toolCallId, String runId, String phaseId, String label, String agentType, String status, String requestedModel, String resolvedModel, Long startedAt, Long completedAt, Long activeMs, String activity)
      Creates an instance of a FactoryAgentSummary record class.
      Parameters:
      agentId - the value for the agentId record component
      toolCallId - the value for the toolCallId record component
      runId - the value for the runId record component
      phaseId - the value for the phaseId record component
      label - the value for the label record component
      agentType - the value for the agentType record component
      status - the value for the status record component
      requestedModel - the value for the requestedModel record component
      resolvedModel - the value for the resolvedModel record component
      startedAt - the value for the startedAt record component
      completedAt - the value for the completedAt record component
      activeMs - the value for the activeMs record component
      activity - the value for the activity 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.
    • agentId

      public String agentId()
      Returns the value of the agentId record component.
      Returns:
      the value of the agentId record component
    • toolCallId

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

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

      public String phaseId()
      Returns the value of the phaseId record component.
      Returns:
      the value of the phaseId record component
    • label

      public String label()
      Returns the value of the label record component.
      Returns:
      the value of the label record component
    • agentType

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

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

      public String requestedModel()
      Returns the value of the requestedModel record component.
      Returns:
      the value of the requestedModel record component
    • resolvedModel

      public String resolvedModel()
      Returns the value of the resolvedModel record component.
      Returns:
      the value of the resolvedModel 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
    • activeMs

      public Long activeMs()
      Returns the value of the activeMs record component.
      Returns:
      the value of the activeMs record component
    • activity

      public String activity()
      Returns the value of the activity record component.
      Returns:
      the value of the activity record component