Enum Class ThreatCategory

java.lang.Object
java.lang.Enum<ThreatCategory>
com.microsoft.graph.models.ThreatCategory
All Implemented Interfaces:
Serializable, Comparable<ThreatCategory>, Constable

public enum ThreatCategory extends Enum<ThreatCategory>
The Enum Threat Category.
  • Enum Constant Details

    • UNDEFINED

      public static final ThreatCategory UNDEFINED
      undefined
    • SPAM

      public static final ThreatCategory SPAM
      spam
    • PHISHING

      public static final ThreatCategory PHISHING
      phishing
    • MALWARE

      public static final ThreatCategory MALWARE
      malware
    • UNKNOWN_FUTURE_VALUE

      public static final ThreatCategory UNKNOWN_FUTURE_VALUE
      unknown Future Value
    • UNEXPECTED_VALUE

      public static final ThreatCategory UNEXPECTED_VALUE
      For ThreatCategory values that were not expected from the service
  • Method Details

    • values

      public static ThreatCategory[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ThreatCategory valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null