ListSkillsetsResult Class

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

Implements

public final class ListSkillsetsResult
implements JsonSerializable<ListSkillsetsResult>

Response from a list skillset request. If successful, it includes the full definitions of all skillsets.

Method Summary

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

Reads an instance of ListSkillsetsResult from the JsonReader.

List<SearchIndexerSkillset> getSkillsets()

Get the skillsets property: The skillsets defined in the Search service.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static ListSkillsetsResult fromJson(JsonReader jsonReader)

Reads an instance of ListSkillsetsResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getSkillsets

public List<SearchIndexerSkillset> getSkillsets()

Get the skillsets property: The skillsets defined in the Search service.

Returns:

the skillsets value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to