com.microsoft.bing.autosuggest.models.ResponseFormat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bing-autosuggest Show documentation
Show all versions of bing-autosuggest Show documentation
This module contains the client library for Microsoft Bing AutoSuggest APIs.
The newest version!
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.bing.autosuggest.models;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
/**
* Defines values for ResponseFormat.
*/
public final class ResponseFormat extends ExpandableStringEnum {
/** Static value Json for ResponseFormat. */
public static final ResponseFormat JSON = fromString("Json");
/** Static value JsonLd for ResponseFormat. */
public static final ResponseFormat JSON_LD = fromString("JsonLd");
/**
* Creates or finds a ResponseFormat from its string representation.
* @param name a name to look for
* @return the corresponding ResponseFormat
*/
@JsonCreator
public static ResponseFormat fromString(String name) {
return fromString(name, ResponseFormat.class);
}
/**
* @return known ResponseFormat values
*/
public static Collection values() {
return values(ResponseFormat.class);
}
}