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 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 a SessionOptionsUpdateParams record class.
      Parameters:
      sessionId - the value for the sessionId record component
      model - the value for the model record component
      reasoningEffort - the value for the reasoningEffort record component
      clientName - the value for the clientName record component
      lspClientName - the value for the lspClientName record component
      integrationId - the value for the integrationId record component
      featureFlags - the value for the featureFlags record component
      isExperimentalMode - the value for the isExperimentalMode record component
      provider - the value for the provider record component
      workingDirectory - the value for the workingDirectory record component
      availableTools - the value for the availableTools record component
      excludedTools - the value for the excludedTools record component
      toolFilterPrecedence - the value for the toolFilterPrecedence record component
      enableScriptSafety - the value for the enableScriptSafety 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
      skillDirectories - the value for the skillDirectories record component
      disabledSkills - the value for the disabledSkills record component
      enableOnDemandInstructionDiscovery - the value for the enableOnDemandInstructionDiscovery 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
      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
      enableReasoningSummaries - the value for the enableReasoningSummaries record component
      agentContext - the value for the agentContext record component
      eventsLogDirectory - the value for the eventsLogDirectory record component
      additionalContentExclusionPolicies - the value for the additionalContentExclusionPolicies record component
      manageScheduleEnabled - the value for the manageScheduleEnabled 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
    • 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
    • clientName

      public String clientName()
      Returns the value of the clientName record component.
      Returns:
      the value of the clientName 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
    • 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
    • provider

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

      public String workingDirectory()
      Returns the value of the workingDirectory record component.
      Returns:
      the value of the workingDirectory 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
    • toolFilterPrecedence

      public OptionsUpdateToolFilterPrecedence toolFilterPrecedence()
      Returns the value of the toolFilterPrecedence record component.
      Returns:
      the value of the toolFilterPrecedence record component
    • enableScriptSafety

      public Boolean enableScriptSafety()
      Returns the value of the enableScriptSafety record component.
      Returns:
      the value of the enableScriptSafety 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 Object 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 OptionsUpdateEnvValueMode envValueMode()
      Returns the value of the envValueMode record component.
      Returns:
      the value of the envValueMode 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
    • enableOnDemandInstructionDiscovery

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

      public List<SessionInstalledPlugin> 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
    • 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
    • enableReasoningSummaries

      public Boolean enableReasoningSummaries()
      Returns the value of the enableReasoningSummaries record component.
      Returns:
      the value of the enableReasoningSummaries 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
    • additionalContentExclusionPolicies

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

      public Boolean manageScheduleEnabled()
      Returns the value of the manageScheduleEnabled record component.
      Returns:
      the value of the manageScheduleEnabled record component