你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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