OutputItemMcpApprovalResponseResource(String, String, Boolean) Constructor

Definition

Initializes a new instance of OutputItemMcpApprovalResponseResource.

public OutputItemMcpApprovalResponseResource(string id, string approvalRequestId, bool approve);
new Azure.AI.AgentServer.Responses.Models.OutputItemMcpApprovalResponseResource : string * string * bool -> Azure.AI.AgentServer.Responses.Models.OutputItemMcpApprovalResponseResource
Public Sub New (id As String, approvalRequestId As String, approve As Boolean)

Parameters

id
String

The unique ID of the approval response.

approvalRequestId
String

The ID of the approval request being answered.

approve
Boolean

Whether the request was approved.

Exceptions

id or approvalRequestId is null.

Applies to