Enum Class PermissionRecoveryAttemptReason
java.lang.Object
java.lang.Enum<PermissionRecoveryAttemptReason>
com.github.copilot.generated.PermissionRecoveryAttemptReason
- All Implemented Interfaces:
Serializable, Comparable<PermissionRecoveryAttemptReason>, Constable
@Generated("copilot-sdk-codegen")
public enum PermissionRecoveryAttemptReason
extends Enum<PermissionRecoveryAttemptReason>
Controlled reason for an individual attempt disposition
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTheattempts_exhaustedvariant.Theequivalent_alternative_succeededvariant.Thepermission_approvedvariant.Thepermission_deniedvariant.Thepermission_requiredvariant.Therepeated_attemptvariant.Theresponder_unavailablevariant. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the enum constant of this class with the specified name.static PermissionRecoveryAttemptReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
PERMISSION_REQUIRED
Thepermission_requiredvariant. -
REPEATED_ATTEMPT
Therepeated_attemptvariant. -
ATTEMPTS_EXHAUSTED
Theattempts_exhaustedvariant. -
PERMISSION_APPROVED
Thepermission_approvedvariant. -
PERMISSION_DENIED
Thepermission_deniedvariant. -
RESPONDER_UNAVAILABLE
Theresponder_unavailablevariant. -
EQUIVALENT_ALTERNATIVE_SUCCEEDED
Theequivalent_alternative_succeededvariant.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
-
fromValue
-