Enum Class ManagedPermissionVerdict

java.lang.Object
java.lang.Enum<ManagedPermissionVerdict>
com.github.copilot.generated.rpc.ManagedPermissionVerdict
All Implemented Interfaces:
Serializable, Comparable<ManagedPermissionVerdict>, Constable

@Generated("copilot-sdk-codegen") public enum ManagedPermissionVerdict extends Enum<ManagedPermissionVerdict>
Managed-policy verdict only: deny blocks the URL, ask requires approval, allow approves under managed policy, and unmanaged leaves the normal consumer permission flow in effect. No verdict bypasses other security controls.
Since:
1.0.0
  • Enum Constant Details

  • Method Details

    • values

      public static ManagedPermissionVerdict[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ManagedPermissionVerdict valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • fromValue

      public static ManagedPermissionVerdict fromValue(String value)