InputFieldMappingEntry Class

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

Implements

public final class InputFieldMappingEntry
implements JsonSerializable<InputFieldMappingEntry>

Input field mapping for a skill.

Constructor Summary

Constructor Description
InputFieldMappingEntry(String name)

Creates an instance of InputFieldMappingEntry class.

Method Summary

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

Reads an instance of InputFieldMappingEntry from the JsonReader.

List<InputFieldMappingEntry> getInputs()

Get the inputs property: The recursive inputs used when creating a complex type.

String getName()

Get the name property: The name of the input.

String getSource()

Get the source property: The source of the input.

String getSourceContext()

Get the sourceContext property: The source context used for selecting recursive inputs.

InputFieldMappingEntry setInputs(InputFieldMappingEntry[] inputs)

Set the inputs property: The recursive inputs used when creating a complex type.

InputFieldMappingEntry setInputs(List<InputFieldMappingEntry> inputs)

Set the inputs property: The recursive inputs used when creating a complex type.

InputFieldMappingEntry setSource(String source)

Set the source property: The source of the input.

InputFieldMappingEntry setSourceContext(String sourceContext)

Set the sourceContext property: The source context used for selecting recursive inputs.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

InputFieldMappingEntry

public InputFieldMappingEntry(String name)

Creates an instance of InputFieldMappingEntry class.

Parameters:

name - the name value to set.

Method Details

fromJson

public static InputFieldMappingEntry fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

getInputs

public List getInputs()

Get the inputs property: The recursive inputs used when creating a complex type.

Returns:

the inputs value.

getName

public String getName()

Get the name property: The name of the input.

Returns:

the name value.

getSource

public String getSource()

Get the source property: The source of the input.

Returns:

the source value.

getSourceContext

public String getSourceContext()

Get the sourceContext property: The source context used for selecting recursive inputs.

Returns:

the sourceContext value.

setInputs

public InputFieldMappingEntry setInputs(InputFieldMappingEntry[] inputs)

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.

setInputs

public InputFieldMappingEntry setInputs(List inputs)

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.

setSource

public InputFieldMappingEntry setSource(String source)

Set the source property: The source of the input.

Parameters:

source - the source value to set.

Returns:

the InputFieldMappingEntry object itself.

setSourceContext

public InputFieldMappingEntry setSourceContext(String sourceContext)

Set the sourceContext property: The source context used for selecting recursive inputs.

Parameters:

sourceContext - the sourceContext value to set.

Returns:

the InputFieldMappingEntry object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to