// <auto-generated/>

#nullable disable

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

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

        internal InternalEvalItem(InternalEvalItemRole role, BinaryData content)
        {
            Argument.AssertNotNull(content, nameof(content));

            Role = role;
            Content = content;
        }

        internal InternalEvalItem(InternalEvalItemRole role, BinaryData content, string kind, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Role = role;
            Content = content;
            Kind = kind;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        internal InternalEvalItemRole Role { get; set; }

        public BinaryData Content { get; set; }

        public string Kind { get; set; }

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