// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Linq;

namespace OpenAI.Responses
{
    internal abstract partial class InternalCompoundFilter
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        private protected InternalCompoundFilter(InternalCompoundFilterType @type, IEnumerable<BinaryData> filters)
        {
            Type = @type;
            Filters = filters.ToList();
        }

        internal InternalCompoundFilter(InternalCompoundFilterType @type, IList<BinaryData> filters, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Type = @type;
            Filters = filters;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        internal InternalCompoundFilterType Type { get; set; }

        public IList<BinaryData> Filters { get; }

        internal IDictionary<string, BinaryData> SerializedAdditionalRawData
        {
            get => _additionalBinaryDataProperties;
            set => _additionalBinaryDataProperties = value;
        }
    }
}
