public enum PostSourceType extends java.lang.Enum<PostSourceType> implements EnumParam
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
java.lang.String |
toString() |
static PostSourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PostSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="vk") public static final PostSourceType VK
@SerializedName(value="widget") public static final PostSourceType WIDGET
@SerializedName(value="api") public static final PostSourceType API
@SerializedName(value="rss") public static final PostSourceType RSS
@SerializedName(value="sms") public static final PostSourceType SMS
@SerializedName(value="mvk") public static final PostSourceType MVK
public static PostSourceType[] values()
for (PostSourceType c : PostSourceType.values()) System.out.println(c);
public static PostSourceType 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<PostSourceType>