Module com.github.copilot.java
Package com.github.copilot.generated.rpc
Record Class SessionOptionsUpdateParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionOptionsUpdateParams
@Generated("copilot-sdk-codegen")
public record SessionOptionsUpdateParams(String sessionId, String model, String reasoningEffort, String clientName, String lspClientName, String integrationId, Map<String,Boolean> featureFlags, Boolean isExperimentalMode, Object provider, String workingDirectory, List<String> availableTools, List<String> excludedTools, OptionsUpdateToolFilterPrecedence toolFilterPrecedence, Boolean enableScriptSafety, String shellInitProfile, List<String> shellProcessFlags, Object sandboxConfig, Boolean logInteractiveShells, OptionsUpdateEnvValueMode envValueMode, List<String> skillDirectories, List<String> disabledSkills, Boolean enableOnDemandInstructionDiscovery, List<SessionInstalledPlugin> installedPlugins, Boolean customAgentsLocalOnly, Boolean skipCustomInstructions, List<String> disabledInstructionSources, Boolean coauthorEnabled, String trajectoryFile, Boolean enableStreaming, String copilotUrl, Boolean askUserDisabled, Boolean continueOnAutoMode, Boolean runningInInteractiveMode, Boolean enableReasoningSummaries, String agentContext, String eventsLogDirectory, List<Object> additionalContentExclusionPolicies, Boolean manageScheduleEnabled)
extends Record
Patch of mutable session options to apply to the running session.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionOptionsUpdateParams(String sessionId, String model, String reasoningEffort, String clientName, String lspClientName, String integrationId, Map<String, Boolean> featureFlags, Boolean isExperimentalMode, Object provider, String workingDirectory, List<String> availableTools, List<String> excludedTools, OptionsUpdateToolFilterPrecedence toolFilterPrecedence, Boolean enableScriptSafety, String shellInitProfile, List<String> shellProcessFlags, Object sandboxConfig, Boolean logInteractiveShells, OptionsUpdateEnvValueMode envValueMode, List<String> skillDirectories, List<String> disabledSkills, Boolean enableOnDemandInstructionDiscovery, List<SessionInstalledPlugin> installedPlugins, Boolean customAgentsLocalOnly, Boolean skipCustomInstructions, List<String> disabledInstructionSources, Boolean coauthorEnabled, String trajectoryFile, Boolean enableStreaming, String copilotUrl, Boolean askUserDisabled, Boolean continueOnAutoMode, Boolean runningInInteractiveMode, Boolean enableReasoningSummaries, String agentContext, String eventsLogDirectory, List<Object> additionalContentExclusionPolicies, Boolean manageScheduleEnabled) Creates an instance of aSessionOptionsUpdateParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalContentExclusionPoliciesrecord component.Returns the value of theagentContextrecord component.Returns the value of theaskUserDisabledrecord component.Returns the value of theavailableToolsrecord component.Returns the value of theclientNamerecord component.Returns the value of thecoauthorEnabledrecord component.Returns the value of thecontinueOnAutoModerecord component.Returns the value of thecopilotUrlrecord component.Returns the value of thecustomAgentsLocalOnlyrecord component.Returns the value of thedisabledInstructionSourcesrecord component.Returns the value of thedisabledSkillsrecord component.Returns the value of theenableOnDemandInstructionDiscoveryrecord component.Returns the value of theenableReasoningSummariesrecord component.Returns the value of theenableScriptSafetyrecord component.Returns the value of theenableStreamingrecord component.Returns the value of theenvValueModerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theeventsLogDirectoryrecord component.Returns the value of theexcludedToolsrecord component.Returns the value of thefeatureFlagsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinstalledPluginsrecord component.Returns the value of theintegrationIdrecord component.Returns the value of theisExperimentalModerecord component.Returns the value of thelogInteractiveShellsrecord component.Returns the value of thelspClientNamerecord component.Returns the value of themanageScheduleEnabledrecord component.model()Returns the value of themodelrecord component.provider()Returns the value of theproviderrecord component.Returns the value of thereasoningEffortrecord component.Returns the value of therunningInInteractiveModerecord component.Returns the value of thesandboxConfigrecord component.Returns the value of thesessionIdrecord component.Returns the value of theshellInitProfilerecord component.Returns the value of theshellProcessFlagsrecord component.Returns the value of theskillDirectoriesrecord component.Returns the value of theskipCustomInstructionsrecord component.Returns the value of thetoolFilterPrecedencerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetrajectoryFilerecord component.Returns the value of theworkingDirectoryrecord component.
-
Constructor Details
-
SessionOptionsUpdateParams
public SessionOptionsUpdateParams(String sessionId, String model, String reasoningEffort, String clientName, String lspClientName, String integrationId, Map<String, Boolean> featureFlags, Boolean isExperimentalMode, Object provider, String workingDirectory, List<String> availableTools, List<String> excludedTools, OptionsUpdateToolFilterPrecedence toolFilterPrecedence, Boolean enableScriptSafety, String shellInitProfile, List<String> shellProcessFlags, Object sandboxConfig, Boolean logInteractiveShells, OptionsUpdateEnvValueMode envValueMode, List<String> skillDirectories, List<String> disabledSkills, Boolean enableOnDemandInstructionDiscovery, List<SessionInstalledPlugin> installedPlugins, Boolean customAgentsLocalOnly, Boolean skipCustomInstructions, List<String> disabledInstructionSources, Boolean coauthorEnabled, String trajectoryFile, Boolean enableStreaming, String copilotUrl, Boolean askUserDisabled, Boolean continueOnAutoMode, Boolean runningInInteractiveMode, Boolean enableReasoningSummaries, String agentContext, String eventsLogDirectory, List<Object> additionalContentExclusionPolicies, Boolean manageScheduleEnabled) Creates an instance of aSessionOptionsUpdateParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentmodel- the value for themodelrecord componentreasoningEffort- the value for thereasoningEffortrecord componentclientName- the value for theclientNamerecord componentlspClientName- the value for thelspClientNamerecord componentintegrationId- the value for theintegrationIdrecord componentfeatureFlags- the value for thefeatureFlagsrecord componentisExperimentalMode- the value for theisExperimentalModerecord componentprovider- the value for theproviderrecord componentworkingDirectory- the value for theworkingDirectoryrecord componentavailableTools- the value for theavailableToolsrecord componentexcludedTools- the value for theexcludedToolsrecord componenttoolFilterPrecedence- the value for thetoolFilterPrecedencerecord componentenableScriptSafety- the value for theenableScriptSafetyrecord componentshellInitProfile- the value for theshellInitProfilerecord componentshellProcessFlags- the value for theshellProcessFlagsrecord componentsandboxConfig- the value for thesandboxConfigrecord componentlogInteractiveShells- the value for thelogInteractiveShellsrecord componentenvValueMode- the value for theenvValueModerecord componentskillDirectories- the value for theskillDirectoriesrecord componentdisabledSkills- the value for thedisabledSkillsrecord componentenableOnDemandInstructionDiscovery- the value for theenableOnDemandInstructionDiscoveryrecord componentinstalledPlugins- the value for theinstalledPluginsrecord componentcustomAgentsLocalOnly- the value for thecustomAgentsLocalOnlyrecord componentskipCustomInstructions- the value for theskipCustomInstructionsrecord componentdisabledInstructionSources- the value for thedisabledInstructionSourcesrecord componentcoauthorEnabled- the value for thecoauthorEnabledrecord componenttrajectoryFile- the value for thetrajectoryFilerecord componentenableStreaming- the value for theenableStreamingrecord componentcopilotUrl- the value for thecopilotUrlrecord componentaskUserDisabled- the value for theaskUserDisabledrecord componentcontinueOnAutoMode- the value for thecontinueOnAutoModerecord componentrunningInInteractiveMode- the value for therunningInInteractiveModerecord componentenableReasoningSummaries- the value for theenableReasoningSummariesrecord componentagentContext- the value for theagentContextrecord componenteventsLogDirectory- the value for theeventsLogDirectoryrecord componentadditionalContentExclusionPolicies- the value for theadditionalContentExclusionPoliciesrecord componentmanageScheduleEnabled- the value for themanageScheduleEnabledrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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
-
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
-
clientName
Returns the value of theclientNamerecord component.- Returns:
- the value of the
clientNamerecord component
-
lspClientName
Returns the value of thelspClientNamerecord component.- Returns:
- the value of the
lspClientNamerecord component
-
integrationId
Returns the value of theintegrationIdrecord component.- Returns:
- the value of the
integrationIdrecord component
-
featureFlags
Returns the value of thefeatureFlagsrecord component.- Returns:
- the value of the
featureFlagsrecord component
-
isExperimentalMode
Returns the value of theisExperimentalModerecord component.- Returns:
- the value of the
isExperimentalModerecord component
-
provider
Returns the value of theproviderrecord component.- Returns:
- the value of the
providerrecord component
-
workingDirectory
Returns the value of theworkingDirectoryrecord component.- Returns:
- the value of the
workingDirectoryrecord component
-
availableTools
Returns the value of theavailableToolsrecord component.- Returns:
- the value of the
availableToolsrecord component
-
excludedTools
Returns the value of theexcludedToolsrecord component.- Returns:
- the value of the
excludedToolsrecord component
-
toolFilterPrecedence
Returns the value of thetoolFilterPrecedencerecord component.- Returns:
- the value of the
toolFilterPrecedencerecord component
-
enableScriptSafety
Returns the value of theenableScriptSafetyrecord component.- Returns:
- the value of the
enableScriptSafetyrecord component
-
shellInitProfile
Returns the value of theshellInitProfilerecord component.- Returns:
- the value of the
shellInitProfilerecord component
-
shellProcessFlags
Returns the value of theshellProcessFlagsrecord component.- Returns:
- the value of the
shellProcessFlagsrecord component
-
sandboxConfig
Returns the value of thesandboxConfigrecord component.- Returns:
- the value of the
sandboxConfigrecord component
-
logInteractiveShells
Returns the value of thelogInteractiveShellsrecord component.- Returns:
- the value of the
logInteractiveShellsrecord component
-
envValueMode
Returns the value of theenvValueModerecord component.- Returns:
- the value of the
envValueModerecord component
-
skillDirectories
Returns the value of theskillDirectoriesrecord component.- Returns:
- the value of the
skillDirectoriesrecord component
-
disabledSkills
Returns the value of thedisabledSkillsrecord component.- Returns:
- the value of the
disabledSkillsrecord component
-
enableOnDemandInstructionDiscovery
Returns the value of theenableOnDemandInstructionDiscoveryrecord component.- Returns:
- the value of the
enableOnDemandInstructionDiscoveryrecord component
-
installedPlugins
Returns the value of theinstalledPluginsrecord component.- Returns:
- the value of the
installedPluginsrecord component
-
customAgentsLocalOnly
Returns the value of thecustomAgentsLocalOnlyrecord component.- Returns:
- the value of the
customAgentsLocalOnlyrecord component
-
skipCustomInstructions
Returns the value of theskipCustomInstructionsrecord component.- Returns:
- the value of the
skipCustomInstructionsrecord component
-
disabledInstructionSources
Returns the value of thedisabledInstructionSourcesrecord component.- Returns:
- the value of the
disabledInstructionSourcesrecord component
-
coauthorEnabled
Returns the value of thecoauthorEnabledrecord component.- Returns:
- the value of the
coauthorEnabledrecord component
-
trajectoryFile
Returns the value of thetrajectoryFilerecord component.- Returns:
- the value of the
trajectoryFilerecord component
-
enableStreaming
Returns the value of theenableStreamingrecord component.- Returns:
- the value of the
enableStreamingrecord component
-
copilotUrl
Returns the value of thecopilotUrlrecord component.- Returns:
- the value of the
copilotUrlrecord component
-
askUserDisabled
Returns the value of theaskUserDisabledrecord component.- Returns:
- the value of the
askUserDisabledrecord component
-
continueOnAutoMode
Returns the value of thecontinueOnAutoModerecord component.- Returns:
- the value of the
continueOnAutoModerecord component
-
runningInInteractiveMode
Returns the value of therunningInInteractiveModerecord component.- Returns:
- the value of the
runningInInteractiveModerecord component
-
enableReasoningSummaries
Returns the value of theenableReasoningSummariesrecord component.- Returns:
- the value of the
enableReasoningSummariesrecord component
-
agentContext
Returns the value of theagentContextrecord component.- Returns:
- the value of the
agentContextrecord component
-
eventsLogDirectory
Returns the value of theeventsLogDirectoryrecord component.- Returns:
- the value of the
eventsLogDirectoryrecord component
-
additionalContentExclusionPolicies
Returns the value of theadditionalContentExclusionPoliciesrecord component.- Returns:
- the value of the
additionalContentExclusionPoliciesrecord component
-
manageScheduleEnabled
Returns the value of themanageScheduleEnabledrecord component.- Returns:
- the value of the
manageScheduleEnabledrecord component
-