Record Class SessionFactoryRunResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionFactoryRunResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionFactoryRunResult(String runId, FactoryRunStatus status, Object result, String error, Object failure, String reason, Object snapshot)
extends Record
Complete current or terminal factory run envelope.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionFactoryRunResult(String runId, FactoryRunStatus status, Object result, String error, Object failure, String reason, Object snapshot) Creates an instance of aSessionFactoryRunResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.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
-
SessionFactoryRunResult
public SessionFactoryRunResult(String runId, FactoryRunStatus status, Object result, String error, Object failure, String reason, Object snapshot) Creates an instance of aSessionFactoryRunResultrecord class.- Parameters:
runId- the value for therunIdrecord 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 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
-
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
-