// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.IO;

namespace OpenAI.Files
{
    internal partial class InternalAddUploadPartRequest
    {
        internal IDictionary<string, BinaryData> SerializedAdditionalRawData { get; set; }
        public InternalAddUploadPartRequest(Stream data)
        {
            Argument.AssertNotNull(data, nameof(data));

            Data = data;
        }

        internal InternalAddUploadPartRequest(Stream data, IDictionary<string, BinaryData> serializedAdditionalRawData)
        {
            Data = data;
            SerializedAdditionalRawData = serializedAdditionalRawData;
        }

        internal InternalAddUploadPartRequest()
        {
        }

        public Stream Data { get; }
    }
}
