// <auto-generated/>

#nullable disable

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

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

        internal InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter(string input)
        {
            Input = input;
            Outputs = new ChangeTrackingList<RunStepCodeInterpreterOutput>();
        }

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

        public string Input { get; }

        public IReadOnlyList<RunStepCodeInterpreterOutput> Outputs { get; }

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