Record Class SessionFactoryGetRunProgressResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionFactoryGetRunProgressResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionFactoryGetRunProgressResult(List<FactoryProgressLine> records, Long oldestSeq, Long newestSeq, Boolean hasMoreOlder, Boolean hasMoreNewer, Long revision)
extends Record
A bidirectional page of factory progress.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionFactoryGetRunProgressResult(List<FactoryProgressLine> records, Long oldestSeq, Long newestSeq, Boolean hasMoreOlder, Boolean hasMoreNewer, Long revision) Creates an instance of aSessionFactoryGetRunProgressResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thehasMoreNewerrecord component.Returns the value of thehasMoreOlderrecord component.Returns the value of thenewestSeqrecord component.Returns the value of theoldestSeqrecord component.records()Returns the value of therecordsrecord component.revision()Returns the value of therevisionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionFactoryGetRunProgressResult
public SessionFactoryGetRunProgressResult(List<FactoryProgressLine> records, Long oldestSeq, Long newestSeq, Boolean hasMoreOlder, Boolean hasMoreNewer, Long revision) Creates an instance of aSessionFactoryGetRunProgressResultrecord class.- Parameters:
records- the value for therecordsrecord componentoldestSeq- the value for theoldestSeqrecord componentnewestSeq- the value for thenewestSeqrecord componenthasMoreOlder- the value for thehasMoreOlderrecord componenthasMoreNewer- the value for thehasMoreNewerrecord componentrevision- the value for therevisionrecord 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). -
records
Returns the value of therecordsrecord component.- Returns:
- the value of the
recordsrecord component
-
oldestSeq
Returns the value of theoldestSeqrecord component.- Returns:
- the value of the
oldestSeqrecord component
-
newestSeq
Returns the value of thenewestSeqrecord component.- Returns:
- the value of the
newestSeqrecord component
-
hasMoreOlder
Returns the value of thehasMoreOlderrecord component.- Returns:
- the value of the
hasMoreOlderrecord component
-
hasMoreNewer
Returns the value of thehasMoreNewerrecord component.- Returns:
- the value of the
hasMoreNewerrecord component
-
revision
Returns the value of therevisionrecord component.- Returns:
- the value of the
revisionrecord component
-