// <auto-generated/>

#nullable disable

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

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

        internal InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch()
        {
            Results = new ChangeTrackingList<RunStepFileSearchResult>();
        }

        internal InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch(IReadOnlyList<RunStepFileSearchResult> results, FileSearchRankingOptions rankingOptions, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Results = results;
            RankingOptions = rankingOptions;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public IReadOnlyList<RunStepFileSearchResult> Results { get; }

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