EntityScenario Class

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

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

Defines values for EntityScenario.

Field Summary

Modifier and Type Field and Description
static final EntityScenario DISAMBIGUATION_ITEM

Static value DisambiguationItem for EntityScenario.

static final EntityScenario DOMINANT_ENTITY

Static value DominantEntity for EntityScenario.

static final EntityScenario LIST_ITEM

Static value ListItem for EntityScenario.

Constructor Summary

Constructor Description
EntityScenario()

Method Summary

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

Creates or finds a EntityScenario from its string representation.

static java.util.Collection<EntityScenario> 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

DISAMBIGUATION_ITEM

public static final EntityScenario DISAMBIGUATION_ITEM

Static value DisambiguationItem for EntityScenario.

DOMINANT_ENTITY

public static final EntityScenario DOMINANT_ENTITY

Static value DominantEntity for EntityScenario.

LIST_ITEM

public static final EntityScenario LIST_ITEM

Static value ListItem for EntityScenario.

Constructor Details

EntityScenario

public EntityScenario()

Method Details

fromString

public static EntityScenario fromString(String name)

Creates or finds a EntityScenario from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding EntityScenario

values

public static Collection values()

Returns:

known EntityScenario values

Applies to