Record Class SessionFactoryAgentParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionFactoryAgentParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionFactoryAgentParams(String sessionId, String factoryRunId, String prompt, FactoryAgentOptions opts)
extends Record
Parameters for one factory-scoped subagent call.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionFactoryAgentParams(String sessionId, String factoryRunId, String prompt, FactoryAgentOptions opts) Creates an instance of aSessionFactoryAgentParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefactoryRunIdrecord component.final inthashCode()Returns a hash code value for this object.opts()Returns the value of theoptsrecord component.prompt()Returns the value of thepromptrecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionFactoryAgentParams
public SessionFactoryAgentParams(String sessionId, String factoryRunId, String prompt, FactoryAgentOptions opts) Creates an instance of aSessionFactoryAgentParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentfactoryRunId- the value for thefactoryRunIdrecord componentprompt- the value for thepromptrecord componentopts- the value for theoptsrecord 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). -
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
factoryRunId
Returns the value of thefactoryRunIdrecord component.- Returns:
- the value of the
factoryRunIdrecord component
-
prompt
Returns the value of thepromptrecord component.- Returns:
- the value of the
promptrecord component
-
opts
Returns the value of theoptsrecord component.- Returns:
- the value of the
optsrecord component
-