Record Class SessionManagedPermissions
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionManagedPermissions
@Generated("copilot-sdk-codegen")
public record SessionManagedPermissions(String disableBypassPermissionsMode, Boolean disableAssistedPermissionsMode, List<String> deny, List<String> ask, List<String> allow, List<String> limitTo)
extends Record
Enterprise permission policy expressed with the runtime's managed permission-rule syntax.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallow()Returns the value of theallowrecord component.ask()Returns the value of theaskrecord component.deny()Returns the value of thedenyrecord component.Returns the value of thedisableAssistedPermissionsModerecord component.Returns the value of thedisableBypassPermissionsModerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.limitTo()Returns the value of thelimitTorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionManagedPermissions
public SessionManagedPermissions(String disableBypassPermissionsMode, Boolean disableAssistedPermissionsMode, List<String> deny, List<String> ask, List<String> allow, List<String> limitTo) Creates an instance of aSessionManagedPermissionsrecord class.- Parameters:
disableBypassPermissionsMode- the value for thedisableBypassPermissionsModerecord componentdisableAssistedPermissionsMode- the value for thedisableAssistedPermissionsModerecord componentdeny- the value for thedenyrecord componentask- the value for theaskrecord componentallow- the value for theallowrecord componentlimitTo- the value for thelimitTorecord 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). -
disableBypassPermissionsMode
Returns the value of thedisableBypassPermissionsModerecord component.- Returns:
- the value of the
disableBypassPermissionsModerecord component
-
disableAssistedPermissionsMode
Returns the value of thedisableAssistedPermissionsModerecord component.- Returns:
- the value of the
disableAssistedPermissionsModerecord component
-
deny
-
ask
-
allow
-
limitTo
-