Enum Class RoomAccessLevel

java.lang.Object
java.lang.Enum<RoomAccessLevel>
fr.paris.lutece.plugins.meet.business.RoomAccessLevel
All Implemented Interfaces:
Serializable, Comparable<RoomAccessLevel>, Constable

public enum RoomAccessLevel extends Enum<RoomAccessLevel>
Access levels accepted by the Meet API for the access_level field of a room.

Mirrors the RoomAccessLevel schema of the Meet openapi.yaml. When the field is omitted from the creation request, the Meet server applies its own secure default (TRUSTED).

  • Enum Constant Details

    • PUBLIC

      public static final RoomAccessLevel PUBLIC
      Anyone with the room link can join directly, no authentication required.
    • TRUSTED

      public static final RoomAccessLevel TRUSTED
      Authenticated users join directly. Unauthenticated users wait in the lobby for approval.
    • RESTRICTED

      public static final RoomAccessLevel RESTRICTED
      Only participants explicitly trusted by the owner bypass the lobby. Everyone else waits for approval regardless of authentication.
  • Method Details

    • values

      public static RoomAccessLevel[] 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 RoomAccessLevel 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
    • getValue

      public String getValue()
      The wire value, as expected by the Meet API.
      Returns:
      the lowercase API value
    • fromValue

      public static RoomAccessLevel fromValue(String strValue)
      Resolve an access level from its API value.
      Parameters:
      strValue - the API value, e.g. "trusted"
      Returns:
      the matching level, or null if the value is null or unknown
    • getValues

      public static List<String> getValues()
      All API values, in declaration order.
      Returns:
      the list of supported access level values