Package com.nexmo.client.verify
Enum VerifyDetails.Status
- java.lang.Object
-
- java.lang.Enum<VerifyDetails.Status>
-
- com.nexmo.client.verify.VerifyDetails.Status
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<VerifyDetails.Status>
- Enclosing class:
- VerifyDetails
public static enum VerifyDetails.Status extends java.lang.Enum<VerifyDetails.Status>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VerifyDetails.StatusfromString(java.lang.String status)Look up theVerifyDetails.Statusbased on the string value.java.lang.StringgetStatus()static VerifyDetails.StatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static VerifyDetails.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN_PROGRESS
public static final VerifyDetails.Status IN_PROGRESS
-
SUCCESS
public static final VerifyDetails.Status SUCCESS
-
FAILED
public static final VerifyDetails.Status FAILED
-
EXPIRED
public static final VerifyDetails.Status EXPIRED
-
CANCELLED
public static final VerifyDetails.Status CANCELLED
-
INVALID
public static final VerifyDetails.Status INVALID
-
-
Method Detail
-
values
public static VerifyDetails.Status[] 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 (VerifyDetails.Status c : VerifyDetails.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VerifyDetails.Status valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
fromString
public static VerifyDetails.Status fromString(java.lang.String status)
Look up theVerifyDetails.Statusbased on the string value.- Parameters:
status- the status value to lookup.- Returns:
- VerifyStatus based on the int value given.
-
getStatus
public java.lang.String getStatus()
-
-