public enum LiquidityNeeds extends java.lang.Enum<LiquidityNeeds> implements RobinhoodEnum
Enum Constant and Description |
---|
NOT_IMPORTANT_LIQUIDITY_NEED |
SOMEWHAT_IMPORTANT_LIQUIDITY_NEED |
VERY_IMPORTANT_LIQUIDITY_NEED |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue()
Get the Robinhood API's string that corresponds to this enum
|
static LiquidityNeeds |
parse(java.lang.String s)
Parse a
LiquidityNeeds from a String. |
java.lang.String |
toString() |
static LiquidityNeeds |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LiquidityNeeds[] |
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, valueOf
println
public static final LiquidityNeeds NOT_IMPORTANT_LIQUIDITY_NEED
public static final LiquidityNeeds SOMEWHAT_IMPORTANT_LIQUIDITY_NEED
public static final LiquidityNeeds VERY_IMPORTANT_LIQUIDITY_NEED
public static LiquidityNeeds[] values()
for (LiquidityNeeds c : LiquidityNeeds.values()) System.out.println(c);
public static LiquidityNeeds 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 LiquidityNeeds parse(java.lang.String s)
LiquidityNeeds
from a String.s
- The String to parse fromLiquidityNeeds
or nullpublic java.lang.String toString()
toString
in class java.lang.Enum<LiquidityNeeds>
public java.lang.String getValue()
RobinhoodEnum
getValue
in interface RobinhoodEnum