Class TextType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<TextType>
com.azure.ai.translation.text.models.TextType
Defines values for TextType.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TextType
fromString
(String name) Creates or finds a TextType from its string representation.static Collection<TextType>
values()
Gets known TextType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
PLAIN
Static value plain for TextType. -
HTML
Static value html for TextType.
-
-
Constructor Details
-
TextType
Deprecated.Use thefromString(String)
factory method.Creates a new instance of TextType value.
-
-
Method Details
-
fromString
Creates or finds a TextType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding TextType.
-
values
Gets known TextType values.- Returns:
- known TextType values.
-
fromString(String)
factory method.