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>
Student Role.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StudentRoleStatic value Admin for StudentRole.static final StudentRoleStatic value Student for StudentRole. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StudentRolefromString(String name) Creates or finds a StudentRole from its string representation.static Collection<StudentRole> values()Gets known StudentRole values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
STUDENT
Static value Student for StudentRole. -
ADMIN
Static value Admin for StudentRole.
-
-
Constructor Details
-
StudentRole
Deprecated.Use thefromString(String)factory method.Creates a new instance of StudentRole value.
-
-
Method Details
-
fromString
Creates or finds a StudentRole from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding StudentRole.
-
values
Gets known StudentRole values.- Returns:
- known StudentRole values.
-
fromString(String)factory method.