Package com.vk.api.sdk.queries
Enum ReportReason
- java.lang.Object
-
- java.lang.Enum<ReportReason>
-
- com.vk.api.sdk.queries.ReportReason
-
- All Implemented Interfaces:
EnumParam,java.io.Serializable,java.lang.Comparable<ReportReason>
public enum ReportReason extends java.lang.Enum<ReportReason> implements EnumParam
Created by Anton Tsivarev on 22.09.16.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADULT_MATERIALSCHILD_PORNDRUGSEXTREMISMINSULTSPAMVIOLINCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()static ReportReasonvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ReportReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPAM
public static final ReportReason SPAM
-
CHILD_PORN
public static final ReportReason CHILD_PORN
-
EXTREMISM
public static final ReportReason EXTREMISM
-
VIOLINCE
public static final ReportReason VIOLINCE
-
DRUGS
public static final ReportReason DRUGS
-
ADULT_MATERIALS
public static final ReportReason ADULT_MATERIALS
-
INSULT
public static final ReportReason INSULT
-
-
Method Detail
-
values
public static ReportReason[] 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 (ReportReason c : ReportReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReportReason valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-