PolicyViolationCategory Class

public final class PolicyViolationCategory
extends ExpandableStringEnum<PolicyViolationCategory>

Describes the nature of the policy violation.

Field Summary

Modifier and Type Field and Description
static final PolicyViolationCategory COPYRIGHT_VALIDATION

Static value CopyrightValidation for PolicyViolationCategory.

static final PolicyViolationCategory IMAGE_FLAGGED_UNSAFE

Static value ImageFlaggedUnsafe for PolicyViolationCategory.

static final PolicyViolationCategory IP_THEFT

Static value IpTheft for PolicyViolationCategory.

static final PolicyViolationCategory OTHER

Static value Other for PolicyViolationCategory.

Constructor Summary

Constructor Description
PolicyViolationCategory()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PolicyViolationCategory value.

Method Summary

Modifier and Type Method and Description
static PolicyViolationCategory fromString(String name)

Creates or finds a PolicyViolationCategory from its string representation.

static Collection<PolicyViolationCategory> values()

Gets known PolicyViolationCategory values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

public static final PolicyViolationCategory COPYRIGHT_VALIDATION

Static value CopyrightValidation for PolicyViolationCategory.

IMAGE_FLAGGED_UNSAFE

public static final PolicyViolationCategory IMAGE_FLAGGED_UNSAFE

Static value ImageFlaggedUnsafe for PolicyViolationCategory.

IP_THEFT

public static final PolicyViolationCategory IP_THEFT

Static value IpTheft for PolicyViolationCategory.

OTHER

public static final PolicyViolationCategory OTHER

Static value Other for PolicyViolationCategory.

Constructor Details

PolicyViolationCategory

@Deprecated
public PolicyViolationCategory()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PolicyViolationCategory value.

Method Details

fromString

public static PolicyViolationCategory fromString(String name)

Creates or finds a PolicyViolationCategory from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PolicyViolationCategory.

values

public static Collection values()

Gets known PolicyViolationCategory values.

Returns:

known PolicyViolationCategory values.

Applies to