KnowledgeBaseFabricDataAgentReference Class

public final class KnowledgeBaseFabricDataAgentReference
extends KnowledgeBaseReference

Represents a Fabric Data Agent document reference.

Method Summary

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

Reads an instance of KnowledgeBaseFabricDataAgentReference from the JsonReader.

String getDataAgentId()

Get the dataAgentId property: The Fabric Data Agent ID.

KnowledgeBaseReferenceType getType()

Get the type property: The type of the reference.

String getWorkspaceId()

Get the workspaceId property: The Fabric workspace ID.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from KnowledgeBaseReference

Methods inherited from java.lang.Object

Method Details

fromJson

public static KnowledgeBaseFabricDataAgentReference fromJson(JsonReader jsonReader)

Reads an instance of KnowledgeBaseFabricDataAgentReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getDataAgentId

public String getDataAgentId()

Get the dataAgentId property: The Fabric Data Agent ID.

Returns:

the dataAgentId value.

getType

public KnowledgeBaseReferenceType getType()

Get the type property: The type of the reference.

Overrides:

KnowledgeBaseFabricDataAgentReference.getType()

Returns:

the type value.

getWorkspaceId

public String getWorkspaceId()

Get the workspaceId property: The Fabric workspace ID.

Returns:

the workspaceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

KnowledgeBaseFabricDataAgentReference.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to