Class TokenType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<TokenType>
com.azure.resourcemanager.automation.models.TokenType
The token type. Must be either PersonalAccessToken or Oauth.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TokenType
fromString
(String name) Creates or finds a TokenType from its string representation.static Collection<TokenType>
values()
Gets known TokenType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
PERSONAL_ACCESS_TOKEN
Static value PersonalAccessToken for TokenType. -
OAUTH
Static value Oauth for TokenType.
-
-
Constructor Details
-
TokenType
public TokenType()
-
-
Method Details
-
fromString
Creates or finds a TokenType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding TokenType.
-
values
Gets known TokenType values.- Returns:
- known TokenType values.
-