Enum Class OnenoteUserRole

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

public enum OnenoteUserRole extends Enum<OnenoteUserRole>
The Enum Onenote User Role.
  • Enum Constant Details

    • NONE

      public static final OnenoteUserRole NONE
      None
    • OWNER

      public static final OnenoteUserRole OWNER
      Owner
    • CONTRIBUTOR

      public static final OnenoteUserRole CONTRIBUTOR
      Contributor
    • READER

      public static final OnenoteUserRole READER
      Reader
    • UNEXPECTED_VALUE

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

    • values

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