public enum ReportPostReason extends java.lang.Enum<ReportPostReason> implements EnumParam
| Enum Constant and Description |
|---|
ADULT_MATERIAL |
CHILD_PORNOGRAPHY |
DRUG_PROPAGANDA |
EXTREMISM |
INSULT_ABUSE |
SPAM |
SUICIDE_CALLS |
VIOLENCE |
WEAPONS_SELLING |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
java.lang.String |
toString() |
static ReportPostReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReportPostReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="0") public static final ReportPostReason SPAM
@SerializedName(value="1") public static final ReportPostReason CHILD_PORNOGRAPHY
@SerializedName(value="2") public static final ReportPostReason EXTREMISM
@SerializedName(value="3") public static final ReportPostReason VIOLENCE
@SerializedName(value="4") public static final ReportPostReason DRUG_PROPAGANDA
@SerializedName(value="5") public static final ReportPostReason ADULT_MATERIAL
@SerializedName(value="6") public static final ReportPostReason INSULT_ABUSE
@SerializedName(value="8") public static final ReportPostReason SUICIDE_CALLS
@SerializedName(value="11") public static final ReportPostReason WEAPONS_SELLING
public static ReportPostReason[] values()
for (ReportPostReason c : ReportPostReason.values()) System.out.println(c);
public static ReportPostReason 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<ReportPostReason>