// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    internal partial class InternalRunStepDeltaStepDetailsToolCallsCodeObject : InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject
    {
        internal InternalRunStepDeltaStepDetailsToolCallsCodeObject(int index)
        {
            Type = "code_interpreter";
            Index = index;
        }

        internal InternalRunStepDeltaStepDetailsToolCallsCodeObject(string type, IDictionary<string, BinaryData> serializedAdditionalRawData, int index, string id, InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter codeInterpreter) : base(type, serializedAdditionalRawData)
        {
            Index = index;
            Id = id;
            CodeInterpreter = codeInterpreter;
        }

        internal InternalRunStepDeltaStepDetailsToolCallsCodeObject()
        {
        }

        public int Index { get; }
        public string Id { get; }
        public InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter CodeInterpreter { get; }
    }
}
