// <auto-generated/>

#nullable disable

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

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

        internal InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter() : this(null, null, null)
        {
        }

        internal InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter(string input, IReadOnlyList<RunStepUpdateCodeInterpreterOutput> outputs, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            // Plugin customization: ensure initialization of collections
            Input = input;
            Outputs = outputs ?? new ChangeTrackingList<RunStepUpdateCodeInterpreterOutput>();
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Input { get; }

        public IReadOnlyList<RunStepUpdateCodeInterpreterOutput> Outputs { get; }

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