public enum LoginStatus extends java.lang.Enum<LoginStatus> implements RobinhoodEnum
| Enum Constant and Description |
|---|
FAILURE |
NOT_LOGGED_IN |
REQ_MFA
Requires Multifactor Authorization
|
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
Get the Robinhood API's string that corresponds to this enum
|
LoginStatus |
setValue(java.lang.String s)
Set the value (and toString) of this enum.
|
java.lang.String |
toString() |
static LoginStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoginStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOfprintlnpublic static final LoginStatus SUCCESS
public static final LoginStatus REQ_MFA
public static final LoginStatus FAILURE
public static final LoginStatus NOT_LOGGED_IN
public static LoginStatus[] values()
for (LoginStatus c : LoginStatus.values()) System.out.println(c);
public static LoginStatus 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 java.lang.String getValue()
RobinhoodEnumgetValue in interface RobinhoodEnumpublic java.lang.String toString()
toString in class java.lang.Enum<LoginStatus>public LoginStatus setValue(java.lang.String s)
s - The new value