// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using OpenAI;

namespace OpenAI.Responses
{
    internal partial class InternalMCPApprovalResponseItemParam : InternalItemParam
    {
        public InternalMCPApprovalResponseItemParam(string approvalRequestId, bool approve) : base(InternalItemType.McpApprovalResponse)
        {
            Argument.AssertNotNull(approvalRequestId, nameof(approvalRequestId));

            ApprovalRequestId = approvalRequestId;
            Approve = approve;
        }

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

        public string ApprovalRequestId { get; }

        public bool Approve { get; }

        public string Reason { get; set; }
    }
}
