Enum Class PermissionRecoveryReason

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

@Generated("copilot-sdk-codegen") public enum PermissionRecoveryReason extends Enum<PermissionRecoveryReason>
Controlled reason for a permission-recovery episode transition
Since:
1.0.0
  • Enum Constant Details

    • PERMISSION_REQUIRED

      public static final PermissionRecoveryReason PERMISSION_REQUIRED
      The permission_required variant.
    • REPEATED_ATTEMPT

      public static final PermissionRecoveryReason REPEATED_ATTEMPT
      The repeated_attempt variant.
    • ATTEMPTS_EXHAUSTED

      public static final PermissionRecoveryReason ATTEMPTS_EXHAUSTED
      The attempts_exhausted variant.
    • PERMISSION_APPROVED

      public static final PermissionRecoveryReason PERMISSION_APPROVED
      The permission_approved variant.
    • PERMISSION_DENIED

      public static final PermissionRecoveryReason PERMISSION_DENIED
      The permission_denied variant.
    • RESPONDER_UNAVAILABLE

      public static final PermissionRecoveryReason RESPONDER_UNAVAILABLE
      The responder_unavailable variant.
    • EQUIVALENT_ALTERNATIVE_SUCCEEDED

      public static final PermissionRecoveryReason EQUIVALENT_ALTERNATIVE_SUCCEEDED
      The equivalent_alternative_succeeded variant.
  • Method Details

    • values

      public static PermissionRecoveryReason[] 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 PermissionRecoveryReason 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 PermissionRecoveryReason fromValue(String value)