// <auto-generated/>

#nullable disable

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

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

        public InternalRunGraderRequest(BinaryData grader, string modelSample)
        {
            Argument.AssertNotNull(grader, nameof(grader));
            Argument.AssertNotNull(modelSample, nameof(modelSample));

            Grader = grader;
            ModelSample = modelSample;
        }

        internal InternalRunGraderRequest(BinaryData grader, BinaryData item, string modelSample, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Grader = grader;
            Item = item;
            ModelSample = modelSample;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public BinaryData Grader { get; }

        public BinaryData Item { get; set; }

        public string ModelSample { get; }

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