Enum RoleType

java.lang.Object
java.lang.Enum<RoleType>
com.microsoft.graph.models.RoleType
All Implemented Interfaces:
com.microsoft.kiota.serialization.ValuedEnum, Serializable, Comparable<RoleType>, java.lang.constant.Constable

@Generated("com.microsoft.kiota") public enum RoleType extends Enum<RoleType> implements com.microsoft.kiota.serialization.ValuedEnum
  • Enum Constant Details

    • Active

      public static final RoleType Active
    • Eligible

      public static final RoleType Eligible
    • Application

      public static final RoleType Application
    • Delegated

      public static final RoleType Delegated
    • UnknownFutureValue

      public static final RoleType UnknownFutureValue
  • Field Details

    • value

      public final String value
  • Method Details

    • values

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

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

      @Nonnull public String getValue()
      Specified by:
      getValue in interface com.microsoft.kiota.serialization.ValuedEnum
    • forValue

      @Nullable public static RoleType forValue(@Nonnull String searchValue)