Record Class SessionWorkflowRunFromToolResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionWorkflowRunFromToolResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionWorkflowRunFromToolResult(String runId, Long attempt, WorkflowRunStatus status, Object result, String error, Object failure, String reason, Object snapshot, Object pauseInfo)
extends Record
Complete current or terminal workflow run envelope.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionWorkflowRunFromToolResult(String runId, Long attempt, WorkflowRunStatus status, Object result, String error, Object failure, String reason, Object snapshot, Object pauseInfo) Creates an instance of aSessionWorkflowRunFromToolResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionattempt()Returns the value of theattemptrecord component.final booleanIndicates whether some other object is "equal to" this one.error()Returns the value of theerrorrecord component.failure()Returns the value of thefailurerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepauseInforecord component.reason()Returns the value of thereasonrecord component.result()Returns the value of theresultrecord component.runId()Returns the value of therunIdrecord component.snapshot()Returns the value of thesnapshotrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionWorkflowRunFromToolResult
public SessionWorkflowRunFromToolResult(String runId, Long attempt, WorkflowRunStatus status, Object result, String error, Object failure, String reason, Object snapshot, Object pauseInfo) Creates an instance of aSessionWorkflowRunFromToolResultrecord class.- Parameters:
runId- the value for therunIdrecord componentattempt- the value for theattemptrecord componentstatus- the value for thestatusrecord componentresult- the value for theresultrecord componenterror- the value for theerrorrecord componentfailure- the value for thefailurerecord componentreason- the value for thereasonrecord componentsnapshot- the value for thesnapshotrecord componentpauseInfo- the value for thepauseInforecord 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). -
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
attempt
Returns the value of theattemptrecord component.- Returns:
- the value of the
attemptrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-
error
Returns the value of theerrorrecord component.- Returns:
- the value of the
errorrecord component
-
failure
Returns the value of thefailurerecord component.- Returns:
- the value of the
failurerecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
snapshot
Returns the value of thesnapshotrecord component.- Returns:
- the value of the
snapshotrecord component
-
pauseInfo
Returns the value of thepauseInforecord component.- Returns:
- the value of the
pauseInforecord component
-