Package pl.zankowski.iextrading4j.client
Enum IEXTradingApiVersion
- java.lang.Object
-
- java.lang.Enum<IEXTradingApiVersion>
-
- pl.zankowski.iextrading4j.client.IEXTradingApiVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<IEXTradingApiVersion>
public enum IEXTradingApiVersion extends Enum<IEXTradingApiVersion>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IEX_API_V1
Deprecated.IEX_CLOUD_BETA
Deprecated.IEX_CLOUD_BETA_SANDBOX
Deprecated.IEX_CLOUD_STABLE
IEX_CLOUD_STABLE_SANDBOX
IEX_CLOUD_V1
IEX_CLOUD_V1_SANDBOX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IEXTradingApiVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static IEXTradingApiVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IEX_API_V1
@Deprecated public static final IEXTradingApiVersion IEX_API_V1
Deprecated.
-
IEX_CLOUD_BETA
@Deprecated public static final IEXTradingApiVersion IEX_CLOUD_BETA
Deprecated.
-
IEX_CLOUD_BETA_SANDBOX
@Deprecated public static final IEXTradingApiVersion IEX_CLOUD_BETA_SANDBOX
Deprecated.
-
IEX_CLOUD_V1
public static final IEXTradingApiVersion IEX_CLOUD_V1
-
IEX_CLOUD_V1_SANDBOX
public static final IEXTradingApiVersion IEX_CLOUD_V1_SANDBOX
-
IEX_CLOUD_STABLE
public static final IEXTradingApiVersion IEX_CLOUD_STABLE
-
IEX_CLOUD_STABLE_SANDBOX
public static final IEXTradingApiVersion IEX_CLOUD_STABLE_SANDBOX
-
-
Method Detail
-
values
public static IEXTradingApiVersion[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IEXTradingApiVersion c : IEXTradingApiVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IEXTradingApiVersion valueOf(String name)
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-