Record Class SessionWorkflowAgentParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionWorkflowAgentParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionWorkflowAgentParams(String sessionId, String workflowRunId, String executionToken, String prompt, WorkflowAgentOptions opts)
extends Record
Parameters for one workflow-scoped subagent call.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionWorkflowAgentParams(String sessionId, String workflowRunId, String executionToken, String prompt, WorkflowAgentOptions opts) Creates an instance of aSessionWorkflowAgentParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutionTokenrecord 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.Returns the value of theworkflowRunIdrecord component.
-
Constructor Details
-
SessionWorkflowAgentParams
public SessionWorkflowAgentParams(String sessionId, String workflowRunId, String executionToken, String prompt, WorkflowAgentOptions opts) Creates an instance of aSessionWorkflowAgentParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentworkflowRunId- the value for theworkflowRunIdrecord componentexecutionToken- the value for theexecutionTokenrecord 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
-
workflowRunId
Returns the value of theworkflowRunIdrecord component.- Returns:
- the value of the
workflowRunIdrecord component
-
executionToken
Returns the value of theexecutionTokenrecord component.- Returns:
- the value of the
executionTokenrecord 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
-