AnswerType Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.cognitiveservices.search.entitysearch.models.AnswerType

public final class AnswerType
extends com.microsoft.rest.ExpandableStringEnum<AnswerType>

Defines values for AnswerType.

Field Summary

Modifier and Type Field and Description
static final AnswerType ENTITIES

Static value Entities for AnswerType.

static final AnswerType PLACES

Static value Places for AnswerType.

Constructor Summary

Constructor Description
AnswerType()

Method Summary

Modifier and Type Method and Description
static AnswerType fromString(String name)

Creates or finds a AnswerType from its string representation.

static java.util.Collection<AnswerType> values()

Methods inherited from com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

ENTITIES

public static final AnswerType ENTITIES

Static value Entities for AnswerType.

PLACES

public static final AnswerType PLACES

Static value Places for AnswerType.

Constructor Details

AnswerType

public AnswerType()

Method Details

fromString

public static AnswerType fromString(String name)

Creates or finds a AnswerType from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding AnswerType

values

public static Collection values()

Returns:

known AnswerType values

Applies to