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, SessionManagedSettings managedSettings, 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, List<String> disabledMcpServers, 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 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, SessionManagedSettings managedSettings, 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, List<String> disabledMcpServers, 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 a SessionOpenOptions record class.
      Parameters:
      sessionId - the value for the sessionId record component
      name - the value for the name record component
      model - the value for the model record component
      reasoningEffort - the value for the reasoningEffort record component
      reasoningSummary - the value for the reasoningSummary record component
      verbosity - the value for the verbosity record component
      clientName - the value for the clientName record component
      clientKind - the value for the clientKind record component
      lspClientName - the value for the lspClientName record component
      integrationId - the value for the integrationId record component
      expAssignments - the value for the expAssignments record component
      enableManagedSettings - the value for the enableManagedSettings record component
      managedSettings - the value for the managedSettings record component
      enableFileChangeTracking - the value for the enableFileChangeTracking record component
      featureFlags - the value for the featureFlags record component
      isExperimentalMode - the value for the isExperimentalMode record component
      authInfo - the value for the authInfo record component
      provider - the value for the provider record component
      capi - the value for the capi record component
      providers - the value for the providers record component
      models - the value for the models record component
      workingDirectory - the value for the workingDirectory record component
      additionalDirectories - the value for the additionalDirectories record component
      workingDirectoryContext - the value for the workingDirectoryContext record component
      remoteSteerable - the value for the remoteSteerable record component
      remoteExporting - the value for the remoteExporting record component
      remoteDefaultedOn - the value for the remoteDefaultedOn record component
      detachedFromSpawningParentSessionId - the value for the detachedFromSpawningParentSessionId record component
      detachedFromSpawningParentEngagementId - the value for the detachedFromSpawningParentEngagementId record component
      availableTools - the value for the availableTools record component
      excludedTools - the value for the excludedTools record component
      includedBuiltinAgents - the value for the includedBuiltinAgents record component
      excludedBuiltinAgents - the value for the excludedBuiltinAgents record component
      enableScriptSafety - the value for the enableScriptSafety record component
      shell - the value for the shell record component
      shellInitProfile - the value for the shellInitProfile record component
      shellProcessFlags - the value for the shellProcessFlags record component
      sandboxConfig - the value for the sandboxConfig record component
      logInteractiveShells - the value for the logInteractiveShells record component
      envValueMode - the value for the envValueMode record component
      disabledMcpServers - the value for the disabledMcpServers record component
      allowAllMcpServerInstructions - the value for the allowAllMcpServerInstructions record component
      skillDirectories - the value for the skillDirectories record component
      disabledSkills - the value for the disabledSkills record component
      installedPlugins - the value for the installedPlugins record component
      customAgentsLocalOnly - the value for the customAgentsLocalOnly record component
      skipCustomInstructions - the value for the skipCustomInstructions record component
      disabledInstructionSources - the value for the disabledInstructionSources record component
      coauthorEnabled - the value for the coauthorEnabled record component
      trajectoryFile - the value for the trajectoryFile record component
      enableStreaming - the value for the enableStreaming record component
      enableCitations - the value for the enableCitations record component
      copilotUrl - the value for the copilotUrl record component
      askUserDisabled - the value for the askUserDisabled record component
      continueOnAutoMode - the value for the continueOnAutoMode record component
      runningInInteractiveMode - the value for the runningInInteractiveMode record component
      enableOnDemandInstructionDiscovery - the value for the enableOnDemandInstructionDiscovery record component
      maxInlineBinaryBytes - the value for the maxInlineBinaryBytes record component
      modelCapabilitiesOverrides - the value for the modelCapabilitiesOverrides record component
      sessionLimits - the value for the sessionLimits record component
      agentContext - the value for the agentContext record component
      eventsLogDirectory - the value for the eventsLogDirectory record component
      eventsLogIncludesSubagents - the value for the eventsLogIncludesSubagents record component
      configDir - the value for the configDir record component
      additionalContentExclusionPolicies - the value for the additionalContentExclusionPolicies record component
      memory - the value for the memory record component
      sessionCapabilities - the value for the sessionCapabilities record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • sessionId

      public String sessionId()
      Returns the value of the sessionId record component.
      Returns:
      the value of the sessionId record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • model

      public String model()
      Returns the value of the model record component.
      Returns:
      the value of the model record component
    • reasoningEffort

      public String reasoningEffort()
      Returns the value of the reasoningEffort record component.
      Returns:
      the value of the reasoningEffort record component
    • reasoningSummary

      public SessionOpenOptionsReasoningSummary reasoningSummary()
      Returns the value of the reasoningSummary record component.
      Returns:
      the value of the reasoningSummary record component
    • verbosity

      public Verbosity verbosity()
      Returns the value of the verbosity record component.
      Returns:
      the value of the verbosity record component
    • clientName

      public String clientName()
      Returns the value of the clientName record component.
      Returns:
      the value of the clientName record component
    • clientKind

      public String clientKind()
      Returns the value of the clientKind record component.
      Returns:
      the value of the clientKind record component
    • lspClientName

      public String lspClientName()
      Returns the value of the lspClientName record component.
      Returns:
      the value of the lspClientName record component
    • integrationId

      public String integrationId()
      Returns the value of the integrationId record component.
      Returns:
      the value of the integrationId record component
    • expAssignments

      public Object expAssignments()
      Returns the value of the expAssignments record component.
      Returns:
      the value of the expAssignments record component
    • enableManagedSettings

      public Boolean enableManagedSettings()
      Returns the value of the enableManagedSettings record component.
      Returns:
      the value of the enableManagedSettings record component
    • managedSettings

      public SessionManagedSettings managedSettings()
      Returns the value of the managedSettings record component.
      Returns:
      the value of the managedSettings record component
    • enableFileChangeTracking

      public Boolean enableFileChangeTracking()
      Returns the value of the enableFileChangeTracking record component.
      Returns:
      the value of the enableFileChangeTracking record component
    • featureFlags

      public Map<String,Boolean> featureFlags()
      Returns the value of the featureFlags record component.
      Returns:
      the value of the featureFlags record component
    • isExperimentalMode

      public Boolean isExperimentalMode()
      Returns the value of the isExperimentalMode record component.
      Returns:
      the value of the isExperimentalMode record component
    • authInfo

      public Object authInfo()
      Returns the value of the authInfo record component.
      Returns:
      the value of the authInfo record component
    • provider

      public ProviderConfig provider()
      Returns the value of the provider record component.
      Returns:
      the value of the provider record component
    • capi

      public CapiSessionOptions capi()
      Returns the value of the capi record component.
      Returns:
      the value of the capi record component
    • providers

      public List<NamedProviderConfig> providers()
      Returns the value of the providers record component.
      Returns:
      the value of the providers record component
    • models

      public List<ProviderModelConfig> models()
      Returns the value of the models record component.
      Returns:
      the value of the models record component
    • workingDirectory

      public String workingDirectory()
      Returns the value of the workingDirectory record component.
      Returns:
      the value of the workingDirectory record component
    • additionalDirectories

      public List<String> additionalDirectories()
      Returns the value of the additionalDirectories record component.
      Returns:
      the value of the additionalDirectories record component
    • workingDirectoryContext

      public SessionContext workingDirectoryContext()
      Returns the value of the workingDirectoryContext record component.
      Returns:
      the value of the workingDirectoryContext record component
    • remoteSteerable

      public Boolean remoteSteerable()
      Returns the value of the remoteSteerable record component.
      Returns:
      the value of the remoteSteerable record component
    • remoteExporting

      public Boolean remoteExporting()
      Returns the value of the remoteExporting record component.
      Returns:
      the value of the remoteExporting record component
    • remoteDefaultedOn

      public Boolean remoteDefaultedOn()
      Returns the value of the remoteDefaultedOn record component.
      Returns:
      the value of the remoteDefaultedOn record component
    • detachedFromSpawningParentSessionId

      public String detachedFromSpawningParentSessionId()
      Returns the value of the detachedFromSpawningParentSessionId record component.
      Returns:
      the value of the detachedFromSpawningParentSessionId record component
    • detachedFromSpawningParentEngagementId

      public String detachedFromSpawningParentEngagementId()
      Returns the value of the detachedFromSpawningParentEngagementId record component.
      Returns:
      the value of the detachedFromSpawningParentEngagementId record component
    • availableTools

      public List<String> availableTools()
      Returns the value of the availableTools record component.
      Returns:
      the value of the availableTools record component
    • excludedTools

      public List<String> excludedTools()
      Returns the value of the excludedTools record component.
      Returns:
      the value of the excludedTools record component
    • includedBuiltinAgents

      public List<String> includedBuiltinAgents()
      Returns the value of the includedBuiltinAgents record component.
      Returns:
      the value of the includedBuiltinAgents record component
    • excludedBuiltinAgents

      public List<String> excludedBuiltinAgents()
      Returns the value of the excludedBuiltinAgents record component.
      Returns:
      the value of the excludedBuiltinAgents record component
    • enableScriptSafety

      public Boolean enableScriptSafety()
      Returns the value of the enableScriptSafety record component.
      Returns:
      the value of the enableScriptSafety record component
    • shell

      public ShellOptions shell()
      Returns the value of the shell record component.
      Returns:
      the value of the shell record component
    • shellInitProfile

      public String shellInitProfile()
      Returns the value of the shellInitProfile record component.
      Returns:
      the value of the shellInitProfile record component
    • shellProcessFlags

      public List<String> shellProcessFlags()
      Returns the value of the shellProcessFlags record component.
      Returns:
      the value of the shellProcessFlags record component
    • sandboxConfig

      public SandboxConfig sandboxConfig()
      Returns the value of the sandboxConfig record component.
      Returns:
      the value of the sandboxConfig record component
    • logInteractiveShells

      public Boolean logInteractiveShells()
      Returns the value of the logInteractiveShells record component.
      Returns:
      the value of the logInteractiveShells record component
    • envValueMode

      public SessionOpenOptionsEnvValueMode envValueMode()
      Returns the value of the envValueMode record component.
      Returns:
      the value of the envValueMode record component
    • disabledMcpServers

      public List<String> disabledMcpServers()
      Returns the value of the disabledMcpServers record component.
      Returns:
      the value of the disabledMcpServers record component
    • allowAllMcpServerInstructions

      public Boolean allowAllMcpServerInstructions()
      Returns the value of the allowAllMcpServerInstructions record component.
      Returns:
      the value of the allowAllMcpServerInstructions record component
    • skillDirectories

      public List<String> skillDirectories()
      Returns the value of the skillDirectories record component.
      Returns:
      the value of the skillDirectories record component
    • disabledSkills

      public List<String> disabledSkills()
      Returns the value of the disabledSkills record component.
      Returns:
      the value of the disabledSkills record component
    • installedPlugins

      public List<InstalledPlugin> installedPlugins()
      Returns the value of the installedPlugins record component.
      Returns:
      the value of the installedPlugins record component
    • customAgentsLocalOnly

      public Boolean customAgentsLocalOnly()
      Returns the value of the customAgentsLocalOnly record component.
      Returns:
      the value of the customAgentsLocalOnly record component
    • skipCustomInstructions

      public Boolean skipCustomInstructions()
      Returns the value of the skipCustomInstructions record component.
      Returns:
      the value of the skipCustomInstructions record component
    • disabledInstructionSources

      public List<String> disabledInstructionSources()
      Returns the value of the disabledInstructionSources record component.
      Returns:
      the value of the disabledInstructionSources record component
    • coauthorEnabled

      public Boolean coauthorEnabled()
      Returns the value of the coauthorEnabled record component.
      Returns:
      the value of the coauthorEnabled record component
    • trajectoryFile

      public String trajectoryFile()
      Returns the value of the trajectoryFile record component.
      Returns:
      the value of the trajectoryFile record component
    • enableStreaming

      public Boolean enableStreaming()
      Returns the value of the enableStreaming record component.
      Returns:
      the value of the enableStreaming record component
    • enableCitations

      public Boolean enableCitations()
      Returns the value of the enableCitations record component.
      Returns:
      the value of the enableCitations record component
    • copilotUrl

      public String copilotUrl()
      Returns the value of the copilotUrl record component.
      Returns:
      the value of the copilotUrl record component
    • askUserDisabled

      public Boolean askUserDisabled()
      Returns the value of the askUserDisabled record component.
      Returns:
      the value of the askUserDisabled record component
    • continueOnAutoMode

      public Boolean continueOnAutoMode()
      Returns the value of the continueOnAutoMode record component.
      Returns:
      the value of the continueOnAutoMode record component
    • runningInInteractiveMode

      public Boolean runningInInteractiveMode()
      Returns the value of the runningInInteractiveMode record component.
      Returns:
      the value of the runningInInteractiveMode record component
    • enableOnDemandInstructionDiscovery

      public Boolean enableOnDemandInstructionDiscovery()
      Returns the value of the enableOnDemandInstructionDiscovery record component.
      Returns:
      the value of the enableOnDemandInstructionDiscovery record component
    • maxInlineBinaryBytes

      public Long maxInlineBinaryBytes()
      Returns the value of the maxInlineBinaryBytes record component.
      Returns:
      the value of the maxInlineBinaryBytes record component
    • modelCapabilitiesOverrides

      public ModelCapabilitiesOverride modelCapabilitiesOverrides()
      Returns the value of the modelCapabilitiesOverrides record component.
      Returns:
      the value of the modelCapabilitiesOverrides record component
    • sessionLimits

      public SessionLimitsConfig sessionLimits()
      Returns the value of the sessionLimits record component.
      Returns:
      the value of the sessionLimits record component
    • agentContext

      public String agentContext()
      Returns the value of the agentContext record component.
      Returns:
      the value of the agentContext record component
    • eventsLogDirectory

      public String eventsLogDirectory()
      Returns the value of the eventsLogDirectory record component.
      Returns:
      the value of the eventsLogDirectory record component
    • eventsLogIncludesSubagents

      public Boolean eventsLogIncludesSubagents()
      Returns the value of the eventsLogIncludesSubagents record component.
      Returns:
      the value of the eventsLogIncludesSubagents record component
    • configDir

      public String configDir()
      Returns the value of the configDir record component.
      Returns:
      the value of the configDir record component
    • additionalContentExclusionPolicies

      public List<SessionOpenOptionsAdditionalContentExclusionPolicy> additionalContentExclusionPolicies()
      Returns the value of the additionalContentExclusionPolicies record component.
      Returns:
      the value of the additionalContentExclusionPolicies record component
    • memory

      public MemoryConfiguration memory()
      Returns the value of the memory record component.
      Returns:
      the value of the memory record component
    • sessionCapabilities

      public List<SessionCapability> sessionCapabilities()
      Returns the value of the sessionCapabilities record component.
      Returns:
      the value of the sessionCapabilities record component