ListSynonymMapsResult Class

  • java.lang.Object
    • com.azure.search.documents.indexes.models.ListSynonymMapsResult

Implements

public final class ListSynonymMapsResult
implements JsonSerializable<ListSynonymMapsResult>

Response from a List SynonymMaps request. If successful, it includes the full definitions of all synonym maps.

Method Summary

Modifier and Type Method and Description
static ListSynonymMapsResult fromJson(JsonReader jsonReader)

Reads an instance of ListSynonymMapsResult from the JsonReader.

List<SynonymMap> getSynonymMaps()

Get the synonymMaps property: The synonym maps in the Search service.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static ListSynonymMapsResult fromJson(JsonReader jsonReader)

Reads an instance of ListSynonymMapsResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ListSynonymMapsResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getSynonymMaps

public List<SynonymMap> getSynonymMaps()

Get the synonymMaps property: The synonym maps in the Search service.

Returns:

the synonymMaps value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to