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:
name
- a name to look for
Returns:
the corresponding ResponseFormat
values
public static Collection
Returns:
known ResponseFormat values
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java