ResponseFormat Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<ResponseFormat> - com.
microsoft. azure. cognitiveservices. search. autosuggest. models. ResponseFormat
- com.
- com.
public class ResponseFormat
Defines values for ResponseFormat.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Response |
JSON
Static value Json for ResponseFormat. |
final Response |
JSON_LD
Static value JsonLd for ResponseFormat. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Response |
fromString(String name)
Creates or finds a ResponseFormat from its string representation. |
Collection<Response |
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:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java