Class StudentRole

java.lang.Object
com.azure.core.util.ExpandableStringEnum<StudentRole>
com.azure.resourcemanager.education.models.StudentRole
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class StudentRole extends com.azure.core.util.ExpandableStringEnum<StudentRole>
Student Role.
  • Field Details

    • STUDENT

      public static final StudentRole STUDENT
      Static value Student for StudentRole.
    • ADMIN

      public static final StudentRole ADMIN
      Static value Admin for StudentRole.
  • Constructor Details

    • StudentRole

      @Deprecated public StudentRole()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of StudentRole value.
  • Method Details

    • fromString

      public static StudentRole fromString(String name)
      Creates or finds a StudentRole from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding StudentRole.
    • values

      public static Collection<StudentRole> values()
      Gets known StudentRole values.
      Returns:
      known StudentRole values.