Freigeben über


ResponseFormat Klasse

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

public class ResponseFormat

Definiert Werte für ResponseFormat.

Feldzusammenfassung

Modifizierer und Typ Feld und Beschreibung
final ResponseFormat JSON

Statischer Wert json für ResponseFormat.

final ResponseFormat JSON_LD

Statischer Wert JsonLd für ResponseFormat.

Methodenzusammenfassung

Modifizierer und Typ Methode und Beschreibung
ResponseFormat fromString(String name)

Erstellt oder findet ein ResponseFormat aus seiner Zeichenfolgendarstellung.

Collection<ResponseFormat> values()

Felddetails

JSON

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

Statischer Wert json für ResponseFormat.

JSON_LD

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

Statischer Wert JsonLd für ResponseFormat.

Details zur Methode

fromString

public static ResponseFormat fromString(String name)

Erstellt oder findet ein ResponseFormat aus seiner Zeichenfolgendarstellung.

Parameters:

name - einen Namen, nach dem gesucht werden soll

Returns:

das entsprechende ResponseFormat

values

public static Collection values()

Returns:

bekannte ResponseFormat-Werte

Gilt für: