Record Class SandboxConfig
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SandboxConfig
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SandboxConfig(Boolean enabled, SandboxConfigUserPolicy userPolicy, Boolean addCurrentWorkingDirectory, Boolean sandboxMcpServers, Boolean sandboxLspServers, Boolean allowBypass, Boolean managedMcpRoutingLocked, Boolean managedLspRoutingLocked, SandboxConfigAuth auth, Boolean allowDevToolAccess)
extends Record
Resolved sandbox configuration.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSandboxConfig(Boolean enabled, SandboxConfigUserPolicy userPolicy, Boolean addCurrentWorkingDirectory, Boolean sandboxMcpServers, Boolean sandboxLspServers, Boolean allowBypass, Boolean managedMcpRoutingLocked, Boolean managedLspRoutingLocked, SandboxConfigAuth auth, Boolean allowDevToolAccess) Creates an instance of aSandboxConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaddCurrentWorkingDirectoryrecord component.Returns the value of theallowBypassrecord component.Returns the value of theallowDevToolAccessrecord component.auth()Returns the value of theauthrecord component.enabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themanagedLspRoutingLockedrecord component.Returns the value of themanagedMcpRoutingLockedrecord component.Returns the value of thesandboxLspServersrecord component.Returns the value of thesandboxMcpServersrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuserPolicyrecord component.
-
Constructor Details
-
SandboxConfig
public SandboxConfig(Boolean enabled, SandboxConfigUserPolicy userPolicy, Boolean addCurrentWorkingDirectory, Boolean sandboxMcpServers, Boolean sandboxLspServers, Boolean allowBypass, Boolean managedMcpRoutingLocked, Boolean managedLspRoutingLocked, SandboxConfigAuth auth, Boolean allowDevToolAccess) Creates an instance of aSandboxConfigrecord class.- Parameters:
enabled- the value for theenabledrecord componentuserPolicy- the value for theuserPolicyrecord componentaddCurrentWorkingDirectory- the value for theaddCurrentWorkingDirectoryrecord componentsandboxMcpServers- the value for thesandboxMcpServersrecord componentsandboxLspServers- the value for thesandboxLspServersrecord componentallowBypass- the value for theallowBypassrecord componentmanagedMcpRoutingLocked- the value for themanagedMcpRoutingLockedrecord componentmanagedLspRoutingLocked- the value for themanagedLspRoutingLockedrecord componentauth- the value for theauthrecord componentallowDevToolAccess- the value for theallowDevToolAccessrecord 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). -
enabled
Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
userPolicy
Returns the value of theuserPolicyrecord component.- Returns:
- the value of the
userPolicyrecord component
-
addCurrentWorkingDirectory
Returns the value of theaddCurrentWorkingDirectoryrecord component.- Returns:
- the value of the
addCurrentWorkingDirectoryrecord component
-
sandboxMcpServers
Returns the value of thesandboxMcpServersrecord component.- Returns:
- the value of the
sandboxMcpServersrecord component
-
sandboxLspServers
Returns the value of thesandboxLspServersrecord component.- Returns:
- the value of the
sandboxLspServersrecord component
-
allowBypass
Returns the value of theallowBypassrecord component.- Returns:
- the value of the
allowBypassrecord component
-
managedMcpRoutingLocked
Returns the value of themanagedMcpRoutingLockedrecord component.- Returns:
- the value of the
managedMcpRoutingLockedrecord component
-
managedLspRoutingLocked
Returns the value of themanagedLspRoutingLockedrecord component.- Returns:
- the value of the
managedLspRoutingLockedrecord component
-
auth
Returns the value of theauthrecord component.- Returns:
- the value of the
authrecord component
-
allowDevToolAccess
Returns the value of theallowDevToolAccessrecord component.- Returns:
- the value of the
allowDevToolAccessrecord component
-