Record Class WorkflowAgentOptions
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.WorkflowAgentOptions
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record WorkflowAgentOptions(String label, Object schema, String model, String reasoningEffort, ContextTier contextTier, String agent)
extends Record
Options for one workflow-scoped subagent call.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowAgentOptions(String label, Object schema, String model, String reasoningEffort, ContextTier contextTier, String agent) Creates an instance of aWorkflowAgentOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionagent()Returns the value of theagentrecord component.Returns the value of thecontextTierrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.model()Returns the value of themodelrecord component.Returns the value of thereasoningEffortrecord component.schema()Returns the value of theschemarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
WorkflowAgentOptions
public WorkflowAgentOptions(String label, Object schema, String model, String reasoningEffort, ContextTier contextTier, String agent) Creates an instance of aWorkflowAgentOptionsrecord class.- Parameters:
label- the value for thelabelrecord componentschema- the value for theschemarecord componentmodel- the value for themodelrecord componentreasoningEffort- the value for thereasoningEffortrecord componentcontextTier- the value for thecontextTierrecord componentagent- the value for theagentrecord 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). -
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
schema
Returns the value of theschemarecord component.- Returns:
- the value of the
schemarecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
reasoningEffort
Returns the value of thereasoningEffortrecord component.- Returns:
- the value of the
reasoningEffortrecord component
-
contextTier
Returns the value of thecontextTierrecord component.- Returns:
- the value of the
contextTierrecord component
-
agent
Returns the value of theagentrecord component.- Returns:
- the value of the
agentrecord component
-