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