IndexAction Class
- java.
lang. Object - com.
azure. search. documents. models. IndexAction
- com.
Implements
public final class IndexAction
implements JsonSerializable<IndexAction>
Represents an index action that operates on a document.
Constructor Summary
| Constructor | Description |
|---|---|
| IndexAction() |
Creates an instance of Index |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Index |
fromJson(JsonReader jsonReader)
Reads an instance of Index |
|
Index |
getActionType()
Get the action |
| Map<String,Object> |
getAdditionalProperties()
Get the additional |
|
Index |
setActionType(IndexActionType actionType)
Set the action |
|
Index |
setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
IndexAction
public IndexAction()
Creates an instance of IndexAction class.
Method Details
fromJson
public static IndexAction fromJson(JsonReader jsonReader)
Reads an instance of IndexAction from the JsonReader.
Parameters:
Returns:
Throws:
getActionType
public IndexActionType getActionType()
Get the actionType property: The operation to perform on a document in an indexing batch.
Returns:
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Get the additionalProperties property: Represents an index action that operates on a document.
Returns:
setActionType
public IndexAction setActionType(IndexActionType actionType)
Set the actionType property: The operation to perform on a document in an indexing batch.
Parameters:
Returns:
setAdditionalProperties
public IndexAction setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Represents an index action that operates on a document.
Parameters:
Returns: