Package com.vonage.client.insight
Enum Class InsightStatus
- All Implemented Interfaces:
Serializable,Comparable<InsightStatus>,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionYour request makes use of a facility that is not enabled on your account.The format of the recipient address is not valid.The api_key or api_secret you supplied is either not valid or has been disabled.Your request is incomplete and missing some mandatory parameters.Live mobile lookup not returned.Your account does not have sufficient credit to process this request.Request unparseable.Request accepted for delivery.You have made more requests in the last second than are permitted by your account.Undefined or unknown value. -
Method Summary
Modifier and TypeMethodDescriptionstatic InsightStatusfromInt(int insightStatus) Look up the InsightStatus based on the int value.intstatic InsightStatusReturns the enum constant of this class with the specified name.static InsightStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
Request accepted for delivery. -
THROTTLED
You have made more requests in the last second than are permitted by your account. Please retry. -
INVALID_PARAMS
Your request is incomplete and missing some mandatory parameters. -
INVALID_CREDENTIALS
The api_key or api_secret you supplied is either not valid or has been disabled. -
INTERNAL_ERROR
The format of the recipient address is not valid. -
PARTNER_QUOTA_EXCEEDED
Your account does not have sufficient credit to process this request. -
FACILITY_NOT_ALLOWED
Your request makes use of a facility that is not enabled on your account. -
LOOKUP_NOT_RETURNED
Live mobile lookup not returned. Not all return parameters are available. Possible values are 43, 44 and 45. -
REQUEST_UNPARSEABLE
Request unparseable. -
UNKNOWN
Undefined or unknown value.
-
-
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
-
fromInt
Look up the InsightStatus based on the int value.- Parameters:
insightStatus- the integer value of the insight status.- Returns:
- InsightStatus based on the int value given.
-
getInsightStatus
- Returns:
- The status code used to create this enum.
-