Class InputFieldMappingEntry
java.lang.Object
com.azure.search.documents.indexes.models.InputFieldMappingEntry
- All Implemented Interfaces:
com.azure.json.JsonSerializable<InputFieldMappingEntry>
public final class InputFieldMappingEntry
extends Object
implements com.azure.json.JsonSerializable<InputFieldMappingEntry>
Input field mapping for a skill.
-
Constructor Summary
ConstructorsConstructorDescriptionInputFieldMappingEntry(String name) Creates an instance of InputFieldMappingEntry class. -
Method Summary
Modifier and TypeMethodDescriptionstatic InputFieldMappingEntryfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of InputFieldMappingEntry from the JsonReader.Get the inputs property: The recursive inputs used when creating a complex type.getName()Get the name property: The name of the input.Get the source property: The source of the input.Get the sourceContext property: The source context used for selecting recursive inputs.setInputs(InputFieldMappingEntry... inputs) Set the inputs property: The recursive inputs used when creating a complex type.setInputs(List<InputFieldMappingEntry> inputs) Set the inputs property: The recursive inputs used when creating a complex type.Set the source property: The source of the input.setSourceContext(String sourceContext) Set the sourceContext property: The source context used for selecting recursive inputs.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
InputFieldMappingEntry
Creates an instance of InputFieldMappingEntry class.- Parameters:
name- the name value to set.
-
-
Method Details
-
getName
Get the name property: The name of the input.- Returns:
- the name value.
-
getSource
Get the source property: The source of the input.- Returns:
- the source value.
-
setSource
Set the source property: The source of the input.- Parameters:
source- the source value to set.- Returns:
- the InputFieldMappingEntry object itself.
-
getSourceContext
Get the sourceContext property: The source context used for selecting recursive inputs.- Returns:
- the sourceContext value.
-
setSourceContext
Set the sourceContext property: The source context used for selecting recursive inputs.- Parameters:
sourceContext- the sourceContext value to set.- Returns:
- the InputFieldMappingEntry object itself.
-
getInputs
Get the inputs property: The recursive inputs used when creating a complex type.- Returns:
- the inputs value.
-
setInputs
Set the inputs property: The recursive inputs used when creating a complex type.- Parameters:
inputs- the inputs value to set.- Returns:
- the InputFieldMappingEntry object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<InputFieldMappingEntry>- Throws:
IOException
-
fromJson
public static InputFieldMappingEntry fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of InputFieldMappingEntry from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of InputFieldMappingEntry if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the InputFieldMappingEntry.
-
setInputs
Set the inputs property: The recursive inputs used when creating a complex type.- Parameters:
inputs- the inputs value to set.- Returns:
- the InputFieldMappingEntry object itself.
-