// <auto-generated/>

#nullable disable

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

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

        public InternalEvalResponsesRunDataSourceParamsSamplingParams() : this(default, default, default, default, null, null, null)
        {
        }

        internal InternalEvalResponsesRunDataSourceParamsSamplingParams(float? temperature, int? maxCompletionTokens, float? topP, int? seed, IList<ResponseTool> tools, InternalEvalResponsesRunDataSourceParamsSamplingParamsText text, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            // Plugin customization: ensure initialization of collections
            Temperature = temperature;
            MaxCompletionTokens = maxCompletionTokens;
            TopP = topP;
            Seed = seed;
            Tools = tools ?? new ChangeTrackingList<ResponseTool>();
            Text = text;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public float? Temperature { get; set; }

        public int? MaxCompletionTokens { get; set; }

        public float? TopP { get; set; }

        public int? Seed { get; set; }

        public IList<ResponseTool> Tools { get; }

        internal InternalEvalResponsesRunDataSourceParamsSamplingParamsText Text { get; set; }

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