Enum Class PostType

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

public enum PostType extends Enum<PostType>
The Enum Post Type.
  • Enum Constant Details

    • REGULAR

      public static final PostType REGULAR
      regular
    • QUICK

      public static final PostType QUICK
      quick
    • STRATEGIC

      public static final PostType STRATEGIC
      strategic
    • UNKNOWN_FUTURE_VALUE

      public static final PostType UNKNOWN_FUTURE_VALUE
      unknown Future Value
    • UNEXPECTED_VALUE

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

    • values

      public static PostType[] 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 PostType 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