Record Class SandboxConfigUserPolicyNetwork
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SandboxConfigUserPolicyNetwork
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theallowedHostsrecord component.Returns the value of theallowLocalNetworkrecord component.Returns the value of theallowOutboundrecord component.Returns the value of theblockedHostsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SandboxConfigUserPolicyNetwork
public SandboxConfigUserPolicyNetwork(Boolean allowOutbound, Boolean allowLocalNetwork, List<String> allowedHosts, List<String> blockedHosts) Creates an instance of aSandboxConfigUserPolicyNetworkrecord class.- Parameters:
allowOutbound- the value for theallowOutboundrecord componentallowLocalNetwork- the value for theallowLocalNetworkrecord componentallowedHosts- the value for theallowedHostsrecord componentblockedHosts- the value for theblockedHostsrecord 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). -
allowOutbound
Returns the value of theallowOutboundrecord component.- Returns:
- the value of the
allowOutboundrecord component
-
allowLocalNetwork
Returns the value of theallowLocalNetworkrecord component.- Returns:
- the value of the
allowLocalNetworkrecord component
-
allowedHosts
-
blockedHosts
-