Record Class SessionOpenOptions
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionOpenOptions
@Generated("copilot-sdk-codegen")
public record SessionOpenOptions(String sessionId, String name, String model, String reasoningEffort, SessionOpenOptionsReasoningSummary reasoningSummary, Verbosity verbosity, String clientName, String clientKind, String lspClientName, String integrationId, Object expAssignments, Boolean enableManagedSettings, Boolean enableFileChangeTracking, Map<String,Boolean> featureFlags, Boolean isExperimentalMode, Object authInfo, ProviderConfig provider, CapiSessionOptions capi, List<NamedProviderConfig> providers, List<ProviderModelConfig> models, String workingDirectory, List<String> additionalDirectories, SessionContext workingDirectoryContext, Boolean remoteSteerable, Boolean remoteExporting, Boolean remoteDefaultedOn, String detachedFromSpawningParentSessionId, String detachedFromSpawningParentEngagementId, List<String> availableTools, List<String> excludedTools, List<String> includedBuiltinAgents, List<String> excludedBuiltinAgents, Boolean enableScriptSafety, ShellOptions shell, String shellInitProfile, List<String> shellProcessFlags, SandboxConfig sandboxConfig, Boolean logInteractiveShells, SessionOpenOptionsEnvValueMode envValueMode, Boolean allowAllMcpServerInstructions, List<String> skillDirectories, List<String> disabledSkills, List<InstalledPlugin> installedPlugins, Boolean customAgentsLocalOnly, Boolean skipCustomInstructions, List<String> disabledInstructionSources, Boolean coauthorEnabled, String trajectoryFile, Boolean enableStreaming, Boolean enableCitations, String copilotUrl, Boolean askUserDisabled, Boolean continueOnAutoMode, Boolean runningInInteractiveMode, Boolean enableOnDemandInstructionDiscovery, Long maxInlineBinaryBytes, ModelCapabilitiesOverride modelCapabilitiesOverrides, SessionLimitsConfig sessionLimits, String agentContext, String eventsLogDirectory, Boolean eventsLogIncludesSubagents, String configDir, List<SessionOpenOptionsAdditionalContentExclusionPolicy> additionalContentExclusionPolicies, MemoryConfiguration memory, List<SessionCapability> sessionCapabilities)
extends Record
Session construction options.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionOpenOptions(String sessionId, String name, String model, String reasoningEffort, SessionOpenOptionsReasoningSummary reasoningSummary, Verbosity verbosity, String clientName, String clientKind, String lspClientName, String integrationId, Object expAssignments, Boolean enableManagedSettings, Boolean enableFileChangeTracking, Map<String, Boolean> featureFlags, Boolean isExperimentalMode, Object authInfo, ProviderConfig provider, CapiSessionOptions capi, List<NamedProviderConfig> providers, List<ProviderModelConfig> models, String workingDirectory, List<String> additionalDirectories, SessionContext workingDirectoryContext, Boolean remoteSteerable, Boolean remoteExporting, Boolean remoteDefaultedOn, String detachedFromSpawningParentSessionId, String detachedFromSpawningParentEngagementId, List<String> availableTools, List<String> excludedTools, List<String> includedBuiltinAgents, List<String> excludedBuiltinAgents, Boolean enableScriptSafety, ShellOptions shell, String shellInitProfile, List<String> shellProcessFlags, SandboxConfig sandboxConfig, Boolean logInteractiveShells, SessionOpenOptionsEnvValueMode envValueMode, Boolean allowAllMcpServerInstructions, List<String> skillDirectories, List<String> disabledSkills, List<InstalledPlugin> installedPlugins, Boolean customAgentsLocalOnly, Boolean skipCustomInstructions, List<String> disabledInstructionSources, Boolean coauthorEnabled, String trajectoryFile, Boolean enableStreaming, Boolean enableCitations, String copilotUrl, Boolean askUserDisabled, Boolean continueOnAutoMode, Boolean runningInInteractiveMode, Boolean enableOnDemandInstructionDiscovery, Long maxInlineBinaryBytes, ModelCapabilitiesOverride modelCapabilitiesOverrides, SessionLimitsConfig sessionLimits, String agentContext, String eventsLogDirectory, Boolean eventsLogIncludesSubagents, String configDir, List<SessionOpenOptionsAdditionalContentExclusionPolicy> additionalContentExclusionPolicies, MemoryConfiguration memory, List<SessionCapability> sessionCapabilities) Creates an instance of aSessionOpenOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalContentExclusionPoliciesrecord component.Returns the value of theadditionalDirectoriesrecord component.Returns the value of theagentContextrecord component.Returns the value of theallowAllMcpServerInstructionsrecord component.Returns the value of theaskUserDisabledrecord component.authInfo()Returns the value of theauthInforecord component.Returns the value of theavailableToolsrecord component.capi()Returns the value of thecapirecord component.Returns the value of theclientKindrecord component.Returns the value of theclientNamerecord component.Returns the value of thecoauthorEnabledrecord component.Returns the value of theconfigDirrecord component.Returns the value of thecontinueOnAutoModerecord component.Returns the value of thecopilotUrlrecord component.Returns the value of thecustomAgentsLocalOnlyrecord component.Returns the value of thedetachedFromSpawningParentEngagementIdrecord component.Returns the value of thedetachedFromSpawningParentSessionIdrecord component.Returns the value of thedisabledInstructionSourcesrecord component.Returns the value of thedisabledSkillsrecord component.Returns the value of theenableCitationsrecord component.Returns the value of theenableFileChangeTrackingrecord component.Returns the value of theenableManagedSettingsrecord component.Returns the value of theenableOnDemandInstructionDiscoveryrecord 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 theeventsLogIncludesSubagentsrecord component.Returns the value of theexcludedBuiltinAgentsrecord component.Returns the value of theexcludedToolsrecord component.Returns the value of theexpAssignmentsrecord component.Returns the value of thefeatureFlagsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theincludedBuiltinAgentsrecord component.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 themaxInlineBinaryBytesrecord component.memory()Returns the value of thememoryrecord component.model()Returns the value of themodelrecord component.Returns the value of themodelCapabilitiesOverridesrecord component.models()Returns the value of themodelsrecord component.name()Returns the value of thenamerecord component.provider()Returns the value of theproviderrecord component.Returns the value of theprovidersrecord component.Returns the value of thereasoningEffortrecord component.Returns the value of thereasoningSummaryrecord component.Returns the value of theremoteDefaultedOnrecord component.Returns the value of theremoteExportingrecord component.Returns the value of theremoteSteerablerecord component.Returns the value of therunningInInteractiveModerecord component.Returns the value of thesandboxConfigrecord component.Returns the value of thesessionCapabilitiesrecord component.Returns the value of thesessionIdrecord component.Returns the value of thesessionLimitsrecord component.shell()Returns the value of theshellrecord 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.final StringtoString()Returns a string representation of this record class.Returns the value of thetrajectoryFilerecord component.Returns the value of theverbosityrecord component.Returns the value of theworkingDirectoryrecord component.Returns the value of theworkingDirectoryContextrecord component.
-
Constructor Details
-
SessionOpenOptions
public SessionOpenOptions(String sessionId, String name, String model, String reasoningEffort, SessionOpenOptionsReasoningSummary reasoningSummary, Verbosity verbosity, String clientName, String clientKind, String lspClientName, String integrationId, Object expAssignments, Boolean enableManagedSettings, Boolean enableFileChangeTracking, Map<String, Boolean> featureFlags, Boolean isExperimentalMode, Object authInfo, ProviderConfig provider, CapiSessionOptions capi, List<NamedProviderConfig> providers, List<ProviderModelConfig> models, String workingDirectory, List<String> additionalDirectories, SessionContext workingDirectoryContext, Boolean remoteSteerable, Boolean remoteExporting, Boolean remoteDefaultedOn, String detachedFromSpawningParentSessionId, String detachedFromSpawningParentEngagementId, List<String> availableTools, List<String> excludedTools, List<String> includedBuiltinAgents, List<String> excludedBuiltinAgents, Boolean enableScriptSafety, ShellOptions shell, String shellInitProfile, List<String> shellProcessFlags, SandboxConfig sandboxConfig, Boolean logInteractiveShells, SessionOpenOptionsEnvValueMode envValueMode, Boolean allowAllMcpServerInstructions, List<String> skillDirectories, List<String> disabledSkills, List<InstalledPlugin> installedPlugins, Boolean customAgentsLocalOnly, Boolean skipCustomInstructions, List<String> disabledInstructionSources, Boolean coauthorEnabled, String trajectoryFile, Boolean enableStreaming, Boolean enableCitations, String copilotUrl, Boolean askUserDisabled, Boolean continueOnAutoMode, Boolean runningInInteractiveMode, Boolean enableOnDemandInstructionDiscovery, Long maxInlineBinaryBytes, ModelCapabilitiesOverride modelCapabilitiesOverrides, SessionLimitsConfig sessionLimits, String agentContext, String eventsLogDirectory, Boolean eventsLogIncludesSubagents, String configDir, List<SessionOpenOptionsAdditionalContentExclusionPolicy> additionalContentExclusionPolicies, MemoryConfiguration memory, List<SessionCapability> sessionCapabilities) Creates an instance of aSessionOpenOptionsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentname- the value for thenamerecord componentmodel- the value for themodelrecord componentreasoningEffort- the value for thereasoningEffortrecord componentreasoningSummary- the value for thereasoningSummaryrecord componentverbosity- the value for theverbosityrecord componentclientName- the value for theclientNamerecord componentclientKind- the value for theclientKindrecord componentlspClientName- the value for thelspClientNamerecord componentintegrationId- the value for theintegrationIdrecord componentexpAssignments- the value for theexpAssignmentsrecord componentenableManagedSettings- the value for theenableManagedSettingsrecord componentenableFileChangeTracking- the value for theenableFileChangeTrackingrecord componentfeatureFlags- the value for thefeatureFlagsrecord componentisExperimentalMode- the value for theisExperimentalModerecord componentauthInfo- the value for theauthInforecord componentprovider- the value for theproviderrecord componentcapi- the value for thecapirecord componentproviders- the value for theprovidersrecord componentmodels- the value for themodelsrecord componentworkingDirectory- the value for theworkingDirectoryrecord componentadditionalDirectories- the value for theadditionalDirectoriesrecord componentworkingDirectoryContext- the value for theworkingDirectoryContextrecord componentremoteSteerable- the value for theremoteSteerablerecord componentremoteExporting- the value for theremoteExportingrecord componentremoteDefaultedOn- the value for theremoteDefaultedOnrecord componentdetachedFromSpawningParentSessionId- the value for thedetachedFromSpawningParentSessionIdrecord componentdetachedFromSpawningParentEngagementId- the value for thedetachedFromSpawningParentEngagementIdrecord componentavailableTools- the value for theavailableToolsrecord componentexcludedTools- the value for theexcludedToolsrecord componentincludedBuiltinAgents- the value for theincludedBuiltinAgentsrecord componentexcludedBuiltinAgents- the value for theexcludedBuiltinAgentsrecord componentenableScriptSafety- the value for theenableScriptSafetyrecord componentshell- the value for theshellrecord 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 componentallowAllMcpServerInstructions- the value for theallowAllMcpServerInstructionsrecord componentskillDirectories- the value for theskillDirectoriesrecord componentdisabledSkills- the value for thedisabledSkillsrecord 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 componentenableCitations- the value for theenableCitationsrecord componentcopilotUrl- the value for thecopilotUrlrecord componentaskUserDisabled- the value for theaskUserDisabledrecord componentcontinueOnAutoMode- the value for thecontinueOnAutoModerecord componentrunningInInteractiveMode- the value for therunningInInteractiveModerecord componentenableOnDemandInstructionDiscovery- the value for theenableOnDemandInstructionDiscoveryrecord componentmaxInlineBinaryBytes- the value for themaxInlineBinaryBytesrecord componentmodelCapabilitiesOverrides- the value for themodelCapabilitiesOverridesrecord componentsessionLimits- the value for thesessionLimitsrecord componentagentContext- the value for theagentContextrecord componenteventsLogDirectory- the value for theeventsLogDirectoryrecord componenteventsLogIncludesSubagents- the value for theeventsLogIncludesSubagentsrecord componentconfigDir- the value for theconfigDirrecord componentadditionalContentExclusionPolicies- the value for theadditionalContentExclusionPoliciesrecord componentmemory- the value for thememoryrecord componentsessionCapabilities- the value for thesessionCapabilitiesrecord 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
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord 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
-
reasoningSummary
Returns the value of thereasoningSummaryrecord component.- Returns:
- the value of the
reasoningSummaryrecord component
-
verbosity
Returns the value of theverbosityrecord component.- Returns:
- the value of the
verbosityrecord component
-
clientName
Returns the value of theclientNamerecord component.- Returns:
- the value of the
clientNamerecord component
-
clientKind
Returns the value of theclientKindrecord component.- Returns:
- the value of the
clientKindrecord 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
-
expAssignments
Returns the value of theexpAssignmentsrecord component.- Returns:
- the value of the
expAssignmentsrecord component
-
enableManagedSettings
Returns the value of theenableManagedSettingsrecord component.- Returns:
- the value of the
enableManagedSettingsrecord component
-
enableFileChangeTracking
Returns the value of theenableFileChangeTrackingrecord component.- Returns:
- the value of the
enableFileChangeTrackingrecord component
-
featureFlags
-
isExperimentalMode
Returns the value of theisExperimentalModerecord component.- Returns:
- the value of the
isExperimentalModerecord component
-
authInfo
Returns the value of theauthInforecord component.- Returns:
- the value of the
authInforecord component
-
provider
Returns the value of theproviderrecord component.- Returns:
- the value of the
providerrecord component
-
capi
Returns the value of thecapirecord component.- Returns:
- the value of the
capirecord component
-
providers
Returns the value of theprovidersrecord component.- Returns:
- the value of the
providersrecord component
-
models
Returns the value of themodelsrecord component.- Returns:
- the value of the
modelsrecord component
-
workingDirectory
Returns the value of theworkingDirectoryrecord component.- Returns:
- the value of the
workingDirectoryrecord component
-
additionalDirectories
-
workingDirectoryContext
Returns the value of theworkingDirectoryContextrecord component.- Returns:
- the value of the
workingDirectoryContextrecord component
-
remoteSteerable
Returns the value of theremoteSteerablerecord component.- Returns:
- the value of the
remoteSteerablerecord component
-
remoteExporting
Returns the value of theremoteExportingrecord component.- Returns:
- the value of the
remoteExportingrecord component
-
remoteDefaultedOn
Returns the value of theremoteDefaultedOnrecord component.- Returns:
- the value of the
remoteDefaultedOnrecord component
-
detachedFromSpawningParentSessionId
Returns the value of thedetachedFromSpawningParentSessionIdrecord component.- Returns:
- the value of the
detachedFromSpawningParentSessionIdrecord component
-
detachedFromSpawningParentEngagementId
Returns the value of thedetachedFromSpawningParentEngagementIdrecord component.- Returns:
- the value of the
detachedFromSpawningParentEngagementIdrecord component
-
availableTools
-
excludedTools
-
includedBuiltinAgents
-
excludedBuiltinAgents
-
enableScriptSafety
Returns the value of theenableScriptSafetyrecord component.- Returns:
- the value of the
enableScriptSafetyrecord component
-
shell
Returns the value of theshellrecord component.- Returns:
- the value of the
shellrecord component
-
shellInitProfile
Returns the value of theshellInitProfilerecord component.- Returns:
- the value of the
shellInitProfilerecord component
-
shellProcessFlags
-
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
-
allowAllMcpServerInstructions
Returns the value of theallowAllMcpServerInstructionsrecord component.- Returns:
- the value of the
allowAllMcpServerInstructionsrecord component
-
skillDirectories
-
disabledSkills
-
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
-
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
-
enableCitations
Returns the value of theenableCitationsrecord component.- Returns:
- the value of the
enableCitationsrecord 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
-
enableOnDemandInstructionDiscovery
Returns the value of theenableOnDemandInstructionDiscoveryrecord component.- Returns:
- the value of the
enableOnDemandInstructionDiscoveryrecord component
-
maxInlineBinaryBytes
Returns the value of themaxInlineBinaryBytesrecord component.- Returns:
- the value of the
maxInlineBinaryBytesrecord component
-
modelCapabilitiesOverrides
Returns the value of themodelCapabilitiesOverridesrecord component.- Returns:
- the value of the
modelCapabilitiesOverridesrecord component
-
sessionLimits
Returns the value of thesessionLimitsrecord component.- Returns:
- the value of the
sessionLimitsrecord 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
-
eventsLogIncludesSubagents
Returns the value of theeventsLogIncludesSubagentsrecord component.- Returns:
- the value of the
eventsLogIncludesSubagentsrecord component
-
configDir
Returns the value of theconfigDirrecord component.- Returns:
- the value of the
configDirrecord component
-
additionalContentExclusionPolicies
public List<SessionOpenOptionsAdditionalContentExclusionPolicy> additionalContentExclusionPolicies()Returns the value of theadditionalContentExclusionPoliciesrecord component.- Returns:
- the value of the
additionalContentExclusionPoliciesrecord component
-
memory
Returns the value of thememoryrecord component.- Returns:
- the value of the
memoryrecord component
-
sessionCapabilities
Returns the value of thesessionCapabilitiesrecord component.- Returns:
- the value of the
sessionCapabilitiesrecord component
-