Record Class SandboxConfig
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SandboxConfig
@Generated("copilot-sdk-codegen")
public record SandboxConfig(Boolean enabled, SandboxConfigUserPolicy userPolicy, Boolean addCurrentWorkingDirectory, Boolean gitAuth, Boolean ghAuth)
extends Record
Resolved sandbox configuration.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSandboxConfig(Boolean enabled, SandboxConfigUserPolicy userPolicy, Boolean addCurrentWorkingDirectory, Boolean gitAuth, Boolean ghAuth) Creates an instance of aSandboxConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaddCurrentWorkingDirectoryrecord component.enabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.ghAuth()Returns the value of theghAuthrecord component.gitAuth()Returns the value of thegitAuthrecord component.final inthashCode()Returns a hash code value for this object.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 gitAuth, Boolean ghAuth) Creates an instance of aSandboxConfigrecord class.- Parameters:
enabled- the value for theenabledrecord componentuserPolicy- the value for theuserPolicyrecord componentaddCurrentWorkingDirectory- the value for theaddCurrentWorkingDirectoryrecord componentgitAuth- the value for thegitAuthrecord componentghAuth- the value for theghAuthrecord 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
-
gitAuth
Returns the value of thegitAuthrecord component.- Returns:
- the value of the
gitAuthrecord component
-
ghAuth
Returns the value of theghAuthrecord component.- Returns:
- the value of the
ghAuthrecord component
-