Enum VerificationKeyBankModel.StateEnum
- java.lang.Object
-
- java.lang.Enum<VerificationKeyBankModel.StateEnum>
-
- app.cybrid.cybrid_api_bank.client.model.VerificationKeyBankModel.StateEnum
-
- All Implemented Interfaces:
Serializable,Comparable<VerificationKeyBankModel.StateEnum>
- Enclosing class:
- VerificationKeyBankModel
public static enum VerificationKeyBankModel.StateEnum extends Enum<VerificationKeyBankModel.StateEnum>
The verification key's state.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VerificationKeyBankModel.StateEnumfromValue(String value)StringgetValue()StringtoString()static VerificationKeyBankModel.StateEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static VerificationKeyBankModel.StateEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STORING
public static final VerificationKeyBankModel.StateEnum STORING
-
PENDING
public static final VerificationKeyBankModel.StateEnum PENDING
-
VERIFIED
public static final VerificationKeyBankModel.StateEnum VERIFIED
-
FAILED
public static final VerificationKeyBankModel.StateEnum FAILED
-
-
Method Detail
-
values
public static VerificationKeyBankModel.StateEnum[] 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 (VerificationKeyBankModel.StateEnum c : VerificationKeyBankModel.StateEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VerificationKeyBankModel.StateEnum 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<VerificationKeyBankModel.StateEnum>
-
fromValue
public static VerificationKeyBankModel.StateEnum fromValue(String value)
-
-