Enum Constraints.StatusRevokedEnum
- java.lang.Object
-
- java.lang.Enum<Constraints.StatusRevokedEnum>
-
- org.hyperledger.acy_py.generated.model.Constraints.StatusRevokedEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Constraints.StatusRevokedEnum>
- Enclosing class:
- Constraints
public static enum Constraints.StatusRevokedEnum extends Enum<Constraints.StatusRevokedEnum>
Gets or Sets statusRevoked
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConstraints.StatusRevokedEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOWEDDISALLOWEDREQUIRED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Constraints.StatusRevokedEnumfromValue(String value)StringgetValue()StringtoString()static Constraints.StatusRevokedEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Constraints.StatusRevokedEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUIRED
public static final Constraints.StatusRevokedEnum REQUIRED
-
ALLOWED
public static final Constraints.StatusRevokedEnum ALLOWED
-
DISALLOWED
public static final Constraints.StatusRevokedEnum DISALLOWED
-
-
Method Detail
-
values
public static Constraints.StatusRevokedEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Constraints.StatusRevokedEnum c : Constraints.StatusRevokedEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Constraints.StatusRevokedEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<Constraints.StatusRevokedEnum>
-
fromValue
public static Constraints.StatusRevokedEnum fromValue(String value)
-
-