public enum PortfolioTimeFrame extends java.lang.Enum<PortfolioTimeFrame> implements APIName
Enum Constant and Description |
---|
FIFTEEN_MINUTE
Fifteen minute portfolio time frame.
|
FIVE_MINUTE
Five minute portfolio time frame.
|
ONE_DAY
One day portfolio time frame.
|
ONE_HOUR
One hour portfolio time frame.
|
ONE_MIN
One min portfolio time frame.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAPIName()
Gets the API name.
|
static PortfolioTimeFrame |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PortfolioTimeFrame[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="1Min") public static final PortfolioTimeFrame ONE_MIN
@SerializedName(value="5Min") public static final PortfolioTimeFrame FIVE_MINUTE
@SerializedName(value="15Min") public static final PortfolioTimeFrame FIFTEEN_MINUTE
@SerializedName(value="1H") public static final PortfolioTimeFrame ONE_HOUR
@SerializedName(value="1D") public static final PortfolioTimeFrame ONE_DAY
public static PortfolioTimeFrame[] values()
for (PortfolioTimeFrame c : PortfolioTimeFrame.values()) System.out.println(c);
public static PortfolioTimeFrame 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 getAPIName()
APIName
getAPIName
in interface APIName