Record Class SessionModeSetParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionModeSetParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionModeSetParams(String sessionId, SessionMode mode, SessionMode expectedMode, String inheritPlanBaseFromSessionId, Boolean planModelConfigured, String planModel, String planReasoningEffort, String planContextTier, String compactionDecision, Boolean restorePlanModel, Boolean persistPlanSelection, ModelPickerSettingsContext pickerSettingsContext, String planExitAction)
extends Record
Agent interaction mode to apply to the session.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionModeSetParams(String sessionId, SessionMode mode, SessionMode expectedMode, String inheritPlanBaseFromSessionId, Boolean planModelConfigured, String planModel, String planReasoningEffort, String planContextTier, String compactionDecision, Boolean restorePlanModel, Boolean persistPlanSelection, ModelPickerSettingsContext pickerSettingsContext, String planExitAction) Creates an instance of aSessionModeSetParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompactionDecisionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpectedModerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinheritPlanBaseFromSessionIdrecord component.mode()Returns the value of themoderecord component.Returns the value of thepersistPlanSelectionrecord component.Returns the value of thepickerSettingsContextrecord component.Returns the value of theplanContextTierrecord component.Returns the value of theplanExitActionrecord component.Returns the value of theplanModelrecord component.Returns the value of theplanModelConfiguredrecord component.Returns the value of theplanReasoningEffortrecord component.Returns the value of therestorePlanModelrecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionModeSetParams
public SessionModeSetParams(String sessionId, SessionMode mode, SessionMode expectedMode, String inheritPlanBaseFromSessionId, Boolean planModelConfigured, String planModel, String planReasoningEffort, String planContextTier, String compactionDecision, Boolean restorePlanModel, Boolean persistPlanSelection, ModelPickerSettingsContext pickerSettingsContext, String planExitAction) Creates an instance of aSessionModeSetParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentmode- the value for themoderecord componentexpectedMode- the value for theexpectedModerecord componentinheritPlanBaseFromSessionId- the value for theinheritPlanBaseFromSessionIdrecord componentplanModelConfigured- the value for theplanModelConfiguredrecord componentplanModel- the value for theplanModelrecord componentplanReasoningEffort- the value for theplanReasoningEffortrecord componentplanContextTier- the value for theplanContextTierrecord componentcompactionDecision- the value for thecompactionDecisionrecord componentrestorePlanModel- the value for therestorePlanModelrecord componentpersistPlanSelection- the value for thepersistPlanSelectionrecord componentpickerSettingsContext- the value for thepickerSettingsContextrecord componentplanExitAction- the value for theplanExitActionrecord 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
-
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
expectedMode
Returns the value of theexpectedModerecord component.- Returns:
- the value of the
expectedModerecord component
-
inheritPlanBaseFromSessionId
Returns the value of theinheritPlanBaseFromSessionIdrecord component.- Returns:
- the value of the
inheritPlanBaseFromSessionIdrecord component
-
planModelConfigured
Returns the value of theplanModelConfiguredrecord component.- Returns:
- the value of the
planModelConfiguredrecord component
-
planModel
Returns the value of theplanModelrecord component.- Returns:
- the value of the
planModelrecord component
-
planReasoningEffort
Returns the value of theplanReasoningEffortrecord component.- Returns:
- the value of the
planReasoningEffortrecord component
-
planContextTier
Returns the value of theplanContextTierrecord component.- Returns:
- the value of the
planContextTierrecord component
-
compactionDecision
Returns the value of thecompactionDecisionrecord component.- Returns:
- the value of the
compactionDecisionrecord component
-
restorePlanModel
Returns the value of therestorePlanModelrecord component.- Returns:
- the value of the
restorePlanModelrecord component
-
persistPlanSelection
Returns the value of thepersistPlanSelectionrecord component.- Returns:
- the value of the
persistPlanSelectionrecord component
-
pickerSettingsContext
Returns the value of thepickerSettingsContextrecord component.- Returns:
- the value of the
pickerSettingsContextrecord component
-
planExitAction
Returns the value of theplanExitActionrecord component.- Returns:
- the value of the
planExitActionrecord component
-