// <auto-generated/>

#nullable disable

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

namespace OpenAI.Assistants
{
    internal partial class InternalRunStepDetailsToolCallsObject : RunStepDetails
    {
        internal InternalRunStepDetailsToolCallsObject(IEnumerable<RunStepToolCall> internalToolCalls) : base(InternalRunStepDetailsType.ToolCalls)
        {
            InternalToolCalls = internalToolCalls.ToList();
        }

        internal InternalRunStepDetailsToolCallsObject(InternalRunStepDetailsType kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, IReadOnlyList<RunStepToolCall> internalToolCalls) : base(kind, additionalBinaryDataProperties)
        {
            // Plugin customization: ensure initialization of collections
            InternalToolCalls = internalToolCalls ?? new ChangeTrackingList<RunStepToolCall>();
        }
    }
}
