Class StudentRole

java.lang.Object
com.azure.core.util.ExpandableStringEnum<StudentRole>
com.azure.resourcemanager.education.models.StudentRole

public final class StudentRole extends com.azure.core.util.ExpandableStringEnum<StudentRole>
Defines values for StudentRole.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final StudentRole
    Static value Admin for StudentRole.
    static final StudentRole
    Static value Student for StudentRole.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates or finds a StudentRole from its string representation.
    Gets known StudentRole values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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

      public StudentRole()
  • 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.