OutputItemMcpApprovalResponseResource(String, String, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.