Record Class SessionWorkflowListRunsResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionWorkflowListRunsResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionWorkflowListRunsResult(List<WorkflowRunSummary> runs, Long oldestSeq, Long newestSeq, Boolean hasMoreNewer, Long omittedOlder)
extends Record
A page of workflow runs in durable creation order.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionWorkflowListRunsResult(List<WorkflowRunSummary> runs, Long oldestSeq, Long newestSeq, Boolean hasMoreNewer, Long omittedOlder) Creates an instance of aSessionWorkflowListRunsResultrecord 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 thenewestSeqrecord component.Returns the value of theoldestSeqrecord component.Returns the value of theomittedOlderrecord component.runs()Returns the value of therunsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionWorkflowListRunsResult
public SessionWorkflowListRunsResult(List<WorkflowRunSummary> runs, Long oldestSeq, Long newestSeq, Boolean hasMoreNewer, Long omittedOlder) Creates an instance of aSessionWorkflowListRunsResultrecord class.- Parameters:
runs- the value for therunsrecord componentoldestSeq- the value for theoldestSeqrecord componentnewestSeq- the value for thenewestSeqrecord componenthasMoreNewer- the value for thehasMoreNewerrecord componentomittedOlder- the value for theomittedOlderrecord 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). -
runs
Returns the value of therunsrecord component.- Returns:
- the value of the
runsrecord 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
-
hasMoreNewer
Returns the value of thehasMoreNewerrecord component.- Returns:
- the value of the
hasMoreNewerrecord component
-
omittedOlder
Returns the value of theomittedOlderrecord component.- Returns:
- the value of the
omittedOlderrecord component
-