Class LanguageScope
java.lang.Object
com.azure.core.util.ExpandableStringEnum<LanguageScope>
com.azure.ai.translation.text.models.LanguageScope
Translator languages scopes.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LanguageScope
Static value Dictionary for LanguageScope.static final LanguageScope
Static value Translation for LanguageScope.static final LanguageScope
Static value Transliteration for LanguageScope. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LanguageScope
fromString
(String name) Creates or finds a LanguageScope from its string representation.static Collection<LanguageScope>
values()
Gets known LanguageScope values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
TRANSLATION
Static value Translation for LanguageScope. -
TRANSLITERATION
Static value Transliteration for LanguageScope. -
DICTIONARY
Static value Dictionary for LanguageScope.
-
-
Constructor Details
-
LanguageScope
Deprecated.Use thefromString(String)
factory method.Creates a new instance of LanguageScope value.
-
-
Method Details
-
fromString
Creates or finds a LanguageScope from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding LanguageScope.
-
values
Gets known LanguageScope values.- Returns:
- known LanguageScope values.
-
fromString(String)
factory method.