Record Class SubagentSettingsEntry
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SubagentSettingsEntry
@Generated("copilot-sdk-codegen")
public record SubagentSettingsEntry(String model, AgentModelPolicy modelPolicy, String effortLevel, SubagentSettingsEntryContextTier contextTier, Boolean autoInvoke)
extends Record
Subagent model, reasoning effort, context tier, and auto-invocation settings
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSubagentSettingsEntry(String model, AgentModelPolicy modelPolicy, String effortLevel, SubagentSettingsEntryContextTier contextTier, Boolean autoInvoke) Creates an instance of aSubagentSettingsEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theautoInvokerecord component.Returns the value of thecontextTierrecord component.Returns the value of theeffortLevelrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.model()Returns the value of themodelrecord component.Returns the value of themodelPolicyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SubagentSettingsEntry
public SubagentSettingsEntry(String model, AgentModelPolicy modelPolicy, String effortLevel, SubagentSettingsEntryContextTier contextTier, Boolean autoInvoke) Creates an instance of aSubagentSettingsEntryrecord class.- Parameters:
model- the value for themodelrecord componentmodelPolicy- the value for themodelPolicyrecord componenteffortLevel- the value for theeffortLevelrecord componentcontextTier- the value for thecontextTierrecord componentautoInvoke- the value for theautoInvokerecord 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). -
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
modelPolicy
Returns the value of themodelPolicyrecord component.- Returns:
- the value of the
modelPolicyrecord component
-
effortLevel
Returns the value of theeffortLevelrecord component.- Returns:
- the value of the
effortLevelrecord component
-
contextTier
Returns the value of thecontextTierrecord component.- Returns:
- the value of the
contextTierrecord component
-
autoInvoke
Returns the value of theautoInvokerecord component.- Returns:
- the value of the
autoInvokerecord component
-