// <auto-generated/>

#nullable disable

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

namespace OpenAI.Evals
{
    internal partial class InternalEvalResponsesRunDataSourceParamsInputMessages1
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        public InternalEvalResponsesRunDataSourceParamsInputMessages1(IEnumerable<BinaryData> template)
        {
            Argument.AssertNotNull(template, nameof(template));

            Template = template.ToList();
        }

        internal InternalEvalResponsesRunDataSourceParamsInputMessages1(string kind, IList<BinaryData> template, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            // Plugin customization: ensure initialization of collections
            Kind = kind;
            Template = template ?? new ChangeTrackingList<BinaryData>();
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Kind { get; } = "template";

        public IList<BinaryData> Template { get; }

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