ResponseFormat Class

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

public class ResponseFormat

Defines values for ResponseFormat.

Field Summary

Modifier and Type Field and Description
final ResponseFormat JSON

Static value Json for ResponseFormat.

final ResponseFormat JSON_LD

Static value JsonLd for ResponseFormat.

Method Summary

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

Creates or finds a ResponseFormat from its string representation.

Collection<ResponseFormat> values()

Field Details

JSON

public static final ResponseFormat JSON= fromString("Json")

Static value Json for ResponseFormat.

JSON_LD

public static final ResponseFormat JSON_LD= fromString("JsonLd")

Static value JsonLd for 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