Package com.nexmo.client.verify
Enum VerifyStatus
- java.lang.Object
-
- java.lang.Enum<VerifyStatus>
-
- com.nexmo.client.verify.VerifyStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VerifyStatus>
public enum VerifyStatus extends java.lang.Enum<VerifyStatus>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VerifyStatus
fromInt(int verifyStatus)
Look up theVerifyStatus
based on the int value.int
getVerifyStatus()
boolean
isTemporaryError()
static VerifyStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VerifyStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final VerifyStatus OK
-
THROTTLED
public static final VerifyStatus THROTTLED
-
MISSING_PARAMS
public static final VerifyStatus MISSING_PARAMS
-
INVALID_PARAMS
public static final VerifyStatus INVALID_PARAMS
-
INVALID_CREDENTIALS
public static final VerifyStatus INVALID_CREDENTIALS
-
INTERNAL_ERROR
public static final VerifyStatus INTERNAL_ERROR
-
INVALID_REQUEST
public static final VerifyStatus INVALID_REQUEST
-
NUMBER_BARRED
public static final VerifyStatus NUMBER_BARRED
-
PARTNER_ACCOUNT_BARRED
public static final VerifyStatus PARTNER_ACCOUNT_BARRED
-
PARTNER_QUOTA_EXCEEDED
public static final VerifyStatus PARTNER_QUOTA_EXCEEDED
-
ALREADY_REQUESTED
public static final VerifyStatus ALREADY_REQUESTED
-
UNSUPPORTED_NETWORK
public static final VerifyStatus UNSUPPORTED_NETWORK
-
INVALID_CODE
public static final VerifyStatus INVALID_CODE
-
WRONG_CODE_THROTTLED
public static final VerifyStatus WRONG_CODE_THROTTLED
-
TOO_MANY_DESTINATIONS
public static final VerifyStatus TOO_MANY_DESTINATIONS
-
NO_RESPONSE
public static final VerifyStatus NO_RESPONSE
-
COMMS_FAILURE
public static final VerifyStatus COMMS_FAILURE
-
UNKNOWN
public static final VerifyStatus UNKNOWN
-
-
Method Detail
-
values
public static VerifyStatus[] 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 (VerifyStatus c : VerifyStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VerifyStatus 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
-
fromInt
public static VerifyStatus fromInt(int verifyStatus)
Look up theVerifyStatus
based on the int value.- Parameters:
verifyStatus
- the int value of the verify status.- Returns:
- VerifyStatus based on the int value given.
-
getVerifyStatus
public int getVerifyStatus()
-
isTemporaryError
public boolean isTemporaryError()
-
-