// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject(FileSearchRanker ranker, float scoreThreshold)
        {
            Ranker = ranker;
            ScoreThreshold = scoreThreshold;
        }

        internal InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject(FileSearchRanker ranker, float scoreThreshold, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Ranker = ranker;
            ScoreThreshold = scoreThreshold;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public FileSearchRanker Ranker { get; }

        public float ScoreThreshold { get; }

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