Record Class SessionFactoryResumeResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionFactoryResumeResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionFactoryResumeResult(String factoryName, FactoryRunResult run)
extends Record
Resolved persisted factory identity and resumed run envelope.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionFactoryResumeResult(String factoryName, FactoryRunResult run) Creates an instance of aSessionFactoryResumeResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefactoryNamerecord component.final inthashCode()Returns a hash code value for this object.run()Returns the value of therunrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionFactoryResumeResult
Creates an instance of aSessionFactoryResumeResultrecord class.- Parameters:
factoryName- the value for thefactoryNamerecord componentrun- the value for therunrecord 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). -
factoryName
Returns the value of thefactoryNamerecord component.- Returns:
- the value of the
factoryNamerecord component
-
run
Returns the value of therunrecord component.- Returns:
- the value of the
runrecord component
-