Package com.vonage.client.insight
Enum InsightStatus
java.lang.Object
java.lang.Enum<InsightStatus>
com.vonage.client.insight.InsightStatus
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InsightStatus>,java.lang.constant.Constable
public enum InsightStatus extends java.lang.Enum<InsightStatus>
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INTERNAL_ERRORINVALID_CREDENTIALSINVALID_PARAMSPARTNER_QUOTA_EXCEEDEDSUCCESSTHROTTLEDUNKNOWN -
Method Summary
Modifier and Type Method Description static InsightStatusfromInt(int insightStatus)Look up theInsightStatusbased on the int value.intgetInsightStatus()static InsightStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InsightStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
Look up theInsightStatusbased on the int value.- Parameters:
insightStatus- the int value of the insight status.- Returns:
- InsightStatus based on the int value given.
-
getInsightStatus
-