public enum InsightStatus extends java.lang.Enum<InsightStatus>
| Enum Constant and Description |
|---|
INTERNAL_ERROR |
INVALID_CREDENTIALS |
INVALID_PARAMS |
PARTNER_QUOTA_EXCEEDED |
SUCCESS |
THROTTLED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static InsightStatus |
fromInt(int insightStatus)
Look up the
InsightStatus based on the int value. |
int |
getInsightStatus() |
static InsightStatus |
valueOf(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.
|
public static final InsightStatus SUCCESS
public static final InsightStatus THROTTLED
public static final InsightStatus INVALID_PARAMS
public static final InsightStatus INVALID_CREDENTIALS
public static final InsightStatus INTERNAL_ERROR
public static final InsightStatus PARTNER_QUOTA_EXCEEDED
public static final InsightStatus UNKNOWN
public static InsightStatus[] values()
for (InsightStatus c : InsightStatus.values()) System.out.println(c);
public static InsightStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static InsightStatus fromInt(int insightStatus)
InsightStatus based on the int value.insightStatus - the int value of the insight status.public int getInsightStatus()