Share via


SearchIndexerDataIdentity Class

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

Implements

public class SearchIndexerDataIdentity
implements JsonSerializable<SearchIndexerDataIdentity>

Abstract base type for data identities.

Constructor Summary

Constructor Description
SearchIndexerDataIdentity()

Creates an instance of SearchIndexerDataIdentity class.

Method Summary

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

Reads an instance of SearchIndexerDataIdentity from the JsonReader.

String getOdataType()

Get the odataType property: A URI fragment specifying the type of identity.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SearchIndexerDataIdentity

public SearchIndexerDataIdentity()

Creates an instance of SearchIndexerDataIdentity class.

Method Details

fromJson

public static SearchIndexerDataIdentity fromJson(JsonReader jsonReader)

Reads an instance of SearchIndexerDataIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the SearchIndexerDataIdentity.

getOdataType

public String getOdataType()

Get the odataType property: A URI fragment specifying the type of identity.

Returns:

the odataType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to