// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Responses
{
    internal partial class InternalMCPApprovalResponseItemResource : ResponseItem
    {
        internal InternalMCPApprovalResponseItemResource(string id, string approvalRequestId, bool approve) : base(InternalItemType.McpApprovalResponse, id)
        {
            ApprovalRequestId = approvalRequestId;
            Approve = approve;
        }

        internal InternalMCPApprovalResponseItemResource(InternalItemType kind, string id, IDictionary<string, BinaryData> additionalBinaryDataProperties, string approvalRequestId, bool approve, string reason) : base(kind, id, additionalBinaryDataProperties)
        {
            ApprovalRequestId = approvalRequestId;
            Approve = approve;
            Reason = reason;
        }

        public string ApprovalRequestId { get; }

        public bool Approve { get; }

        public string Reason { get; }
    }
}
