Partager via


DataDeletionDetectionPolicy Class

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

Implements

public class DataDeletionDetectionPolicy
implements JsonSerializable<DataDeletionDetectionPolicy>

Base type for data deletion detection policies.

Constructor Summary

Constructor Description
DataDeletionDetectionPolicy()

Creates an instance of DataDeletionDetectionPolicy class.

Method Summary

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

Reads an instance of DataDeletionDetectionPolicy from the JsonReader.

String getOdataType()

Get the odataType property: A URI fragment specifying the type of data deletion detection policy.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

DataDeletionDetectionPolicy

public DataDeletionDetectionPolicy()

Creates an instance of DataDeletionDetectionPolicy class.

Method Details

fromJson

public static DataDeletionDetectionPolicy fromJson(JsonReader jsonReader)

Reads an instance of DataDeletionDetectionPolicy from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getOdataType

public String getOdataType()

Get the odataType property: A URI fragment specifying the type of data deletion detection policy.

Returns:

the odataType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to