public enum PostTopicId extends java.lang.Enum<PostTopicId> implements EnumParam
| Enum Constant and Description |
|---|
ART |
EMPTY_TOPIC |
FASHION |
GAMES |
HUMOR |
IT |
MUSIC |
PHOTO |
SCIENCE_AND_TECH |
SPORT |
TRAVEL |
TV_AND_CINEMA |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
java.lang.String |
toString() |
static PostTopicId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PostTopicId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="0") public static final PostTopicId EMPTY_TOPIC
@SerializedName(value="1") public static final PostTopicId ART
@SerializedName(value="7") public static final PostTopicId IT
@SerializedName(value="12") public static final PostTopicId GAMES
@SerializedName(value="16") public static final PostTopicId MUSIC
@SerializedName(value="19") public static final PostTopicId PHOTO
@SerializedName(value="21") public static final PostTopicId SCIENCE_AND_TECH
@SerializedName(value="23") public static final PostTopicId SPORT
@SerializedName(value="25") public static final PostTopicId TRAVEL
@SerializedName(value="26") public static final PostTopicId TV_AND_CINEMA
@SerializedName(value="32") public static final PostTopicId HUMOR
@SerializedName(value="43") public static final PostTopicId FASHION
public static PostTopicId[] values()
for (PostTopicId c : PostTopicId.values()) System.out.println(c);
public static PostTopicId 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 toString()
toString in class java.lang.Enum<PostTopicId>