ResponseFormat Class

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

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

Defines values for ResponseFormat.

Field Summary

Modifier and Type Field and Description
static final ResponseFormat JSON

Static value Json for ResponseFormat.

static final ResponseFormat JSON_LD

Static value JsonLd for ResponseFormat.

Constructor Summary

Constructor Description
ResponseFormat()

Method Summary

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

Creates or finds a ResponseFormat from its string representation.

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

JSON

public static final ResponseFormat JSON

Static value Json for ResponseFormat.

JSON_LD

public static final ResponseFormat JSON_LD

Static value JsonLd for ResponseFormat.

Constructor Details

ResponseFormat

public ResponseFormat()

Method Details

fromString

public static ResponseFormat fromString(String name)

Creates or finds a ResponseFormat from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding ResponseFormat

values

public static Collection values()

Returns:

known ResponseFormat values

Applies to