Class UserState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<UserState>
com.azure.resourcemanager.apimanagement.models.UserState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer
portal or call any APIs of subscribed products. Default state is Active.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UserStatefromString(String name) Creates or finds a UserState from its string representation.static Collection<UserState> values()Gets known UserState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ACTIVE
Static value active for UserState. -
BLOCKED
Static value blocked for UserState. -
PENDING
Static value pending for UserState. -
DELETED
Static value deleted for UserState.
-
-
Constructor Details
-
UserState
Deprecated.Use thefromString(String)factory method.Creates a new instance of UserState value.
-
-
Method Details
-
fromString
Creates or finds a UserState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding UserState.
-
values
Gets known UserState values.- Returns:
- known UserState values.
-
fromString(String)factory method.