// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal InternalRunGraderResponse(float reward, InternalRunGraderResponseMetadata metadata, BinaryData subRewards, BinaryData modelGraderTokenUsagePerModel)
        {
            Reward = reward;
            Metadata = metadata;
            SubRewards = subRewards;
            ModelGraderTokenUsagePerModel = modelGraderTokenUsagePerModel;
        }

        internal InternalRunGraderResponse(float reward, InternalRunGraderResponseMetadata metadata, BinaryData subRewards, BinaryData modelGraderTokenUsagePerModel, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Reward = reward;
            Metadata = metadata;
            SubRewards = subRewards;
            ModelGraderTokenUsagePerModel = modelGraderTokenUsagePerModel;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public float Reward { get; }

        internal InternalRunGraderResponseMetadata Metadata { get; }

        public BinaryData SubRewards { get; }

        public BinaryData ModelGraderTokenUsagePerModel { get; }

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