CreatedResources Class

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

Implements

public final class CreatedResources
implements JsonSerializable<CreatedResources>

Resources created by the knowledge source. Keys represent resource types (e.g., 'datasource', 'indexer', 'skillset', 'index') and values represent resource names.

Method Summary

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

Reads an instance of CreatedResources from the JsonReader.

Map<String,String> getAdditionalProperties()

Get the additionalProperties property: Resources created by the knowledge source.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static CreatedResources fromJson(JsonReader jsonReader)

Reads an instance of CreatedResources from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getAdditionalProperties

public Map<String,String> getAdditionalProperties()

Get the additionalProperties property: Resources created by the knowledge source. Keys represent resource types (e.g., 'datasource', 'indexer', 'skillset', 'index') and values represent resource names.

Returns:

the additionalProperties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to