public static enum ReportProjectUserOrVersion.ReportType extends Enum<ReportProjectUserOrVersion.ReportType>
| Enum Constant and Description |
|---|
COPYRIGHT
The report is a copyright violation
|
INAPPROPRIATE
The report is inappropriate
|
MALICIOUS
The report is a malicious link
|
NAME_SQUATTING
The report is a name squatting
|
OTHER
The report is something else
|
SPAM
The report is spam
|
| Modifier and Type | Method and Description |
|---|---|
static ReportProjectUserOrVersion.ReportType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReportProjectUserOrVersion.ReportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="spam") public static final ReportProjectUserOrVersion.ReportType SPAM
@SerializedName(value="copyright") public static final ReportProjectUserOrVersion.ReportType COPYRIGHT
@SerializedName(value="inappropriate") public static final ReportProjectUserOrVersion.ReportType INAPPROPRIATE
@SerializedName(value="malicious") public static final ReportProjectUserOrVersion.ReportType MALICIOUS
@SerializedName(value="name-squatting") public static final ReportProjectUserOrVersion.ReportType NAME_SQUATTING
@SerializedName(value="other") public static final ReportProjectUserOrVersion.ReportType OTHER
public static ReportProjectUserOrVersion.ReportType[] values()
for (ReportProjectUserOrVersion.ReportType c : ReportProjectUserOrVersion.ReportType.values()) System.out.println(c);
public static ReportProjectUserOrVersion.ReportType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2026. All rights reserved.