Class TextFormat
- java.lang.Object
-
- com.microsoft.rest.ExpandableStringEnum<TextFormat>
-
- com.microsoft.azure.cognitiveservices.search.customsearch.models.TextFormat
-
public final class TextFormat extends com.microsoft.rest.ExpandableStringEnum<TextFormat>
Defines values for TextFormat.
-
-
Field Summary
Fields Modifier and Type Field Description static TextFormatHTMLStatic value Html for TextFormat.static TextFormatRAWStatic value Raw for TextFormat.
-
Constructor Summary
Constructors Constructor Description TextFormat()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TextFormatfromString(String name)Creates or finds a TextFormat from its string representation.static Collection<TextFormat>values()
-
-
-
Field Detail
-
RAW
public static final TextFormat RAW
Static value Raw for TextFormat.
-
HTML
public static final TextFormat HTML
Static value Html for TextFormat.
-
-
Method Detail
-
fromString
public static TextFormat fromString(String name)
Creates or finds a TextFormat from its string representation.- Parameters:
name- a name to look for- Returns:
- the corresponding TextFormat
-
values
public static Collection<TextFormat> values()
- Returns:
- known TextFormat values
-
-