SkillNames Class

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

Implements

public final class SkillNames
implements JsonSerializable<SkillNames>

The type of the skill names.

Constructor Summary

Constructor Description
SkillNames()

Creates an instance of SkillNames class.

Method Summary

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

Reads an instance of SkillNames from the JsonReader.

List<String> getSkillNames()

Get the skillNames property: the names of skills to be reset.

SkillNames setSkillNames(List<String> skillNames)

Set the skillNames property: the names of skills to be reset.

SkillNames setSkillNames(String[] skillNames)

Set the skillNames property: the names of skills to be reset.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SkillNames

public SkillNames()

Creates an instance of SkillNames class.

Method Details

fromJson

public static SkillNames fromJson(JsonReader jsonReader)

Reads an instance of SkillNames from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getSkillNames

public List<String> getSkillNames()

Get the skillNames property: the names of skills to be reset.

Returns:

the skillNames value.

setSkillNames

public SkillNames setSkillNames(List<String> skillNames)

Set the skillNames property: the names of skills to be reset.

Parameters:

skillNames - the skillNames value to set.

Returns:

the SkillNames object itself.

setSkillNames

public SkillNames setSkillNames(String[] skillNames)

Set the skillNames property: the names of skills to be reset.

Parameters:

skillNames - the skillNames value to set.

Returns:

the SkillNames object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to