Record Class SandboxConfigAuth
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SandboxConfigAuth
@Generated("copilot-sdk-codegen")
public record SandboxConfigAuth(Boolean git, Boolean gh)
extends Record
Credential-injection capability flags applied while the sandbox is enabled. For the same capability independent of sandboxing, and matched to the credential's GitHub host, see `shell.credentials`; the two are additive.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSandboxConfigAuth(Boolean git, Boolean gh) Creates an instance of aSandboxConfigAuthrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.gh()Returns the value of theghrecord component.git()Returns the value of thegitrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SandboxConfigAuth
-
-
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). -
git
Returns the value of thegitrecord component.- Returns:
- the value of the
gitrecord component
-
gh
Returns the value of theghrecord component.- Returns:
- the value of the
ghrecord component
-