Enum AnnouncementType
- java.lang.Object
-
- java.lang.Enum<AnnouncementType>
-
- com.bybit.api.client.domain.announcement.AnnouncementType
-
- All Implemented Interfaces:
Serializable,Comparable<AnnouncementType>
public enum AnnouncementType extends Enum<AnnouncementType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELISTINGSLATEST_ACTIVITIESLATEST_BYBIT_NEWSMAINTENANCE_UPDATESNEW_CRYPTONEW_FIAT_LISTINGSOTHERPRODUCT_UPDATES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnnouncementTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AnnouncementType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW_CRYPTO
public static final AnnouncementType NEW_CRYPTO
-
LATEST_BYBIT_NEWS
public static final AnnouncementType LATEST_BYBIT_NEWS
-
DELISTINGS
public static final AnnouncementType DELISTINGS
-
LATEST_ACTIVITIES
public static final AnnouncementType LATEST_ACTIVITIES
-
PRODUCT_UPDATES
public static final AnnouncementType PRODUCT_UPDATES
-
MAINTENANCE_UPDATES
public static final AnnouncementType MAINTENANCE_UPDATES
-
NEW_FIAT_LISTINGS
public static final AnnouncementType NEW_FIAT_LISTINGS
-
OTHER
public static final AnnouncementType OTHER
-
-
Method Detail
-
values
public static AnnouncementType[] 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 (AnnouncementType c : AnnouncementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnnouncementType 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
-
-