Record Class SandboxConfigUserPolicy
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SandboxConfigUserPolicy
@Generated("copilot-sdk-codegen")
public record SandboxConfigUserPolicy(SandboxConfigUserPolicyFilesystem filesystem, SandboxConfigUserPolicyNetwork network, SandboxConfigUserPolicyExperimental experimental)
extends Record
User-managed sandbox policy fragment merged into the auto-discovered base policy.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSandboxConfigUserPolicy(SandboxConfigUserPolicyFilesystem filesystem, SandboxConfigUserPolicyNetwork network, SandboxConfigUserPolicyExperimental experimental) Creates an instance of aSandboxConfigUserPolicyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexperimentalrecord component.Returns the value of thefilesystemrecord component.final inthashCode()Returns a hash code value for this object.network()Returns the value of thenetworkrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SandboxConfigUserPolicy
public SandboxConfigUserPolicy(SandboxConfigUserPolicyFilesystem filesystem, SandboxConfigUserPolicyNetwork network, SandboxConfigUserPolicyExperimental experimental) Creates an instance of aSandboxConfigUserPolicyrecord class.- Parameters:
filesystem- the value for thefilesystemrecord componentnetwork- the value for thenetworkrecord componentexperimental- the value for theexperimentalrecord 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). -
filesystem
Returns the value of thefilesystemrecord component.- Returns:
- the value of the
filesystemrecord component
-
network
Returns the value of thenetworkrecord component.- Returns:
- the value of the
networkrecord component
-
experimental
Returns the value of theexperimentalrecord component.- Returns:
- the value of the
experimentalrecord component
-