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.

Id

Gets the response item ID.

(Inherited from AgentResponseItem)
IsApproved

Whether the request was approved.

Reason

Gets or sets the Reason.

ResponseId

The response on which the item is created.

(Inherited from AgentResponseItem)

Methods

Name Description
AsResponseResultItem()

Converts this agent response item into an OpenAI response item.

(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