Package com.bybit.api.client.domain.spot
Enum VipLevel
- java.lang.Object
-
- java.lang.Enum<VipLevel>
-
- com.bybit.api.client.domain.spot.VipLevel
-
- All Implemented Interfaces:
Serializable,Comparable<VipLevel>
public enum VipLevel extends Enum<VipLevel>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VipLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static VipLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_VIP
public static final VipLevel NO_VIP
-
VIP_1
public static final VipLevel VIP_1
-
VIP_2
public static final VipLevel VIP_2
-
VIP_3
public static final VipLevel VIP_3
-
VIP_4
public static final VipLevel VIP_4
-
VIP_5
public static final VipLevel VIP_5
-
VIP_SUPREME
public static final VipLevel VIP_SUPREME
-
PRO_1
public static final VipLevel PRO_1
-
PRO_2
public static final VipLevel PRO_2
-
PRO_3
public static final VipLevel PRO_3
-
PRO_4
public static final VipLevel PRO_4
-
PRO_5
public static final VipLevel PRO_5
-
-
Method Detail
-
values
public static VipLevel[] 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 (VipLevel c : VipLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VipLevel 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
-
-