// <auto-generated/>

#nullable disable

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

namespace OpenAI.Assistants
{
    internal partial class InternalSubmitToolOutputsRunRequest
    {
        internal IDictionary<string, BinaryData> _serializedAdditionalRawData;

        public InternalSubmitToolOutputsRunRequest(IEnumerable<ToolOutput> toolOutputs)
        {
            Argument.AssertNotNull(toolOutputs, nameof(toolOutputs));

            ToolOutputs = toolOutputs.ToList();
        }

        internal InternalSubmitToolOutputsRunRequest(IList<ToolOutput> toolOutputs, bool? stream, IDictionary<string, BinaryData> serializedAdditionalRawData)
        {
            ToolOutputs = toolOutputs;
            Stream = stream;
            _serializedAdditionalRawData = serializedAdditionalRawData;
        }

        internal InternalSubmitToolOutputsRunRequest()
        {
        }

        public IList<ToolOutput> ToolOutputs { get; }
        public bool? Stream { get; set; }
    }
}
