OutputItemMcpApprovalResponseResource Class

Definition

MCP approval response.

public class OutputItemMcpApprovalResponseResource : Azure.AI.Extensions.OpenAI.AgentResponseItem, System.ClientModel.Primitives.IJsonModel<Azure.AI.Extensions.OpenAI.OutputItemMcpApprovalResponseResource>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Extensions.OpenAI.OutputItemMcpApprovalResponseResource>
type OutputItemMcpApprovalResponseResource = class
    inherit AgentResponseItem
    interface IJsonModel<OutputItemMcpApprovalResponseResource>
    interface IPersistableModel<OutputItemMcpApprovalResponseResource>
Public Class OutputItemMcpApprovalResponseResource
Inherits AgentResponseItem
Implements IJsonModel(Of OutputItemMcpApprovalResponseResource), IPersistableModel(Of OutputItemMcpApprovalResponseResource)
Inheritance
OutputItemMcpApprovalResponseResource
Implements

Constructors

Name Description
OutputItemMcpApprovalResponseResource(String, Boolean)

Initializes a new instance of OutputItemMcpApprovalResponseResource.

Properties

Name Description
AgentReference

The agent that created the item.

(Inherited from AgentResponseItem)
ApprovalRequestId

The ID of the approval request being answered.

Approve

Whether the request was approved.

Id (Inherited from AgentResponseItem)
Reason

Gets or sets the Reason.

ResponseId

The response on which the item is created.

(Inherited from AgentResponseItem)

Methods

Name Description
AsResponseResultItem() (Inherited from AgentResponseItem)
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AgentResponseItem>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from AgentResponseItem)
IJsonModel<AgentResponseItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from AgentResponseItem)
IJsonModel<OutputItemMcpApprovalResponseResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<OutputItemMcpApprovalResponseResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<AgentResponseItem>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from AgentResponseItem)
IPersistableModel<AgentResponseItem>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from AgentResponseItem)
IPersistableModel<AgentResponseItem>.Write(ModelReaderWriterOptions) (Inherited from AgentResponseItem)
IPersistableModel<OutputItemMcpApprovalResponseResource>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<OutputItemMcpApprovalResponseResource>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<OutputItemMcpApprovalResponseResource>.Write(ModelReaderWriterOptions)

Applies to