ListDataSourcesResult Class

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

Implements

public final class ListDataSourcesResult
implements JsonSerializable<ListDataSourcesResult>

Response from a List Datasources request. If successful, it includes the full definitions of all datasources.

Method Summary

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

Reads an instance of ListDataSourcesResult from the JsonReader.

List<SearchIndexerDataSourceConnection> getDataSources()

Get the dataSources property: The datasources in the Search service.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static ListDataSourcesResult fromJson(JsonReader jsonReader)

Reads an instance of ListDataSourcesResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ListDataSourcesResult 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.

getDataSources

public List<SearchIndexerDataSourceConnection> getDataSources()

Get the dataSources property: The datasources in the Search service.

Returns:

the dataSources value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to