| Enum Constant and Description |
|---|
COPY |
PHOTO |
POST |
POST_ADS |
POSTPONE |
REPLY |
SUGGEST |
VIDEO |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
java.lang.String |
toString() |
static PostType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PostType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="post") public static final PostType POST
@SerializedName(value="copy") public static final PostType COPY
@SerializedName(value="reply") public static final PostType REPLY
@SerializedName(value="postpone") public static final PostType POSTPONE
@SerializedName(value="suggest") public static final PostType SUGGEST
@SerializedName(value="post_ads") public static final PostType POST_ADS
@SerializedName(value="photo") public static final PostType PHOTO
@SerializedName(value="video") public static final PostType VIDEO
public static PostType[] values()
for (PostType c : PostType.values()) System.out.println(c);
public static PostType 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<PostType>